コード例 #1
0
 public GroundFloor()
 {
     InitializeComponent();
     CreateDynamicCanvas();
     GroundFloor1Repository.GetInstance();
     DoctorsRoomRepository.GetInstance();
     StorageRepository.GetInstance();
     RoomWorkTimeRepository.GetInstance();
 }
コード例 #2
0
 public FirstFloor()
 {
     InitializeComponent();
     CreateDynamicCanvas();
     FirstFloorRepository.GetInstance();
     InformationEditRepository.GetInstance();
     DoctorsRoomRepository.GetInstance();
     StorageRepository.GetInstance();
     Room         = InformationEditRepository.GetInstance().GetById("R1");
     RoomTxt.Text = Room.NameOfRoom;
 }
コード例 #3
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>();
        }
コード例 #4
0
        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>();
        }
コード例 #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;
            }
        }
コード例 #6
0
 public AllDoctors()
 {
     InitializeComponent();
     this.DataContext        = this;
     AllDoctorsInBothClinics = DoctorsRoomRepository.GetInstance().GetAll();
 }