private void Reset() { TxtUniqueId.Visible = false; CmbUniqueId.Visible = true; LblBookName.Location = new Point(6, 68); CmdBookName.Location = new Point(121, 62); PnlButtons.Location = new Point(6, 92); PnlUser.Visible = false; PnlUser.Location = new Point(9, 144); PnlDateTime.Visible = false; PnlDateTime.Location = new Point(6, 144); BtnBookReservation.Visible = true; BtnEnd.Visible = false; BtnEnd.Enabled = false; GrbBookCrud.Size = new Size(285, 169); TxtPenalty.ResetText(); TxtStartTime.ResetText(); TxtUniqueId.ResetText(); CmbUniqueId.ResetText(); CmdBookName.ResetText(); TxtName.ResetText(); TxtPhone.ResetText(); TxtSurname.ResetText(); CmbSearchBook.ResetText(); CmbSearchId.ResetText(); }
// Resets all values to default... private void Reset() { TxtName.ResetText(); TxtSurname.ResetText(); TxtPhone.ResetText(); BtnDeleteClient.Visible = false; BtnUpdateClient.Visible = false; NumBookLimit.Value = 3; clickedId = 0; clickedRow = -1; }
private void Reset() { BtnAdd.Visible = true; BtnDel.Visible = false; BtnUpdate.Visible = false; TxtName.ResetText(); TxtPhone.ResetText(); TxtSurname.ResetText(); TxtUniqueId.ResetText(); CmbSearchAdmin.ResetText(); CmbSearchId.ResetText(); }
private void Reset() { BtnAdd.Visible = true; BtnDel.Visible = false; BtnUpdate.Visible = false; TxtLogin.ResetText(); TxtName.ResetText(); TxtPhone.ResetText(); TxtPw.ResetText(); TxtSurname.ResetText(); CkbIsBoss.Checked = false; }
// Reset Text Boxes and radio buttons. Set Id and row index 0 and -1 private void Reset() { TxtName.ResetText(); TxtSurname.ResetText(); TxtUsername.ResetText(); TxtPassword.ResetText(); TxtPhone.ResetText(); RbtnIsBoss.Checked = false; RbtnNotBoss.Checked = false; BtnDeleteUser.Visible = false; BtnUpdateUser.Visible = false; clickedId = 0; clickedRow = -1; }