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(); }
public override void btnnew_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = true; c.cleartext(this); c.GetMdiParent(this).DisableAllEditMenuButtons(); cmbclass.Focus(); }
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(); }
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.."); // } }
public void btnedit_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = false; c.btndisable(btnnew, btnedit, btndelete, btnsave, btncancel, btnprint, null); }
public override void btnedit_Click(object sender, EventArgs e) { DesignForm.fromDesign2(this); add_edit = false; c.GetMdiParent(this).DisableAllEditMenuButtons(); }