问题描述
PublicBillManageFrmAsNewBillManagePublicSubOrderFrm()OrderFrom.OrderTabPage.Text=LoginRoler.QueryUserNameBillManage.BillTabControl.Controls.Add(OrderFrom.OrderTabPage)DimTtlAsInteger=BillManage.BillTabControl.TabPages.CountBillManage.BillTabControl.SelectedIndex=Ttl-1BillMana()EndSubPrivateSubBillInfoButton_Click(senderAsObject,eAsEventArgs)HandlesBillInfoButton.ClickOrderFrm()EndSubPrivateSubBillMana()BillManageFrm.TopLevel=FalseBillManageFrm.MdiParent=MeBillManageFrm.Dock=DockStyle.FillBillManageFrm.Parent=Me.Panel2BillManageFrm.FormBorderStyle=Windows.Forms.FormBorderStyle.NoneBillManageFrm.WindowState=FormWindowState.MaximizedBillManageFrm.Show()EndSub
麻烦各位老师帮忙看看我哪里写错了吗?为什么~我点击按钮后只是显示了TabControl~而不添加新的TabPage~!如果我把PrivateSubBillMana()BillManageFrm.TopLevel=FalseBillManageFrm.MdiParent=MeBillManageFrm.Dock=DockStyle.FillBillManageFrm.Parent=Me.Panel2BillManageFrm.FormBorderStyle=Windows.Forms.FormBorderStyle.NoneBillManageFrm.WindowState=FormWindowState.MaximizedBillManageFrm.Show()EndSub
里面的BillManageFrm这句~全改成BillManage~就可以添加新的TabPage了~麻烦各位老师帮忙看看哪里写错了?谢谢!
解决方案
解决方案二:
没有哪位老师能帮帮我吗?
解决方案三:
求各位老师指点迷津啊!!老师们~~~跪谢了!!
解决方案四:
真的没老师知道吗?小弟没分了就这么点了~~真就没老师能帮帮我了吗?哎~~~