public RegisterPatientView1Model()
        {
            HelpText              = "You can see the list of scheduled examinations for the chosen parameters, click on button 'See the List' to see it.";
            ContinueCommand       = new MyICommandWithPassword(OnContinue, CanContinue);
            mainWindowDataContext = App.Current.MainWindow.DataContext as MainWindowViewModel;

            registerPatient1Validator = new RegisterPatient1Validator();
            _app = Application.Current as App;
        }
예제 #2
0
        public LoginViewModel()
        {
            LoginErrorText        = "";
            HelpText              = "Hospital Secretary Login Page.";
            LoginCommand          = new MyICommandWithPassword(OnLogin, CanLogin);
            _loginUserValidor     = new LoginUserValidator();
            mainWindowDataContext = App.Current.MainWindow.DataContext as MainWindowViewModel;

            app = Application.Current as App;
        }