如果有三个窗体Form1,Form2,Form3.我在Form1上有两个button.
按button1是Form1关闭Form2出现
按button2是Form1关闭Form3出现在button1中
Form2 f2=new Form2();
f2.show();
f1.close();同理在button2中.可就是没反应\没效果.调试也正常.朋友说是有点container属性来着可以解决.可MSDN上没有例子啊 !个位大大帮我一吧把!菜鸟~~~~~~~急求!!!
按button1是Form1关闭Form2出现
按button2是Form1关闭Form3出现在button1中
Form2 f2=new Form2();
f2.show();
f1.close();同理在button2中.可就是没反应\没效果.调试也正常.朋友说是有点container属性来着可以解决.可MSDN上没有例子啊 !个位大大帮我一吧把!菜鸟~~~~~~~急求!!!
f2.show();
this.close();
f2.Show();
this.Hide();
Form2 f2=new Form2();
f2.ShowDialog();
f1.Close();
在试试wdy9927() 的吧
http://community.csdn.net/Expert/topic/5246/5246702.xml?temp=.3131983