示例#1
0
 public PatientSearchViewModel(MainWidowViewModel containingVm, Physician physicianUser)
 {
     this.BackCommand       = new BackCommand(this);
     this.containingShellVm = containingVm;
     this.patientM          = new PhysicianShellModel();
     this.PhysicianUser     = physicianUser;
 }
 public LogInViewModel(MainWidowViewModel containingVm)
 {
     this.containingVm = containingVm;
     logInModel        = new LogInModel();
     LogInUserCommand  = new LogInCommand(this);
     Message           = "";
 }
示例#3
0
 public AdminShellViewModel(MainWidowViewModel containingVm, Admin user)
 {
     this.containingVm        = containingVm;
     this.Admin               = user;
     SignOutCommand           = new BackCommand(this);
     ScreenReplacementCommand = new ScreenReplacementCommand(this);
     Message                = "";
     DecisionMessage        = "";
     IsDecisionMessageShown = false;
     DecisionCommand        = new DecisionCommand(this);
     CurrentVM              = null;
 }
 public PhysicianShellViewModel(MainWidowViewModel containingVm, Physician physicianUser)
 {
     Message = "";
     IsBusy  = false;
     IsDecisionMessageShown   = false;
     DecisionMessage          = "";
     DecisionCommand          = new DecisionCommand(this);
     this.containingVm        = containingVm;
     ScreenReplacementCommand = new ScreenReplacementCommand(this);
     SearchCommand            = new SearchItemCommand(this);
     SignOutCommand           = new BackCommand(this);
     physicianShellModel      = new PhysicianShellModel();
     //patientSearchVM = new PatientSearchViewModel(containingVm, physicianUser);
     this.PhysicianUser   = physicianUser;
     IsEnabledActionsMenu = false;
     CurrentVM            = null;
     //PersonalDetailsTab = patientDetailsVM;
     //AddReceptTab = addReceptVM;
     //AddMedicalRecordTab = addMedicalRecordVM;
     //MedicalFileTab = medicalFileVM;
 }
        public ActionsMenuViewModel(MainWidowViewModel mainWindowVM)
        {
            this.mainWindowVM = mainWindowVM;

            this.ScreenReplacementCommand = new ScreenReplacementCommand(this);
        }