예제 #1
0
 // Bring all values to default
 private void Reset()
 {
     TxtClientNumber.ResetText();
     CmbAuthors.ResetText();
     CmbBooks.ResetText();
     NumInterval.Value = 30;
 }
예제 #2
0
 // Reset Text Boxes and numeric up-downs. Set Id and row index 0 and -1
 private void Reset()
 {
     TxtBookName.ResetText();
     CmbAuthors.ResetText();
     NumPrice.Value = 0;
     NumCount.Value = 0;
     clickedId      = 0;
     clickedRow     = -1;
     CmbFindAuthor.SelectedIndex = -1;
     CmbFindBook.SelectedIndex   = -1;
     FillCmbFindBook();
     BtnDeleteBook.Visible = false;
     BtnUpdateBook.Visible = false;
 }