黄学彪
2020-10-12 dc6493db59dcb0893eac50b72122f94c24056b3f
ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionMainForm.cs
@@ -300,6 +300,18 @@
            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);
            row1.AddRightArrow();
            row1.AddBottomLine();