Exemplo n.º 1
0
 public GroundFloor()
 {
     InitializeComponent();
     CreateDynamicCanvas();
     GroundFloor1Repository.GetInstance();
     DoctorsRoomRepository.GetInstance();
     StorageRepository.GetInstance();
     RoomWorkTimeRepository.GetInstance();
 }
Exemplo n.º 2
0
 public GroundFloor2()
 {
     InitializeComponent();
     CreateDynamicCanvas();
     GroundFloor2Repository.GetInstance();
     InformationEditRepository.GetInstance();
     StorageRepository.GetInstance();
     RoomWorkTimeRepository.GetInstance();
 }
Exemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();
            CreateDynamicCanvas();
            DinamiclyDrawingRepository.GetInstance();
            StorageRepository.GetInstance();
            RoomWorkTimeRepository.GetInstance();

            Login login = new Login();

            login.Show();
            this.Close();
        }
Exemplo n.º 4
0
        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>();
        }
Exemplo n.º 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;
            }
        }