Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 4
0
 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..");
     // }
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 6
0
 public override void btnedit_Click(object sender, EventArgs e)
 {
     DesignForm.fromDesign2(this);
     add_edit = false;
     c.GetMdiParent(this).DisableAllEditMenuButtons();
 }