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); }
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)); }
private void confirmButton_Click(object sender, RoutedEventArgs e) { FeedbackController.GetInstance().AddNewFeedback(new Feedback(doctor.Name + " " + doctor.Surname, DateTime.Now, feedbackTextBox.Text)); }