示例#1
0
 protected override void OnNavigatedTo(MtNavigationEventArgs e)
 {
     if (e.NavigationMode != NavigationMode.Back)
     {
         idBox       = (int)e.Parameter;
         CurrentPage = 1;
         Loader();
     }
     _instance = this;
     MainView.GetInstance().UpdatePosSelectedListView(idBox.ToString());
 }
示例#2
0
 protected override void OnNavigatingFrom(MtNavigatingCancelEventArgs e)
 {
     base.OnNavigatingFrom(e);
     if (e.NavigationMode == NavigationMode.Back)
     {
         this.NavigationCacheMode = NavigationCacheMode.Disabled;
         myWebview            = null;
         helper               = null;
         listThreadController = null;
         _instance            = null;
         GC.Collect();
     }
 }