コード例 #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
ファイル: frmBankPayment.cs プロジェクト: dreamzedu/csms
 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
ファイル: frmSubjectForm.cs プロジェクト: dreamzedu/csms
 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;
 }