Exemple #1
0
 private void btnShowOtherForm_Click(object sender, EventArgs e)
 {
     frmOther frm = new frmOther();
     //建立两个对象间的关联
     frm.MainForm = this;
     //在屏幕上显示窗体
     frm.Show();
 }
 private void btnShowOtherForm_Click(object sender, EventArgs e)
 {
     frmOther frm = new frmOther();
     //建立两个对象间的关联
     frm.MainForm = this;
     //在屏幕上显示窗体
     frm.Show();
 }