From 0fa1534827bd21d763216550d11006fc1441c6cb Mon Sep 17 00:00:00 2001 From: tzy <hxb@hdlchina.com.cn> Date: 星期五, 14 五月 2021 17:08:45 +0800 Subject: [PATCH] 门锁初始上传 --- HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs | 30 +++++++++++++++++++++++++++++- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs b/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs index a592744..381bc86 100644 --- a/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs +++ b/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs @@ -124,7 +124,35 @@ btnTilte.TextSize = UI.CSS.CSS_FontSize.HeadlineFontSize; btnTilte.TextColor = UI.CSS.CSS_Color.FirstLevelTitleColor; topFrameLayout.AddChidren(btnTilte); - topFrameLayout.AddTag("txtTitle", btnTilte); + topFrameLayout.AddTag("txtTitle", btnTilte); +#if DEBUG + btnTilte.MouseLongEventHandler += (sender, e) => + { + + var form = new BottomMenuSelectControl(3); + form.AddMenu("鍒囨崲涓轰腑鏂�", () => + { + Language.CurrentLanguage = "Chinese"; + //娓呴櫎鍏ㄩ儴鎺т欢 + this.ClearBodyFrame(); + //鎵цShowForm()鏂规硶瀹炵幇閲嶆柊鍔犺浇 + this.LoadShowFormMethod(this.m_parameter); + }); + form.AddMenu("鍒囨崲涓鸿嫳鏂�", () => + { + Language.CurrentLanguage = "English"; + //娓呴櫎鍏ㄩ儴鎺т欢 + this.ClearBodyFrame(); + //鎵цShowForm()鏂规硶瀹炵幇閲嶆柊鍔犺浇 + this.LoadShowFormMethod(this.m_parameter); + }); + form.AddMenu("鏌ョ湅鏈湴鏂囦欢", () => + { + var form2 = new HideOptionDirectoryListForm(); + form2.AddForm(); + }); + }; +#endif } #endregion -- Gitblit v1.8.0