将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Windows;
|
||||
|
||||
namespace XP.Hardware.RaySource.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// 射线源配置窗口 | Ray source config window
|
||||
/// </summary>
|
||||
public partial class RaySourceConfigWindow : Window
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数 | Constructor
|
||||
/// </summary>
|
||||
public RaySourceConfigWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// 继承主窗口图标
|
||||
if (Application.Current?.MainWindow != null)
|
||||
{
|
||||
Icon = Application.Current.MainWindow.Icon;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user