Пример #1
0
 private void التكهينToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (takhen == null)
     {
         takhen             = new takhen();
         takhen.MdiParent   = this;
         takhen.FormClosed += new FormClosedEventHandler(takhen_FormClosed);
         takhen.Show();
     }
     else
     {
         takhen.Activate();
     }
 }
Пример #2
0
 void takhen_FormClosed(object sender, FormClosedEventArgs e)
 {
     takhen = null;
     //throw new NotImplementedException();
 }