| | |
| | | //单击事件
|
| | | gatewayRow.frameTable.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (UserCenterResourse.HideOption.GotoGatewayProductInfoForm == 1)
|
| | | {
|
| | | //强制跳转
|
| | | var form2 = new GatewayProductInfoForm();
|
| | | form2.AddForm(gateway);
|
| | | return;
|
| | | }
|
| | | var form = new GatewayInfoEditorForm();
|
| | | form.AddForm(gateway);
|
| | | };
|
| | |
| | | };
|
| | |
|
| | | //定位
|
| | | var btnPosition = new NormalViewControl(Application.GetRealWidth(184), gatewayRow.Height, false);
|
| | | btnPosition.BackgroundColor = 0xff4a4a4a;
|
| | | btnPosition.TextAlignment = TextAlignment.Center;
|
| | | btnPosition.TextColor = UserCenterColor.Current.White;
|
| | | btnPosition.TextSize = 12;
|
| | | var btnPosition = gatewayRow.AddEditorControl(false);
|
| | | btnPosition.TextID = R.MyInternationalizationString.uFixedPosition;
|
| | | gatewayRow.AddRightView(btnPosition);
|
| | | btnPosition.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //发送定位命令
|