コード例 #1
0
 private void verTurnosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (listTurn == null)
     {
         listTurn             = new frmListarTurnos();
         listTurn.MdiParent   = this;
         listTurn.FormClosed += new FormClosedEventHandler(listTurn_FormClosed);
         listTurn.Show();
     }
 }
コード例 #2
0
 void listTurn_FormClosed(object sender, EventArgs e)
 {
     listTurn = null;
 }