コード例 #1
0
 public static void Serialize()
 {
     EquipmentController.getInstance().saveInFile();
     RoomController.GetInstance().SaveRoomsInFile();
     MedicineController.GetInstance().Serialization();
     DoctorController.getInstance().SaveInFlie();
     NotificationController.GetInstance().SaveInFile();
     PatientController.getInstance().SaveInFile();
     AppointmentController.getInstance().SaveAppointmentsInFile();
     AccountController.GetInstance().SaveInFile();
     FeedbackController.GetInstance().SerializeFeedback();
 }
 private void confirmButton_Click(object sender, RoutedEventArgs e)
 {
     FeedbackController.GetInstance().AddNewFeedback(new Feedback("Upravnik", DateTime.Now, evaluationTextBox.Text));
     this.Close();
     MessageBox.Show("HVALA NA POVRATNOJ INFORMACIJI!", "", MessageBoxButton.OK);
 }
コード例 #3
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     FeedbackController.GetInstance().AddNewFeedback(new Model.Feedback("Pacijent", DateTime.Now, feedTextBox.Text));
 }
 private void potvrdiBtn_Click(object sender, RoutedEventArgs e)
 {
     FeedbackController.GetInstance().AddNewFeedback(new Model.Feedback("sekretar", DateTime.Now, feedbackTxt.Text));
 }
コード例 #5
0
 private void confirmButton_Click(object sender, RoutedEventArgs e)
 {
     FeedbackController.GetInstance().AddNewFeedback(new Feedback(doctor.Name + " " + doctor.Surname, DateTime.Now, feedbackTextBox.Text));
 }