Пример #1
0
 private void pregledIZaključivanjeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (narPr == null)
     {
         narPr             = new Narudj_pregled(korisnikIme);
         narPr.MdiParent   = this;
         narPr.FormClosed += narPr_FormClosed;
         narPr.Show();
         narPr.WindowState = FormWindowState.Maximized;
     }
     else
     {
         narPr.Close();
         narPr             = new Narudj_pregled(korisnikIme);
         narPr.MdiParent   = this;
         narPr.FormClosed += narPr_FormClosed;
         narPr.Show();
         narPr.WindowState = FormWindowState.Maximized;
     }
 }
Пример #2
0
 void narPr_FormClosed(object sender, FormClosedEventArgs e)
 {
     narPr = null;
     //throw new NotImplementedException();
 }