private void btnCaja_Click(object sender, EventArgs e)
        {
            FrmCaja caja = this.Forminstanciacaja;

            caja.Show();
            caja.WindowState = FormWindowState.Maximized;
            caja.BringToFront();
        }
 private void mtbtncaja_Click(object sender, EventArgs e)
 {
     try
     {
         using (FrmCaja frmcaja = new FrmCaja())
         {
             frmcaja.ShowDialog();
         };
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #3
0
 private void mtbtncaja_Click(object sender, EventArgs e)
 {
     try
     {
         cargar_saldo(Acesso.FrmPorxLogin.CodSucursal);
         using (FrmCaja frcaja = new FrmCaja())
         {
             frcaja.ShowDialog();
         };
     }
     catch (Exception)
     {
         throw;
     }
 }
 void form_Disposedcaja(object sender, EventArgs e)
 {
     objformcaja = null;
 }