Пример #1
0
 /// <summary>
 /// Called when the setting button is pressed. Shows the settings flyout dialog
 /// </summary>
 private void SettingsButton_Click(object sender, RoutedEventArgs e)
 {
     SettingsFlyout.ShowAt(SettingsButton);
 }
 public MainPage()
 {
     this.InitializeComponent();
     Messenger.Default.Register <Exception>(this, UserInterfaceService.Commands.HideFeedback, _ => FeedbackFlyout.Hide());
     Messenger.Default.Register <string>(this, UserInterfaceService.Commands.ShowSettings, _ => SettingsFlyout.ShowAt(SettingsButton));
     Messenger.Default.Register <string>(this, UserInterfaceService.Commands.HideRunCommand, _ => RunFlyout.Hide());
 }