alielie
2025-03-23 40014e6e41f1ec017a07b7a620b3c700807d0519
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using HMI.Base;
using System.Windows;
using System.Windows.Controls;
 
namespace HMI.DOControl
{
    /// <summary>
    /// UserControl1.xaml 的交互逻辑
    /// </summary>
    public partial class DOControl : PluginControl
    {
        public DOControl()
        {
            InitializeComponent();
        }
 
        public override void InitFinish()
        {
            base.InitFinish();
            
        }
 
 
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            
            Loaded -= UserControl_Loaded;
        }
 
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Button btn = sender as Button;
            switch (btn.Name)
            {
                case "queryBtn":
                    break;
                case "resetBtn":
                    break;
                case "exportBtn":
                    break;
                default:
                    break;
            }
        }
    }
}