From 24a2c4998ee6d6a2b584d89804ebf99afc5f3629 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 24 十二月 2020 18:44:36 +0800
Subject: [PATCH] 20201224-6
---
HDL_ON/UI/UI2/2-Classification/RoomPage.cs | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs
old mode 100755
new mode 100644
index df76e35..97a53a8
--- a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs
@@ -27,10 +27,21 @@
/// 鍒犻櫎鎴块棿浜嬩欢
/// </summary>
Action deleteAction;
+ /// <summary>
+ /// 鍥剧墖淇敼浜嬩欢
+ /// </summary>
+ Action modifyImageAction;
#endregion
- public RoomPage(Room r, Action rrn, Action delAction)
+ /// <summary>
+ ///
+ /// </summary>
+ /// <param name="r"></param>
+ /// <param name="rrn">缂栬緫浜嬩欢</param>
+ /// <param name="delAction">鍒犻櫎浜嬩欢鍥炶皟</param>
+ /// <param name="modifyImageAction">鎴块棿鑳屾櫙鍥句慨鏀逛簨浠跺洖璋�</param>
+ public RoomPage(Room r, Action rrn, Action delAction, Action modifyImageAction)
{
bodyView = this;
room = r;
@@ -40,6 +51,7 @@
};
ReloadRoomName = rrn;
deleteAction = delAction;
+ this.modifyImageAction = modifyImageAction;
}
/// <summary>
/// 閲嶈浇鐣岄潰
@@ -212,7 +224,7 @@
btnCollectionIcon.MouseUpEventHandler += (sender, e) =>
{
btnCollectionIcon.IsSelected = scene.collect = !btnCollectionIcon.IsSelected;
- scene.SaveSceneData(true);
+ scene.CollectScene();
};
}
/// <summary>
--
Gitblit v1.8.0