Пример #1
0
 private void kupciToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (kupci == null)
     {
         kupci             = new Kupci();
         kupci.FormClosed += kup_FormClosed;
         kupci.MdiParent   = this;
         kupci.Show();
         kupci.WindowState = FormWindowState.Maximized;
     }
     else
     {
         kupci.Show();
         kupci.WindowState = FormWindowState.Maximized;
     }
 }
Пример #2
0
 void kup_FormClosed(object sender, FormClosedEventArgs e)
 {
     kupci = null;
     //throw new NotImplementedException();
 }