Example #1
0
 private void ShowSample(ESample eSample)
 {
     Hide();
     new Sample(eSample).ShowDialog();
     Show();
     Activate();
 }
Example #2
0
 public Sample(ESample sample) : base("Sample", null)
 {
     _sample = sample;
 }
Example #3
0
 private async void CreateView(ESample sample)
 {
     await
     Dispatcher.RunAsync(CoreDispatcherPriority.Normal,
                         () => { (Window.Current.Content as Frame)?.Navigate(typeof(WinPhone81.Samples.Sample), sample); });
 }
Example #4
0
 public SampleForm(ESample eSample) : this()
 {
     _eSample = eSample;
 }
Example #5
0
 private void NavigateToSample(ESample sample)
 {
     (UIApplication.SharedApplication?.KeyWindow?.RootViewController as UINavigationController)?
     .PushViewController(new Sample(sample), true);
 }