建立另一个Form ff = new Form();
ff.show();
ff.show();
解决方案 »
- c# 未处理COMException
- 给新人指明一条学习之路
- 怎样向WinForm中WebBrowser发送Enter回车键
- 在WPF中如何实现托盘图标
- 郁闷的很,C#连接SQL总是偶然性出现故障,请高手们帮我看看这句到底有什么问题?
- 在dataGrid控件中点击LinkButton后,打开相应文件的链接部分的代码是怎样的,IE支持的文件能直接打开,不支持的文件会弹出下载或存储的对话
- 我自己写的程序,有源码,大家评评看值多少银子?
- c# 如何获取猎豹浏览器当前页面的地址?
- 建立VS2010数据库的问题,求大神指点
- 请教老大们一个JS脚本问题??
- 高分求解RichTextBox问题
- 还是关于DataSet,谢谢 思归
frmParent.frmChild form1 = new frmParent.frmChild();
form1.show();
one is frmMDI -------------- parent form
the others are frmChild1 ,frmChild2 ---------- child fromfrmChild1 :
public frmChild1 (frmMDI parent)
{
InitializeComponent();
this.MdiParent =parent; }frmMDI:
private void frmMDI_Load(object sender, System.EventArgs e)
{ frmChild1 frm=new frmChild1 (this);
frm.Show ();
}
如何在已show的子窗体frmChild1 中点击按钮来show一个另外的子窗体frmChild2 ?