Esempio n. 1
0
 public Add_Patient(List <patient> PatientList)
 {
     InitializeComponent();
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     hms = new DataLayer.HmsDA();
     this.PatientList = PatientList;
     this.DataContext = vm;
 }
Esempio n. 2
0
 public Add_Doctor(List <doctor> docList)
 {
     InitializeComponent();
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     hms          = new DataLayer.HmsDA();
     this.docList = docList;
     cboSpecialization.ItemsSource = hms.getCategories();
     this.DataContext = new EmpViewModel();
 }
Esempio n. 3
0
 public Add_Room(List <nurse> NurseList, List <room> RoomList, DataLayer.HmsDA hms)
 {
     InitializeComponent();
     WindowStartupLocation     = WindowStartupLocation.CenterScreen;
     this.NurseList            = NurseList;
     this.RoomList             = RoomList;
     cboGovernedBy.ItemsSource = NurseList;
     this.hms         = hms;
     this.DataContext = new ValidationModel();
 }
        public AdminPanel(user u, Login login)
        {
            var splash = new SplashScreen("images/splash.png");

            splash.Show(true);
            InitializeComponent();
            splash.Show(false);
            this.login = login;
            hms        = new DataLayer.HmsDA();
            owner      = u;
        }
Esempio n. 5
0
 public MainWindow()
 {
     InitializeComponent();
     hms = new DataLayer.HmsDA();
 }