| | |
| | | this.ShowMassage(ShowMsgType.Error, msg);
|
| | | return;
|
| | | }
|
| | |
|
| | | //生成一个弹窗画面
|
| | | var dialogForm = new DialogInputControl();
|
| | | //上传数据
|
| | | dialogForm.SetTitleText(Language.StringByID(R.MyInternationalizationString.uUploadData));
|
| | | //请输入备份名称
|
| | | dialogForm.SetTipText(Language.StringByID(R.MyInternationalizationString.uPleaseInpuBackupName));
|
| | | //按下确认按钮
|
| | | dialogForm.ComfirmClickEvent += ((textValue) =>
|
| | | this.ShowDialogInputForm(Language.StringByID(R.MyInternationalizationString.uUploadData),
|
| | | Language.StringByID(R.MyInternationalizationString.uPleaseInpuBackupName), null, (contr, textValue) =>
|
| | | {
|
| | | //画面关闭
|
| | | dialogForm.CloseDialog();
|
| | | contr.CloseDialog();
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | //上传备份
|
| | | HdlGatewayBackupLogic.Current.DoBackupGateway(this.realGateway, textValue);
|
| | | HdlGatewayBackupLogic.Current.DoBackupGateway(this.realGateway.GwId, textValue);
|
| | | });
|
| | | });
|
| | | };
|