コード例 #1
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();
 }
コード例 #2
0
 public override void btnnew_Click(object sender, EventArgs e)
 {
     DesignForm.fromDesign2(this);
     add_edit = true;
     c.cleartext(this);
     c.GetMdiParent(this).DisableAllEditMenuButtons();
     cmbclass.Focus();
 }
コード例 #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();
 }
コード例 #4
0
ファイル: frmschool.cs プロジェクト: dreamzedu/csms
 public override void btnedit_Click(object sender, EventArgs e)
 {
     //int i = Connection.UserCheck("tbl_school");
     //if (i == 0)
     //{
     DesignForm.fromDesign2(this);
     txtinstitute.Enabled = false;
     txtcity.Enabled      = false;
     button1.Enabled      = true;
     BtnHOE.Enabled       = true;
     BtnPrincipal.Enabled = true;
     add_edit             = false;
     c.GetMdiParent(this).DisableAllEditMenuButtons();
     //txtinstitute.Focus();
     // Connection.UserEntery(Connection.username, "tbl_school");
     //}
     //else
     //{
     //MessageBox.Show("This Information is accessed by another user Please wait..");
     // }
 }
コード例 #5
0
 public void btnedit_Click(object sender, EventArgs e)
 {
     DesignForm.fromDesign2(this);
     add_edit = false;
     c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, null);
 }
コード例 #6
0
 public override void btnedit_Click(object sender, EventArgs e)
 {
     DesignForm.fromDesign2(this);
     add_edit = false;
     c.GetMdiParent(this).DisableAllEditMenuButtons();
 }