コード例 #1
0
ファイル: MDIPrincipal.cs プロジェクト: porx154/ALISUR
 private void toolStripButton6_Click(object sender, EventArgs e)
 {
     try
     {
         FrmCaja frmcaja = new FrmCaja();
         if (ActivarForm(frmcaja) == true)
         {
             frmcaja = null;
         }
         else
         {
             frmcaja.MdiParent   = this;
             frmcaja.WindowState = FormWindowState.Normal;
             frmcaja.Show();
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
コード例 #2
0
 private void toolStripButton3_Click(object sender, EventArgs e)
 {
     try
     {
         cargar_saldo(Acesso.FrmPorxLogin.CodSucursal);
         FrmCaja frcaja = new FrmCaja();
         if (ActivarForm(frcaja) == true)
         {
             frcaja = null;
         }
         else
         {
             frcaja.MdiParent   = this;
             frcaja.WindowState = FormWindowState.Normal;
             frcaja.Show();
         }
     }
     catch (Exception)
     {
         throw;
     }
 }