WJC
2019-10-24 1f4cec0e3b571e7541f0c7f3a5ea302ed586d9fb
ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
@@ -152,7 +152,7 @@
            };
            this.midFrameLayout.AddChidren(bottomFrameLayout);
            Button btnChooseKeyMode = new Button()
            var btnChooseKeyMode = new Button()
            {
                Width = Application.GetRealWidth(907),
                Gravity = Gravity.CenterHorizontal,
@@ -184,6 +184,8 @@
            btnChooseKeyMode.MouseUpEventHandler += (sender, e) =>
            {
                this.RemoveFromParent();
                var chooseKeyModePage = new Shared.Phone.UserCenter.DeviceBind.ChooseKeyModePage(currentKey, curDeviceBindType, targetList);
                Shared.Phone.UserView.HomePage.Instance.AddChidren(chooseKeyModePage);
                Shared.Phone.UserView.HomePage.Instance.PageIndex += 1;
@@ -198,8 +200,6 @@
                    };
                    chooseKeyModePage.action += action;
                }
                this.RemoveFromParent();
            };
            #endregion
        }