Example #1
0
 public WorkTileViewModel(WorkTileListViewModel parent)
 {
     Parent     = parent;
     DeleteBtn  = new SymbolIconButtonViewModel(new DelegateCommand(OnDelete), ViewConstants.DeleteSymbol);
     EditButton = new SymbolIconButtonViewModel(new DelegateCommand(OnEdit), ViewConstants.EditSymbol);
     // SaveBtn = new SymbolIconButtonViewModel(new DelegateCommand(OnSave), ViewConstants.SaveSymbol);
 }
Example #2
0
 public UploadInterventionsFileViewModel(DentalRecordsScreeViewModel parent)
 {
     Parent = parent;
     UploadSettingsButton    = new SymbolIconButtonViewModel(new DelegateCommand(OnSettingsExcelFile), "Încarcă Setări din Excel");//new ActionButtonViewModel("Incarca Setari din Excel", new DelegateCommand(OnSettingsExcelFile), ImagePath.AddPatientPath);
     UploadPatientsButton    = new SymbolIconButtonViewModel(new DelegateCommand(OnPatientsExcelFile), "Încarcă Intervenții din Excel");
     UploadMonthIntervention = new SymbolIconButtonViewModel(new DelegateCommand(OnMonthInterventions), "Încarcă Intervenții din Excel(Lună)");
     //new ActionButtonViewModel("Incarca Interventii din Excel", new DelegateCommand(OnPatientsExcelFile), ImagePath.AddPatientPath);
 }
Example #3
0
        public OperationOptionsViewModel(DentalRecordsScreeViewModel parent)
        {
            Parent = parent;
            SeePaymentDetailsButton   = new SymbolIconButtonViewModel(new DelegateCommand(OnSeeInfo), "Vezi informații selectate");
            SetPayedButton            = new SymbolIconButtonViewModel(new DelegateCommand(OnSetPayed), "Setează Plătite");
            SetAsNotPayedButton       = new SymbolIconButtonViewModel(new DelegateCommand(OnSetUnPayed), "Setează Neplătite");
            SaveIntervalDetailsButton = new SymbolIconButtonViewModel(new DelegateCommand(OnSaveIntervalDetails), "Exportă Xls");
//            OnMergePatientsButton = new SymbolIconButtonViewModel(new DelegateCommand(OnMergePatients), "Imbină pacienți");
        }
 public SettingsTileViewModel(SettingsTileListViewModel parent, LocalCache.SettingsItemEnum setingsType)
 {
     Parent     = parent;
     DeleteBtn  = new SymbolIconButtonViewModel(new DelegateCommand(OnDelete), ViewConstants.DeleteSymbol);
     EditButton = new SymbolIconButtonViewModel(new DelegateCommand(OnEdit), ViewConstants.EditSymbol);
     // SaveBtn = new SymbolIconButtonViewModel(new DelegateCommand(OnSave), ViewConstants.SaveSymbol);
     SettingsItemType = setingsType;
     DecideViewLayout(setingsType);
 }
Example #5
0
 public ChangePasswordViewModel()
 {
     ChangePassCommand = new DelegateCommand(OnChangeCommand);
     ConfirmCommand    = new DelegateCommand(OnConfirmCommand);
     CancelCommand     = new DelegateCommand(OnCloseCommand);
     ChoseFileCommand  = new DelegateCommand(OnSetPath);
     ChangePassButton  = new SymbolIconButtonViewModel(ChangePassCommand, "Schimbă parolă");
     ConfirmButton     = new SymbolIconButtonViewModel(ConfirmCommand, "Salvează  ");
     SelectPathButton  = new SymbolIconButtonViewModel(ChoseFileCommand, "Selectează Locație");
     //CancelButton = new SymbolIconButtonViewModel(CancelCommand,"Anuleaza");
     Inititialize();
 }
Example #6
0
 public MaterialTileViewModel(MaterialTileListViewModel parent)
 {
     Parent = parent;
     DeleteMaterialButton = new SymbolIconButtonViewModel(new DelegateCommand(OnDeleteMaterial), ViewConstants.DeleteSymbol);
 }
 public TechnicianTileViewModel(TechnicianTileListViewModel parent)
 {
     Parent     = parent;
     DeleteBtn  = new SymbolIconButtonViewModel(new DelegateCommand(OnDelete), ViewConstants.DeleteSymbol);
     EditButton = new SymbolIconButtonViewModel(new DelegateCommand(OnEdit), ViewConstants.EditSymbol);
 }