Пример #1
0
 private void ponudaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmAdmPonuda == null)
     {
         frmAdmPonuda           = new FrmAdmPonuda();
         frmAdmPonuda.MdiParent = this;
         frmAdmPonuda.Show();
         frmAdmPonuda.Closed += frmAdmPonuda_Closed;
     }
     else
     {
         frmAdmPonuda.Focus();
     }
 }
Пример #2
0
 private void frmAdmPonuda_Closed(object sender, EventArgs e)
 {
     frmAdmPonuda = null;
 }