private void ButtonPush_OnClick(object sender, RoutedEventArgs e) { NotifyIconContextContent.CloseContextControl(); this.Dispatcher.Invoke(() => { Visibility = Visibility.Visible; }); }
private void ButtonPush_OnClick(object sender, RoutedEventArgs e) => NotifyIconContextContent.CloseContextControl();