예제 #1
0
 public MainWindow()
 {
     HotKey _hotKey = new HotKey(Key.PrintScreen, KeyModifier.None, OnHotKeyHandler);
     this.ShowInTaskbar = false;
     InitializeComponent();
 }
예제 #2
0
 private void OnHotKeyHandler(HotKey hotKey)
 {
     WindowState = WindowState.Maximized;
     CaptureScreen();
     this.Activate();
 }