alielie
2025-04-10 6bcafc823e836ecd5790f87178a906333699f868
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.TestResult_WPF
{
    /// <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();
        }
    }
}