示例#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();
 }
示例#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();
 }
示例#3
0
 public void btnnew_Click(object sender, EventArgs e)
 {
     add_edit = true;
     c.cleartext(this);
     c.GetMdiParent(this).DisableAllEditMenuButtons();
     DisableData();
     dtp.Focus();
 }
示例#4
0
 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();
 }
示例#5
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();
 }
示例#6
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;
 }