using System.Windows; namespace XP.Hardware.RaySource.Views { /// /// 射线源配置窗口 | Ray source config window /// public partial class RaySourceConfigWindow : Window { /// /// 构造函数 | Constructor /// public RaySourceConfigWindow() { InitializeComponent(); // 继承主窗口图标 if (Application.Current?.MainWindow != null) { Icon = Application.Current.MainWindow.Icon; } } } }