Example #1
0
 private void btnFactura_Click(object sender, EventArgs e)
 {
     if (ventas1 == null)
     {
         ventas1             = new FacturaVentas();
         ventas1.Owner       = this;
         ventas1.FormClosed += Ventas1_FormClosed;
         ventas1.Show();
     }
     else
     {
         ventas1.Activate();
     }
 }
Example #2
0
 private void Ventas1_FormClosed(object sender, FormClosedEventArgs e)
 {
     ventas1 = null;
 }