From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点
---
HMI.UI/MDI/MinInnerWindow.xaml.cs | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/HMI.UI/MDI/MinInnerWindow.xaml.cs b/HMI.UI/MDI/MinInnerWindow.xaml.cs
new file mode 100644
index 0000000..91a94c8
--- /dev/null
+++ b/HMI.UI/MDI/MinInnerWindow.xaml.cs
@@ -0,0 +1,42 @@
+锘縰sing System;
+using System.Windows.Controls;
+
+namespace HMI.UI.MDI
+{
+ /// <summary>
+ /// MinInnerWindow.xaml 鐨勪氦浜掗�昏緫
+ /// </summary>
+ public partial class MinInnerWindow : UserControl
+ {
+ public event EventHandler MaxEvent;
+ public event EventHandler CloseEvent;
+ public InnerWindow Inner { get; set; }
+
+ public string Title
+ {
+ get => Inner == null ? null : Inner.Title;
+ }
+
+ public MinInnerWindow() : this(null)
+ {
+
+ }
+
+ public MinInnerWindow(InnerWindow inner)
+ {
+ DataContext = this;
+ Inner = inner;
+ InitializeComponent();
+ }
+
+ private void Max_Click(object sender, System.Windows.RoutedEventArgs e)
+ {
+ MaxEvent?.Invoke(this, null);
+ }
+
+ private void CLose_Click(object sender, System.Windows.RoutedEventArgs e)
+ {
+ CloseEvent?.Invoke(this, null);
+ }
+ }
+}
--
Gitblit v1.9.1