在Setting.cs中增加RealTimeImage属性
This commit is contained in:
@@ -60,6 +60,23 @@ namespace JoyD.Windows.CS
|
|||||||
// 例如:更新界面数据、检查状态等
|
// 例如:更新界面数据、检查状态等
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 实时图像属性
|
||||||
|
/// </summary>
|
||||||
|
public Image RealTimeImage
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (DesignMode || this.IsDisposed || this.Disposing || pictureBoxTemperatureDisplay == null || pictureBoxTemperatureDisplay.IsDisposed)
|
||||||
|
return null;
|
||||||
|
return pictureBoxTemperatureDisplay.Image;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
UpdateRealTimeTemperatureImage(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 同步更新实时温度图像
|
/// 同步更新实时温度图像
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user