| | |
| | | btnNext.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //如果不是热点模式
|
| | | if (HdlWifiLogic.Current.IsGatewayHotspot == false)
|
| | | {
|
| | | //选择hdlZigbeeGW-xxxx网络
|
| | | this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uPleaseSelectGatewayXXNet));
|
| | | return;
|
| | | }
|
| | | //if (HdlWifiLogic.Current.IsGatewayHotspot == false)
|
| | | //{
|
| | | // //选择hdlZigbeeGW-xxxx网络
|
| | | // this.ShowMassage(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uPleaseSelectGatewayXXNet));
|
| | | // return;
|
| | | //}
|
| | | var errorMsg = HdlWifiLogic.Current.StartApTcpConnection();
|
| | | if (errorMsg != null)
|
| | | {
|
| | |
| | | this.AddFromAndRemoveNowForm(form);
|
| | | };
|
| | | //如果不是网关热点
|
| | | if (HdlWifiLogic.Current.IsGatewayHotspot == false)
|
| | | {
|
| | | btnNext.Visible = false;
|
| | | }
|
| | | //if (HdlWifiLogic.Current.IsGatewayHotspot == false)
|
| | | //{
|
| | | // btnNext.Visible = false;
|
| | | //}
|
| | |
|
| | | //图片
|
| | | var framePic = new FrameLayout();
|