EPLAN_PROD_Plugin/Sinvo.EplanHpD.Plugin.WPFUI/Common
lihanbo 860ce040ed 105040 Update 关闭窗口时增加提示,未保存电机数据是否丢弃
添加未保存警告窗口及其相关视图模型和消息类

增加了 `LectotypeMessage.cs` 文件:
- 定义了 `LectotypeMessage` 类,继承自 `ValueChangedMessage<Dictionary<string,string>>`。

增加了 `NotSavedWarningViewModel.cs` 文件:
- 定义了 `NotSavedWarningViewModel` 类,实现了 `INotifyPropertyChanged` 和 `IDialogResultable<bool>` 接口。
- 包含 `PropertyChanged` 事件、`OnChange` 方法、`NotSavedLectotypeList` 属性、`Result` 和 `CloseAction` 属性及 `Close` 方法。

增加了 `NotSavedWarningWindow.xaml` 文件:
- 定义了未保存警告窗口的 UI,包括 `Border`、`Grid`、`StackPanel`、`TextBlock`、`ListBox` 和两个按钮。

增加了 `NotSavedWarningWindow.xaml.cs` 文件:
- 定义了 `NotSavedWarningWindow` 类,包含 `ViewModel` 字段、构造函数及按钮点击事件处理方法。
2025-01-23 17:06:34 +08:00
..
CommonMessage.cs 105040 优化电机线材选型页面 2024-12-02 11:02:52 +08:00
LectotypeMessage.cs 105040 Update 关闭窗口时增加提示,未保存电机数据是否丢弃 2025-01-23 17:06:34 +08:00
OpenDrawMessage.cs 105040 Update 伺服电机线材抓取增加安川逻辑 2025-01-10 14:41:51 +08:00