Example #1
0
 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();
 }
Example #2
0
 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();
 }
Example #3
0
 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();
 }
Example #4
0
 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;
 }