添加项目文件。
This commit is contained in:
17
Views/MainWindow.xaml.cs
Normal file
17
Views/MainWindow.xaml.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace TabletTester2025
|
||||
{
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// 为标题栏的按钮添加 Click 事件
|
||||
SettingsButton.Click += (s, e) => new SettingsWindow().ShowDialog();
|
||||
HistoryButton.Click += (s, e) => new HistoryWindow().ShowDialog();
|
||||
CalibrationButton.Click += (s, e) => MessageBox.Show("校准功能待实现", "提示");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user