Пример #1
0
 /// <summary>
 /// Clears the values of all textboxes and combo boxes.
 /// </summary>
 private void ClearAllControls()
 {
     TBMessages.Clear();
     TBIssueTitle.Clear();
     TBAssignee.Clear();
     TBDescription.Clear();
     TBIssueID.Clear();
     CBStatus.SelectedIndex = -1;
 }
Пример #2
0
 private void ButtonAdd_Click(object sender, EventArgs e)
 {
     Add();
     TBNumber.Text = (Job.JobList.Count() + 1).ToString();
     TBName.Clear();
     TBDescription.Clear();
     TBLocation.Clear();
     TBCustomer.Clear();
     TBNotes.Clear();
 }