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
| using HMI.Core.Util;
| using Panuon.WPF.UI;
| using System.Windows;
|
| namespace Plugin.BurnIn
| {
| /// <summary>
| /// ChartWindow.xaml 的交互逻辑
| /// </summary>
| public partial class ChartWindow : WindowX
| {
| private string _title;
| public string title
| {
| get => _title;
| set => Set(ref _title, value);
| }
|
| public ChartWindow(string title)
| {
| this.title = $"{title}{this.lang("Tr.DetailChart")}";
| this.DataContext = this;
| InitializeComponent();
| }
|
| private void Window_Unloaded(object sender, RoutedEventArgs e)
| {
| this.mainGrid.Children.Clear();
| }
| }
| }
|
|