示例#1
0
 private void m_profile_Click(object sender, EventArgs e)
 {
     if (true)
     {
         pro             = new Eprofile();
         pro.MdiParent   = this;
         pro.FormClosed += new FormClosedEventHandler(Pro_FormClosed);
         pro.Show();
     }
     else
     {
         pro.Activate();
     }
 }
示例#2
0
 private void Pro_FormClosed(object sender, FormClosedEventArgs e)
 {
     pro = null;
 }