| 1234567891011121314151617181920212223242526 |
- using System.Windows;
- using System.Diagnostics;
- namespace KeyBoardTest
- {
- /// <summary>
- /// MainWindow.xaml 的交互逻辑
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- private void Btn1_Click(object sender, RoutedEventArgs e)
- {
- Process.Start("C:\\Windows\\System32\\osk.exe");
- }
- private void Btn2_Click(object sender, RoutedEventArgs e)
- {
- Process.Start("C:\\Windows\\System32\\osk.exe");
- }
- }
- }
|