BetterExplorer.MainWindow.beNotifyIcon_TrayMouseDoubleClick C# (CSharp) 메소드

beNotifyIcon_TrayMouseDoubleClick() 개인적인 메소드

private beNotifyIcon_TrayMouseDoubleClick ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
리턴 void
    private void beNotifyIcon_TrayMouseDoubleClick(object sender, RoutedEventArgs e) {
      this.Visibility = Visibility.Visible;
      if (this.WindowState == WindowState.Minimized) {
        User32.ShowWindow(Handle, User32.ShowWindowCommands.Restore);
      }

      this.Activate();
      this.Topmost = true;  // important
      this.Topmost = false; // important
      this.Focus();         // important
    }
MainWindow