From dc0309e64f02227d8e1468b7326c07955f804612 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 22 六月 2022 11:22:18 +0800
Subject: [PATCH] 修改引用路径
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameCaptionInputControl.cs | 168 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 93 insertions(+), 75 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameCaptionInputControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameCaptionInputControl.cs
old mode 100755
new mode 100644
index 7ae3ee6..b7ba5a5
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameCaptionInputControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameCaptionInputControl.cs
@@ -1,75 +1,93 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Shared.Phone.UserCenter
-{
- /// <summary>
- /// 鍋氭垚涓�涓ā鎷烺owLayout,杩涜杈撳叆鐨凢rameLayout鎺т欢(宸﹁竟鏈夋爣棰�)
- /// </summary>
- public class FrameCaptionInputControl : FrameRowControl
- {
- #region 鈻� 鍙橀噺澹版槑___________________________
-
- /// <summary>
- /// 杈撳叆妗嗙殑鍊�
- /// </summary>
- public string Text
- {
- get { return txtInput.Text.Trim(); }
- set { txtInput.Text = value; }
- }
- /// <summary>
- /// 杈撳叆妗嗘帶浠�(鍙栧�兼垨鑰呰幏鍙栧�煎彲浠ヤ娇鐢ㄣ�怲ext銆戝睘鎬�,铏界劧杩欎釜涔熷彲浠ュ彇)
- /// </summary>
- public TextInputExControl txtInput = null;
- /// <summary>
- /// 鏍囬鎺т欢
- /// </summary>
- public NormalViewControl btnCaption = null;
-
- #endregion
-
- #region 鈻� 鍒濆鍖朹____________________________
-
- /// <summary>
- /// 鍋氭垚涓�涓ā鎷烺owLayout,杩涜杈撳叆鐨凢rameLayout鎺т欢(宸﹁竟鏈夋爣棰�)
- /// </summary>
- /// <param name="i_caption">鏍囬鏂囨湰</param>
- /// <param name="i_text">杈撳叆妗嗙殑鍊�</param>
- /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(鐪熷疄鍊�,鏈変簺鐣岄潰闇�瑕佽繖绉嶇壒娈婃搷浣�)</param>
- public FrameCaptionInputControl(string i_caption, string i_text, int i_ChidrenYaxis = 0) : base(i_ChidrenYaxis)
- {
- this.UseClickStatu = false;
-
- btnCaption = new NormalViewControl(270, 58, true);
- btnCaption.X = ControlCommonResourse.XXLeft;
- btnCaption.Gravity = Gravity.CenterVertical;
- btnCaption.Text = i_caption + "锛�";
-
- txtInput = new TextInputExControl(700, true);
- txtInput.X = Application.GetRealWidth(294);
- txtInput.Gravity = Gravity.CenterVertical;
- txtInput.Text = i_text;
- }
-
- /// <summary>
- /// 鍒濆鍖栨帶浠�
- /// </summary>
- /// <param name="caption">鏍囬</param>
- /// <param name="text">鏂囨湰妗嗙殑鍊�</param>
- public void InitControl()
- {
- this.AddChidren(btnCaption, ChidrenBindMode.NotBind);
-
- this.AddChidren(txtInput, ChidrenBindMode.NotBind);
- if (chidrenYaxis != 0)
- {
- btnCaption.Y += chidrenYaxis;
- txtInput.Y += chidrenYaxis;
- }
- }
-
- #endregion
- }
-}
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
+ /// <summary>
+ /// 鍋氭垚涓�涓ā鎷烺owLayout,杩涜杈撳叆鐨凢rameLayout鎺т欢(宸﹁竟鏈夋爣棰�)
+ /// </summary>
+ public class FrameCaptionInputControl : FrameRowControl
+ {
+ #region 鈻� 鍙橀噺澹版槑___________________________
+
+ /// <summary>
+ /// 杈撳叆妗嗙殑鍊�
+ /// </summary>
+ public string Text
+ {
+ get { return txtInput.Text.Trim(); }
+ set { txtInput.Text = value; }
+ }
+ /// <summary>
+ /// 杈撳叆妗嗘帶浠�(鍙栧�兼垨鑰呰幏鍙栧�煎彲浠ヤ娇鐢ㄣ�怲ext銆戝睘鎬�,铏界劧杩欎釜涔熷彲浠ュ彇)
+ /// </summary>
+ public TextInputControl txtInput = null;
+ /// <summary>
+ /// 鏍囬鎺т欢
+ /// </summary>
+ public NormalViewControl btnCaption = null;
+
+ #endregion
+
+ #region 鈻� 鍒濆鍖朹____________________________
+
+ /// <summary>
+ /// 鍋氭垚涓�涓ā鎷烺owLayout,杩涜杈撳叆鐨凢rameLayout鎺т欢(宸﹁竟鏈夋爣棰�)
+ /// </summary>
+ /// <param name="i_caption">鏍囬鏂囨湰</param>
+ /// <param name="i_text">杈撳叆妗嗙殑鍊�</param>
+ /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(銆愬垪琛ㄦ帶浠剁殑rowSpace/2銆戝嵆鍙�,涓嶆噦榛樿涓�0鍗冲彲)</param>
+ public FrameCaptionInputControl(string i_caption, string i_text, int i_ChidrenYaxis = 0) : base(i_ChidrenYaxis)
+ {
+ this.UseClickStatu = false;
+
+ btnCaption = new NormalViewControl(270, 58, true);
+ btnCaption.X = ControlCommonResourse.XXLeft;
+ btnCaption.Gravity = Gravity.CenterVertical;
+ btnCaption.Text = i_caption + "锛�";
+
+ txtInput = new TextInputControl(700, true);
+ txtInput.UseFocusColor = true;
+ txtInput.X = Application.GetRealWidth(294);
+ txtInput.Gravity = Gravity.CenterVertical;
+ txtInput.Text = i_text;
+ }
+
+ /// <summary>
+ /// 鍒濆鍖栨帶浠�
+ /// </summary>
+ /// <param name="caption">鏍囬</param>
+ /// <param name="text">鏂囨湰妗嗙殑鍊�</param>
+ public void InitControl()
+ {
+ this.AddChidren(btnCaption, ChidrenBindMode.NotBind);
+
+ this.AddChidren(txtInput, ChidrenBindMode.NotBind);
+ if (chidrenYaxis != 0)
+ {
+ btnCaption.Y += chidrenYaxis;
+ txtInput.Y += chidrenYaxis;
+ }
+ }
+
+ #endregion
+
+ #region 鈻� 娣诲姞搴曠嚎___________________________
+
+ /// <summary>
+ /// <para>娣诲姞搴曠嚎(濡傛灉宸﹁竟鏈夊浘鏍囷紝鍒欏厛娣诲姞鍥炬爣锛屽啀娣诲姞搴曠嚎)</para>
+ /// <para>瀹冪殑闀垮害涓猴細褰撳墠鎺т欢瀹藉害-宸﹀彸鍥哄畾闂磋窛-宸﹁竟鍥剧墖瀹藉害(濡傛灉鏈�)-鍙宠竟鐨勫亸绉婚噺</para>
+ /// </summary>
+ public override NormalViewControl AddBottomLine()
+ {
+ var btnLine = base.AddBottomLine();
+ //鑱斿姩绾跨殑鐘舵��
+ txtInput.btnLine = btnLine;
+
+ return btnLine;
+ }
+
+ #endregion
+ }
+}
--
Gitblit v1.8.0