public GroundFloor() { InitializeComponent(); CreateDynamicCanvas(); GroundFloor1Repository.GetInstance(); DoctorsRoomRepository.GetInstance(); StorageRepository.GetInstance(); RoomWorkTimeRepository.GetInstance(); }
public FirstFloor() { InitializeComponent(); CreateDynamicCanvas(); FirstFloorRepository.GetInstance(); InformationEditRepository.GetInstance(); DoctorsRoomRepository.GetInstance(); StorageRepository.GetInstance(); Room = InformationEditRepository.GetInstance().GetById("R1"); RoomTxt.Text = Room.NameOfRoom; }
public GroundFloor(string Id) { InitializeComponent(); CreateDynamicCanvas(); GroundFloor1Repository.GetInstance(); DoctorsRoomRepository.GetInstance(); DrawSelectedRectangle(Id); StorageRepository.GetInstance(); RoomWorkTimeRepository.GetInstance(); SearchedPatientsRooms = new ObservableCollection <PatientsRoomVieW>(); SearchedDoctorsRooms = new ObservableCollection <DoctorRoomView>(); SearchedAnotherRooms = new ObservableCollection <RoomWorkTime>(); }
public FirstFloor(string Id) { InitializeComponent(); CreateDynamicCanvas(); FirstFloorRepository.GetInstance(); InformationEditRepository.GetInstance(); DrawSelectedRectangle(Id); DoctorsRoomRepository.GetInstance(); StorageRepository.GetInstance(); Room = InformationEditRepository.GetInstance().GetById("R1"); RoomTxt.Text = Room.NameOfRoom; SearchedPatientsRooms = new ObservableCollection <PatientsRoomVieW>(); SearchedDoctorsRooms = new ObservableCollection <DoctorRoomView>(); SearchedAnotherRooms = new ObservableCollection <RoomWorkTime>(); }
public MainWindow(int broj) { InitializeComponent(); CreateDynamicCanvas(); DinamiclyDrawingRepository.GetInstance(); InformationEditRepository.GetInstance(); StorageRepository.GetInstance(); RoomWorkTimeRepository.GetInstance(); DoctorsRoomRepository.GetInstance(); SearchedPatientsRooms = new ObservableCollection <PatientsRoomVieW>(); SearchedDoctorsRooms = new ObservableCollection <DoctorRoomView>(); SearchedAnotherRooms = new ObservableCollection <RoomWorkTime>(); if (Login.role == 2) { EquipmnetRadioButon.Visibility = Visibility.Hidden; } if (Login.role != 4) { Appointment.Visibility = Visibility.Hidden; } }
public AllDoctors() { InitializeComponent(); this.DataContext = this; AllDoctorsInBothClinics = DoctorsRoomRepository.GetInstance().GetAll(); }