예제 #1
0
 private void clrscreen()
 {
     PatientNameTextBox.Clear();
     PatientPhoneNumberTextBox.Clear();
     PatientIDTextbox.Clear();
     PatientAgeTextBox.Clear();
     PatientAddressTextBox.Clear();
     PatientRoomTextBox.Clear();
 }
 private void Sample2_DialogHost_OnDialogClosing(object sender, DialogClosingEventArgs eventArgs)
 {
     PatientAddressTextBox.Clear();
     PatientNameTextBox.Clear();
     PatientTypeComboBox.SelectedIndex        = -1;
     PatientDepartmentCombobox.SelectedIndex  = -1;
     RoomNumberComboBox.SelectedIndex         = -1;
     PatientBirthDatetDatePicker.SelectedDate = DateTime.Today;
     validation.Text = "";
 }