示例#1
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     NavigationParameter navi = e.Parameter as NavigationParameter;
     param = navi.PostParameter;
     type = navi.PostType;
     DataContext = UserVM = new UserViewModel(param,type);
     base.OnNavigatedTo(e);
 }
示例#2
0
 public BlankPage1()
 {
     this.InitializeComponent();
     DisableStatusBar();
     DataContext = UserVM = new UserViewModel("1082946621", "uid");
 }