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>();
        }
Exemple #5
0
        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;
            }
        }
Exemple #6
0
 public AllDoctors()
 {
     InitializeComponent();
     this.DataContext        = this;
     AllDoctorsInBothClinics = DoctorsRoomRepository.GetInstance().GetAll();
 }