chr
2025-01-03 31a636e735a0addc56e4f4527f500b7aa0874eb5
PdmSwPlugin.Common/Util/UI/MultiExWindow.xaml.cs
@@ -38,6 +38,13 @@
            set => RaiseAndSetIfChanged(ref _title, value);
        }
        private string _header;
        public string header
        {
            get => _header;
            set => RaiseAndSetIfChanged(ref _header, value);
        }
        private ObservableCollection<string> _exceptions;
        public ObservableCollection<string> exceptions
@@ -47,11 +54,13 @@
        }
        public MultiExWindow(DependencyObject parent, string title, List<string> exceptions)
        public MultiExWindow(DependencyObject parent, string title, List<string> exceptions,string header = "异常信息")
        {
            this.title = title;
            this.header = header;
            InitializeComponent();
            DataContext = this;
            table.Columns[0].Header = header;
            if (exceptions == null)
            {
                this.exceptions = new ObservableCollection<string>();