| | |
| | | var btnNext = this.AddBottomClickButton(Language.StringByID(StringId.Next)); |
| | | btnNext.ButtonClickEvent += (sender, e) => |
| | | { |
| | | #if __IOS__ |
| | | #endif |
| | | #if __Android__ |
| | | //检测蓝牙需要的东西 |
| | | HdlAndroidBluetoothLogic.Current.CheckCanScanBluetooth((result) => |
| | | btnNext.CanClick = false; |
| | | HdlBluetoothLogic.Current.CheckCanScanBluetooth((result) => |
| | | { |
| | | btnNext.CanClick = true; |
| | | if (result == true) |
| | | { |
| | | this.CloseForm(); |
| | | var form = new AddMiniRemoteControlDirection2Page(); |
| | | //wifi和密码都为空 |
| | | form.AddForm(); |
| | | //初始wifi和密码为空 |
| | | form.AddForm(string.Empty, string.Empty); |
| | | } |
| | | }); |
| | | #endif |
| | | }; |
| | | } |
| | | |