public MainWindowViewModel(BaseSingleton baseSingleton) { Base_ = baseSingleton; baseSingleton.SetProperties(); AppRibbon.SetVisibility("tabOperacoesCadastro", Visibility.Collapsed); ListProfCommand = new RelayCommand(ListProf); ListFaixaCommand = new RelayCommand(ListFaixa); ListNivelCommand = new RelayCommand(ListNivel); ListSituacaoCommand = new RelayCommand(ListSituacao); ListCategoriaCommand = new RelayCommand(ListCategoria); ListMateriasCommand = new RelayCommand(ListMaterias); ListTurmasCommand = new RelayCommand(ListTurmas); ListCalendarioCommand = new RelayCommand(ListCalendario); ListFaltasCommand = new RelayCommand(ListFaltas); NovoCommand = new RelayCommand(Add); DeleteCommand = new RelayCommand(Delete); //ClosedCommand = new RelayCommand(EncerraApp); WizFinishCommand = new RelayCommand(Save); WizCancelCommand = new RelayCommand(Cancel); WizBackCommand = new RelayCommand(Back); WixNextCommand = new RelayCommand(Next); }
public BoletimDiarioViewModel(BaseSingleton baseSingleton) { Base_ = baseSingleton; Falta = new AppFactory().NewFalta(); MouseDoubleClickCommand = new RelayCommand(CurrentCellSelected); AppRibbon.SetFocus("tabOperacoesCadastro"); FillCollection(); }
public ProfessoresViewModel(BaseSingleton baseSingleton) { Base_ = baseSingleton; MouseDoubleClickCommand = new RelayCommand(CurrentCellSelected); Prof = new AppFactory().NewProfessor(); AppRibbon.SetFocus("tabOperacoesCadastro"); FillCollection(); }