wpf keyboard press event

45

wpf keyboard press event -

private void MainWindow_Loaded(object sender, RoutedEventArgs e) 
  {
    var window = Window.GetWindow(this);
    window.KeyDown += HandleKeyPress;
  }

Comments

Submit
0 Comments