private void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, btnexit); txtsankayname.Focus(); }
public void btnnew_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = true; c.cleartext(this); c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, null); txtsankayname.Focus(); }
public void btnnew_Click(object sender, EventArgs e) { add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); DisableData(); dtp.Focus(); }
public void btnnew_Click(object sender, EventArgs e) { txtQuality.Clear(); cmbField.SelectedIndex = 0; add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); txtQuality.Focus(); }
public void btnnew_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = true; c.cleartext(this); //c.GetMdiParent(this).DisableAllEditMenuButtons(); c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, btnedit); txtsankayname.Focus(); }
private void btnnew_Click(object sender, EventArgs e) { txtSubjectName.Text = ""; // valcmbboard .Items.Add("-Select-"); add_edit = true; c.cleartext(this); c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, btnexit); txtSubjectName.Focus(); cmbboard.SelectedIndex = 0; }