コード例 #1
0
 private void Window_KeyDown_1(object sender, KeyEventArgs e)
 {
     if ((Keyboard.Modifiers == ModifierKeys.Control) && (e.Key == Key.E))
     {
         ConfigDevice config = new ConfigDevice();
         config.ShowDialog();
     }
 }
コード例 #2
0
        private void BtnConfig_Click(object sender, RoutedEventArgs e)
        {
            ConfigDevice configDevice = new ConfigDevice();

            configDevice.ShowDialog();
        }