コード例 #1
0
 private void plaćaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (placa == null)
     {
         placa             = new Plaća();
         placa.MdiParent   = this;
         placa.FormClosed += placa_FormClosed;
         placa.Show();
         placa.WindowState = FormWindowState.Maximized;
     }
     else
     {
         placa.Activate();
     }
 }
コード例 #2
0
 void placa_FormClosed(object sender, FormClosedEventArgs e)
 {
     placa = null;
     //throw new NotImplementedException();
 }