| | |
| | |
|
| | | //初始化中部信息
|
| | | this.InitMiddleFrame();
|
| | |
|
| | | if (UserCenterResourse.HideOption.StartDebugApp == 1)
|
| | | {
|
| | | //开启调试时,不允许关闭这个界面
|
| | | this.BackButtonClickEvent += (sender) =>
|
| | | {
|
| | | return;
|
| | | };
|
| | | }
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | |
| | |
|
| | | this.AddNormalRowControl("当前身份", 400, UserCenterResourse.UserInfo.AuthorityText, 400);
|
| | |
|
| | | this.AddTopButtomRowControl("住宅ID", 400, Common.Config.Instance.Home.Id, 900);
|
| | | //this.AddTopButtomRowControl("住宅ID", 400, Common.Config.Instance.Home.Id, 900);
|
| | |
|
| | | this.AddTopButtomRowControl("账号GUID", 400, string.IsNullOrEmpty(Common.Config.Instance.Guid) == true ? Common.Config.Instance.Home.MainUserDistributedMark : Common.Config.Instance.Guid, 900);
|
| | | //this.AddTopButtomRowControl("账号GUID", 400, string.IsNullOrEmpty(Common.Config.Instance.Guid) == true ? Common.Config.Instance.Home.MainUserDistributedMark : Common.Config.Instance.Guid, 900);
|
| | |
|
| | | this.AddNormalRowControl("住宅分享", 400, Common.Config.Instance.Home.IsOthreShare == true ? "是" : "否", 400);
|
| | |
|
| | |
| | | btnTemp.TextAlignment = TextAlignment.Center;
|
| | | rowTemp.AddChidren(btnTemp);
|
| | |
|
| | | //开启调试功能
|
| | | if (UserCenterResourse.HideOption.StartDebugApp == 1)
|
| | | {
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("成员列表", 500);
|
| | | row1.AddRightArrow();
|
| | | row1.AddBottomLine();
|
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new Member.MemberListForm();
|
| | | form.AddForm();
|
| | | };
|
| | |
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("备份列表", 500);
|
| | | row1.AddRightArrow();
|
| | | row1.AddBottomLine();
|
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new HdlBackup.HdlBackupListForm();
|
| | | form.AddForm();
|
| | | };
|
| | | }
|
| | |
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | row1.UseClickStatu = false;
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("记录定位", 500);
|
| | | row1.AddBottomLine();
|
| | | var btnGbsSwitch = row1.AddMostRightSwitchIcon();
|
| | | btnGbsSwitch.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (btnGbsSwitch.IsSelected == true)
|
| | | {
|
| | | btnGbsSwitch.IsSelected = false;
|
| | | UserCenterResourse.HideOption.WriteGpsPoint = 0;
|
| | | return;
|
| | | }
|
| | | this.ShowDialogInputForm("????", string.Empty, "请输入识别码", (contr, value) =>
|
| | | {
|
| | | if (value == "542397")
|
| | | {
|
| | | UserCenterResourse.HideOption.WriteGpsPoint = 1;
|
| | | btnGbsSwitch.IsSelected = true;
|
| | | }
|
| | | contr.CloseDialog();
|
| | | });
|
| | | };
|
| | |
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("使用旧的设备获取方式", 600);
|
| | | row1.AddBottomLine();
|
| | | var btnSwitchDeviceMethord = row1.AddMostRightSwitchIcon();
|
| | | btnSwitchDeviceMethord.IsSelected = UserCenterResourse.HideOption.UseOldSearchDeviceMethord == 1;
|
| | | btnSwitchDeviceMethord.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | btnSwitchDeviceMethord.IsSelected = !btnSwitchDeviceMethord.IsSelected;
|
| | | UserCenterResourse.HideOption.UseOldSearchDeviceMethord = btnSwitchDeviceMethord.IsSelected == true ? 1 : 0;
|
| | | };
|
| | |
|
| | | row1 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row1);
|
| | | row1.AddLeftCaption("重置导入标识", 500);
|