From fe3b2466c68b5db70d38e78039703add3b8b1dfe Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 31 十二月 2020 19:29:43 +0800 Subject: [PATCH] 合并了代码 --- ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayUploadAndDownLoadForm.cs | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayUploadAndDownLoadForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayUploadAndDownLoadForm.cs index 4a3bdfb..a33c6f0 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayUploadAndDownLoadForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayUploadAndDownLoadForm.cs @@ -91,17 +91,21 @@ this.ShowMassage(ShowMsgType.Error, msg); return; } - //鐢熸垚涓�涓脊绐楃敾闈� - this.ShowDialogInputForm(Language.StringByID(R.MyInternationalizationString.uUploadData), - Language.StringByID(R.MyInternationalizationString.uPleaseInpuBackupName), null, (contr, textValue) => + var dialogForm = new DialogInputControl(); + //涓婁紶鏁版嵁 + dialogForm.SetTitleText(Language.StringByID(R.MyInternationalizationString.uUploadData)); + //璇疯緭鍏ュ浠藉悕绉� + dialogForm.SetTipText(Language.StringByID(R.MyInternationalizationString.uPleaseInpuBackupName)); + //鎸変笅纭鎸夐挳 + dialogForm.ComfirmClickEvent += ((textValue) => { //鐢婚潰鍏抽棴 - contr.CloseDialog(); + dialogForm.CloseDialog(); HdlThreadLogic.Current.RunThread(() => { //涓婁紶澶囦唤 - HdlGatewayBackupLogic.Current.DoBackupGateway(this.realGateway.GwId, textValue); + HdlGatewayBackupLogic.Current.DoBackupGateway(this.realGateway, textValue); }); }); }; -- Gitblit v1.8.0