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 作为历史根节点
---
Util.ManualDebug/ManualCell.xaml.cs | 66 +++++++++++++++++++++++++++++++++
1 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/Util.ManualDebug/ManualCell.xaml.cs b/Util.ManualDebug/ManualCell.xaml.cs
new file mode 100644
index 0000000..3de1495
--- /dev/null
+++ b/Util.ManualDebug/ManualCell.xaml.cs
@@ -0,0 +1,66 @@
+锘縰sing System.ComponentModel;
+using System.Runtime.CompilerServices;
+using System.Windows.Controls;
+
+namespace Util.ManualDebug
+{
+ /// <summary>
+ /// ManualCell.xaml 鐨勪氦浜掗�昏緫
+ /// </summary>
+ public partial class ManualCell : UserControl, INotifyPropertyChanged
+ {
+ #region ...
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected void Set([CallerMemberName] string name = null)
+ {
+
+ PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
+ }
+
+ protected void Set<T>(ref T old, T @new, [CallerMemberName] string propertyName = null)
+ {
+ old = @new;
+ if (propertyName != null)
+ {
+ Set(propertyName);
+ }
+ }
+ #endregion
+ private string title;
+ public string Title
+ {
+ get => title;
+ set => Set(ref title, value);
+ }
+
+ private bool selected;
+ public bool Selected
+ {
+ get => selected;
+ set
+ {
+ if (selected != value)
+ {
+ Set(ref selected, value);
+ SelectedChanged?.Invoke(this, new EventArgs());
+ }
+ }
+ }
+
+ private int index;
+ public int Index
+ {
+ get => index; set => Set(ref index, value);
+ }
+
+ public event EventHandler SelectedChanged;
+
+ public ManualCell()
+ {
+ this.DataContext = this;
+ InitializeComponent();
+ }
+
+ }
+}
--
Gitblit v1.9.1