Exemplo n.º 1
0
 private void clientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (commercial == null)
     {
         commercial              = new ABI.UI.frmListClt();
         commercial.FormClosing += new FormClosingEventHandler(this.commercial_Closing);
         commercial.MdiParent    = this;
         commercial.Dock         = DockStyle.Fill;
         commercial.Show();
     }
     else
     {
         commercial.Activate();
     }
 }
Exemplo n.º 2
0
 private void commercial_Closing(object sender, FormClosingEventArgs e)
 {
     commercial = null;
 }