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