private void ShowPopupCommandOnExecuting(object sender, CancelCommandEventArgs args) { var shell = ApexBroker.GetShell(); ViewModel.PopupResult = shell.ShowPopup(new SimplePopup()); }
private void detector7_Click(object sender, RoutedEventArgs e) { TscData t = Utils.Utils.GetTscDataByApplicationCurrentProperties(); //pevent(this, 1); Utils.Utils.SetSelectedDetector(7); ApexBroker.GetShell().ClosePopup(this, true); }
private void ShowFadePopupCommandOnExecuting(object sender, CancelCommandEventArgs args) { var shell = ApexBroker.GetShell(); shell.PopupAnimationHelper = new FadeInOutPopupAnimationHelper(); shell.ShowPopup(new CustomisedPopup()); }
private void button_Cancel_Click(object sender, RoutedEventArgs e) { ApexBroker.GetShell().ClosePopup(this, false); }
private void Close_Click(object sender, RoutedEventArgs e) { ApexBroker.GetShell().ClosePopup(this, null); }
/// <summary> /// Handles the Executed event of the ShowPopupCommand. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="args">The <see cref="Apex.MVVM.CommandEventArgs"/> instance containing the event data.</param> void ShowPopupCommand_Executed(object sender, CommandEventArgs args) { // Get the shell and show the example popup. ApexBroker.GetShell().ShowPopup(new ExamplePopup(), (result) => { }); }
private void Button_Click(object sender, RoutedEventArgs e) { var appHost = ApexBroker.GetShell(); appHost.ShowPopup(new SimplePopupView(), o => {}); }