예제 #1
0
 private void firmapodatciToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (firma == null)
     {
         firma             = new Tvrtka();
         firma.MdiParent   = this;
         firma.FormClosed += firma_FormClosed;
         firma.Show();
         firma.WindowState = FormWindowState.Maximized;
     }
     else
     {
         firma.Activate();
     }
 }
예제 #2
0
 void firma_FormClosed(object sender, FormClosedEventArgs e)
 {
     firma = null;
     //throw new NotImplementedException();
 }