From 18a7f9f40e5fab3bee5d4ac3d8fd0273dea052d6 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期日, 26 四月 2020 12:05:28 +0800
Subject: [PATCH] 先上传一个非最新的版本
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/DateSelectControl.cs | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/DateSelectControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/DateSelectControl.cs
index f05c584..97a1833 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/DateSelectControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/DateSelectControl.cs
@@ -83,8 +83,13 @@
this.dateFomat = i_dateFomat;
this.titleText = i_titleText;
+ //鐢ㄦ潵璁$畻闀垮害鐨�
+ string dateTextTemp = DateTime.Now.ToString(i_dateFomat);
this.TextSize = 12;
- this.InitSize(210, 49, true);
+ this.Text = dateTextTemp;
+
+ this.InitSize(this.GetRealWidthByText(), Application.GetRealHeight(50), false);
+ this.Text = string.Empty;
//寮硅捣鏃ユ湡閫夋嫨
this.ButtonClickEvent += (sender, e) =>
--
Gitblit v1.8.0