From 22fcd0d263770c8371bd03ca53f097a6ec1678f7 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 24 十二月 2020 12:06:26 +0800 Subject: [PATCH] 20201224-2 --- 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 index df76e35..97a53a8 100644 --- 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