コード例 #1
0
 private void Form3_Load(object sender, EventArgs e)
 {
     home             = new uhome();
     home.MdiParent   = this;
     home.FormClosed += Home_FormClosed;
     home.Show();
 }
コード例 #2
0
 private void homelbl_Click(object sender, EventArgs e)
 {
     if (home == null)
     {
         home             = new uhome();
         home.MdiParent   = this;
         home.FormClosed += Home_FormClosed;
         home.Show();
     }
     else
     {
         home.Activate();
     }
 }
コード例 #3
0
 private void Home_FormClosed(object sender, FormClosedEventArgs e)
 {
     home = null;
     //throw new NotImplementedException();
 }