예제 #1
0
 private void button13_Click(object sender, EventArgs e)
 {
     int sel = Convert.ToInt32(idCuentaComboBox.SelectedValue);
     BancosCuentas frm = new BancosCuentas();
     frm.ShowDialog();
     cuentasBancosTableAdapter.Fill(promowork_dataDataSet.CuentasBancos, VariablesGlobales.nIdEmpresaActual);
     idCuentaComboBox.SelectedValue = sel;
 }
예제 #2
0
 private void bancosYCuentasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["BancosCuentas"] != null)
     {
         Application.OpenForms["BancosCuentas"].Activate();
     }
     else
     {
         BancosCuentas frm = new BancosCuentas();
         frm.MdiParent = this;
         frm.Show();
     }
 }
예제 #3
0
 private void button5_Click(object sender, EventArgs e)
 {
     BancosCuentas frm = new BancosCuentas();
     frm.ShowDialog();
     this.cuentasBancosTableAdapter.Fill(this.promowork_dataDataSet.CuentasBancos, VariablesGlobales.nIdEmpresaActual);
     cuentasBancosBindingSource.Filter = "CtaEmpresa=true";
     cuentasBancosBindingSource1.Filter = "CtaEmpresa=true";
 }
예제 #4
0
 private void button2_Click(object sender, EventArgs e)
 {
     BancosCuentas frm = new BancosCuentas();
     frm.ShowDialog();
     this.cuentasBancosTableAdapter.Fill(this.promowork_dataDataSet.CuentasBancos, VariablesGlobales.nIdEmpresaActual);
 }