首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

窗口显示高手,多谢!

2012-02-24 
窗口显示请教各位高手,谢谢!!!有窗口AAAVB.NET codeDIM CKMC AS STRINGPrivate Sub Button1_Click(ByVal s

窗口显示请教各位高手,谢谢!!!
有窗口AAA

VB.NET code
DIM CKMC AS STRING  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click   CKMC= ActiveMdiChild.Name   ActiveMdiChild.Visible = False   BBB.SHOW   END SUBPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click   BBB.Visible = False  我想通过CKMC,来把前一个隐藏窗体显示出来的可见,求教该如何做,谢谢!!!END SUB


[解决办法]
DIM CKMC AS form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
CKMC= ActiveMdiChild 
ActiveMdiChild.Visible = False
BBB.SHOW
 
END SUB

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
BBB.Visible = False
CKMC.show
我想通过CKMC,来把前一个隐藏窗体显示出来的可见,求教该如何做,谢谢!!!
END SUB

热点排行