Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (cliente == null)
     {
         cliente             = new frmListarCliente("turno");
         cliente.Owner       = this;
         cliente.FormClosed += new FormClosedEventHandler(ClienteFormClosed);
         cliente.ShowDialog();
     }
 }
Example #2
0
 private void listarClientesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (listarCliente == null)
     {
         listarCliente             = new frmListarCliente();
         listarCliente.MdiParent   = this;
         listarCliente.FormClosed += new FormClosedEventHandler(lsitarcli_FormClosed);
         listarCliente.Show();
     }
 }
Example #3
0
 private void ClienteFormClosed(object sender, EventArgs e)
 {
     cliente = null;
 }
Example #4
0
 void lsitarcli_FormClosed(object sender, EventArgs e)
 {
     listarCliente = null;
 }