示例#1
0
 void PageContainer_CurrentPageChanged(object sender, PageType e)
 {
     CurrentPage = Pages.GetPageByType(e);
     NotifyPropertyChanged("CurrentPage");
 }
示例#2
0
 public void SetModel(Model model)
 {
     this.model = model;
     Back       = new MvvmCommand(() => Pages.ChangePageTo(PageType.ClientList), () => true);
     model.SelectedClientChanged += Model_SelectedClientChanged;
 }