コード例 #1
0
        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();
                }
            }
        }
コード例 #2
0
 private void ExecuteGinCommand()
 {
     CottonDBMS.TruckApp.Windows.OverrideGPS overrideWindow = new CottonDBMS.TruckApp.Windows.OverrideGPS();
     overrideWindow.Show();
 }