Exemplo n.º 1
0
 /// <summary>
 /// Helper methods to display information in the Results textbox.
 /// </summary>
 private void ResultsClear()
 {
     TextBoxResults.Clear();
     TextBoxLeadID.Clear();
     TextBoxCapturedBy.Clear();
     TextBoxCapturedDate.Clear();
     TextBoxRegID.Clear();
     TextBoxFirstName.Clear();
     TextBoxLastName.Clear();
     TextBoxTitle.Clear();
     TextBoxCompany.Clear();
     TextBoxCompany2.Clear();
     TextBoxAddress.Clear();
     TextBoxAddress2.Clear();
     TextBoxAddress3.Clear();
     TextBoxCity.Clear();
     TextBoxStateCode.Clear();
     TextBoxZipCode.Clear();
     TextBoxCountryCode.Clear();
     TextBoxEmail.Clear();
     TextBoxPhone.Clear();
     TextBoxPhoneExt.Clear();
     TextBoxFax.Clear();
     TextBoxNotes.Clear();
     dgvDemographics.DataSource = null;
 }
Exemplo n.º 2
0
 internal void ClearControls()
 {
     TextBoxFirstName.Clear();
     TextBoxLastName.Clear();
     TextBoxCitizenID.Clear();
     TextBoxContact.Clear();
     DateTimeHireStaff.ResetText();
     TextBoxAddress.Clear();
     TextBoxCity.Clear();
     TextBoxZipCode.Clear();
     TextBoxEmail.Clear();
 }
Exemplo n.º 3
0
 internal void clearAll()
 {
     TextBoxFirstName.Clear();
     TextBoxLastName.Clear();
     TextBoxIDNumber.Clear();
     ComboBoxGender.ResetText();
     TextBoxContactNumber.Clear();
     TextBoxEmailAddress.Clear();
     TextBoxAddressLine1.Clear();
     TextBoxSuburb.Clear();
     TextBoxCity.Clear();
     TextBoxZipCode.Clear();
     DateAdmission.ResetText();
     ComboBoxCentre.ResetText();
 }