private void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, btnexit); txtbookname.Focus(); DesignForm.fromDesign2(this); }
public override void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); txtvoucherno.ReadOnly = false; txtvoucherno.Focus(); DesignForm.fromDesign2(this); }
public override void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); ATxtScholar.Focus(); cmbmonth.SelectedIndex = 0; DesignForm.fromDesign2(this); }
public override void btnedit_Click(object sender, EventArgs e) { add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); DesignForm.fromDesign2(this); dgv1.Focus(); dgv1.Enabled = true; c.GetMdiParent(this).ToggleDeleteButton(true); }
public override void btnnew_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); txtclassname.Focus(); DesignForm.fromDesign2(this); }
public override void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); dtgbook.Rows.Clear(); dtp.Focus(); DesignForm.fromDesign2(this); txtvoucherno.Enabled = false; }
public override void btnedit_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); listBox1.Focus(); c.GetMdiParent(this).ToggleDeleteButton(true); BtnSearch.Visible = true; DesignForm.fromDesign2(this); }
public override void btnnew_Click(object sender, EventArgs e) { try { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); DesignForm.fromDesign2(this); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public override void btnnew_Click(object sender, EventArgs e) { try { add_edit = true; c.GetMdiParent(this).DisableAllEditMenuButtons(); txtaccountgroup.Focus(); c.cleartext(this); DesignForm.fromDesign2(this); } catch { } }
public override void btnnew_Click(object sender, EventArgs e) { try { add_edit = true; txtRTONo.Focus(); c.cleartext(this); getId(); c.GetMdiParent(this).DisableAllEditMenuButtons(); DesignForm.fromDesign2(this); txtBusNo.Enabled = false; txtRTONo.Focus(); } catch { } }
public override void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); dtp.Focus(); dtgbook.Rows.Clear(); for (int i = 0; i <= 25; i++) { dtgbook.Rows.Add(); DataGridViewComboBoxCell ComboColumn = (DataGridViewComboBoxCell)(dtgbook.Rows[i].Cells[0]); ComboColumn.DisplayMember = "acname"; ComboColumn.ValueMember = "accode"; ComboColumn.DataSource = ds.Tables[0]; } DesignForm.fromDesign2(this); txtvoucherno.Enabled = false; }
public override void btnedit_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); }