using OpenTapEditor; using System.Windows; namespace SeqEditor.UI { /// /// StationSettingWin.xaml 的交互逻辑 /// public partial class StationSettingWin : Window { public StationSettingWin() { InitializeComponent(); } public bool? Open(object obj) { view.Children.Clear(); view.Children.Add(UISettingsProvider.GetControl(obj)); return this.ShowDialog(); } private void Button_Click(object sender, RoutedEventArgs e) { this.DialogResult = true; this.Close(); } } }