From 65bcedda4d8e3ff6500dbf59a4e607d96e469375 Mon Sep 17 00:00:00 2001 From: tzy <hxb@hdlchina.com.cn> Date: 星期二, 25 五月 2021 15:47:15 +0800 Subject: [PATCH] 初步完成过户的功能 --- HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs b/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs index 381bc86..85164ed 100644 --- a/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs +++ b/HDL_ON/UI/UI0-Stan/Form/Base/EditorCommonForm.cs @@ -318,7 +318,7 @@ #region 鈻� 娣诲姞鍒楄〃娑堟伅鏄剧ず鎺т欢_______________ /// <summary> - /// 娣诲姞鍒楄〃娑堟伅鏄剧ず鎺т欢,杩斿洖鐨勬槸鏈�鍚庝竴涓帶浠剁殑搴曢儴鍧愭爣(娌$湅鎳傝繖涓嚱鏁板墠,璇峰嬁浣跨敤) + /// 娣诲姞鍒楄〃娑堟伅鏄剧ず鎺т欢,杩斿洖鐢熸垚鐨勬帶浠�(娌$湅鎳傝繖涓嚱鏁板墠,璇峰嬁浣跨敤,瀹冧笉浼氬府璁$畻鎹㈣) /// </summary> /// <param name="frameTable">妗屽竷瀹瑰櫒鎺т欢</param> /// <param name="i_msg">鏄剧ず鐨勬秷鎭�(鎹㈣璇蜂娇鐢ㄣ�恵0}銆戣繘琛屽垎鍓�)</param> @@ -333,7 +333,7 @@ /// </param> /// <param name="i_width">鏂囨湰瀹藉害,鐪熷疄鍊�,褰撲负-1鏃�,鍐呴儴鑷姩璁$畻</param> /// <returns></returns> - public int AddListMsgControls(FrameLayout frameTable, string i_msg, int i_fontSize, uint i_fontColor, int i_height, + public List<NormalViewControl> AddListMsgControls(FrameLayout frameTable, string i_msg, int i_fontSize, uint i_fontColor, int i_height, int i_yy, TextAlignment alignment = TextAlignment.Center, bool special = false, int i_width = -1) { var listMsg = i_msg.Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries); @@ -382,7 +382,7 @@ } //鐗规畩澶勭悊 - if (special == true && alignment == TextAlignment.Center) + if (special == true) { //璁剧疆瀹冪殑鐪熷疄瀹藉害(瀵箂pecial鍙橀噺鏈夌敤) int realWidth = btnMsg.GetRealWidthByText(); @@ -400,7 +400,7 @@ i_yy = btnMsg.Bottom + Application.GetRealHeight(4); } //鐗规畩澶勭悊 - if (special == true && alignment == TextAlignment.Center) + if (special == true) { foreach (var contr in listContr) { @@ -409,7 +409,7 @@ } } - return i_yy - Application.GetRealHeight(4); + return listContr; } #endregion @@ -475,7 +475,7 @@ public void RemoveBackButton() { //绉婚櫎杩斿洖閿� - var back = (NormalViewControl)topFrameLayout.GetTagByKey("btnBack"); + var back = (PicViewControl)topFrameLayout.GetTagByKey("btnBack"); topFrameLayout.RemoveTag("btnBack"); back?.RemoveFromParent(); -- Gitblit v1.8.0