using HMI.Core.Util; using Panuon.WPF.UI; using System.Windows; namespace Plugin.TestResult_WPF { /// /// ChartWindow.xaml 的交互逻辑 /// 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(); } } }