コード例 #1
0
 private void cmdNew_Click(object sender, EventArgs e)
 {
     //get new id for book
     AddMode        = true;
     EditMode       = false;
     txtBookId.Text = GlobalFunction.GetUniqueCode("BooksMaster");
 }
コード例 #2
0
 private void cmdAddNewInList_Click(object sender, EventArgs e)
 {
     AddMode  = true;
     EditMode = false;
     pnlMaster.BringToFront();
     txtBookId.Text = GlobalFunction.GetUniqueCode("BooksMaster");
 }
コード例 #3
0
 private void ClickAdd()
 {
     //get new id for book
     AddMode  = true;
     EditMode = false;
     ClearControl();
     ControlStatus(false);
     txtBookId.Text = GlobalFunction.GetUniqueCode("BooksMaster");
 }
コード例 #4
0
 private void txtNew_Click(object sender, EventArgs e)
 {
     txtID.Text   = GlobalFunction.GetUniqueCode("AccountMaster1");
     txtName.Text = "";
     txtName.Focus();
 }
コード例 #5
0
 private void frmUserRegistration_Load(object sender, EventArgs e)
 {
     txtID.Text   = GlobalFunction.GetUniqueCode("AccountMaster1");
     txtName.Text = "";
     txtName.Focus();
 }