Exemple #1
0
 private void btCaixa_Click(object sender, EventArgs e)
 {
     if (caixa == null)
     {
         caixa           = new formCaixa();
         caixa.MdiParent = this;
         caixa.Show();
         caixa.FormClosed += new FormClosedEventHandler(fecharCaixa);
     }
 }
Exemple #2
0
 private void fecharCaixa(object sender, EventArgs e)
 {
     caixa = null;
 }