c# 将form窗体加载到tabcontrol后,滚动条失效 10
原先的窗体是有滚动条的,现在我把他加到tabcontrol后,滚动条没了,我在tabpage里面autoScroll设为true了也没用,代码:publicstaticM...
原先的窗体是有滚动条的,现在我把他加到tabcontrol后,滚动条没了,我在tabpage里面autoScroll设为true了也没用,代码:
public static Main main;
private void tbMain_Layout(object sender, LayoutEventArgs e)
{
if (main == null)
{
main = new Main();
main.TopLevel = false;
main.Show();
main.Parent = tbMain;
}
else
{
main.Activate();
}
}
怎么才能实现滚动条 展开
public static Main main;
private void tbMain_Layout(object sender, LayoutEventArgs e)
{
if (main == null)
{
main = new Main();
main.TopLevel = false;
main.Show();
main.Parent = tbMain;
}
else
{
main.Activate();
}
}
怎么才能实现滚动条 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询