alielie
2025-03-11 2e54b439c64e0adbb7e010243c1f33aa5fc5f503
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
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.DataContext = this;
            InitializeComponent();
        }
 
        private void Window_Unloaded(object sender, RoutedEventArgs e)
        {
            this.mainGrid.Children.Clear();
        }
    }
}