private void cmdNew_Click(object sender, EventArgs e) { //get new id for book AddMode = true; EditMode = false; txtBookId.Text = GlobalFunction.GetUniqueCode("BooksMaster"); }
private void cmdAddNewInList_Click(object sender, EventArgs e) { AddMode = true; EditMode = false; pnlMaster.BringToFront(); txtBookId.Text = GlobalFunction.GetUniqueCode("BooksMaster"); }
private void ClickAdd() { //get new id for book AddMode = true; EditMode = false; ClearControl(); ControlStatus(false); txtBookId.Text = GlobalFunction.GetUniqueCode("BooksMaster"); }
private void txtNew_Click(object sender, EventArgs e) { txtID.Text = GlobalFunction.GetUniqueCode("AccountMaster1"); txtName.Text = ""; txtName.Focus(); }
private void frmUserRegistration_Load(object sender, EventArgs e) { txtID.Text = GlobalFunction.GetUniqueCode("AccountMaster1"); txtName.Text = ""; txtName.Focus(); }