From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 01 十二月 2022 09:56:25 +0800 Subject: [PATCH] 2022年12月01日09:56:23 --- 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