Example #1
0
 private void Form3_Load(object sender, EventArgs e)
 {
     home             = new uhome();
     home.MdiParent   = this;
     home.FormClosed += Home_FormClosed;
     home.Show();
 }
Example #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();
     }
 }
Example #3
0
 private void Home_FormClosed(object sender, FormClosedEventArgs e)
 {
     home = null;
     //throw new NotImplementedException();
 }