Пример #1
0
 public AddEditIssuePage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
Пример #2
0
 public RepoViewPage()
 {
     this.InitializeComponent();
     if (!Application.Current.Resources.ContainsKey("CommentTemplate") && !Application.Current.Resources.ContainsKey("EventTemplate"))
     {
         Application.Current.Resources.Add(new KeyValuePair<object, object>("CommentTemplate", this.Resources["CommentTemplate"]));
         Application.Current.Resources.Add(new KeyValuePair<object, object>("EventTemplate", this.Resources["EventTemplate"])); 
     }
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
Пример #3
0
 public HomePage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
 }