private void Window_KeyDown(object sender, KeyEventArgs e) { int i = 0; if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl)) { if (Keyboard.IsKeyDown(Key.G)) { CottonDBMS.TruckApp.Windows.OverrideGPS overrideWindow = new CottonDBMS.TruckApp.Windows.OverrideGPS(); overrideWindow.Show(); } } }
private void ExecuteGinCommand() { CottonDBMS.TruckApp.Windows.OverrideGPS overrideWindow = new CottonDBMS.TruckApp.Windows.OverrideGPS(); overrideWindow.Show(); }