| | |
| | | //底线
|
| | | frameRow.frameTable.AddBottomLine();
|
| | | }
|
| | | frameRow.frameTable.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new GatewayProductInfoForm();
|
| | | form.AddForm(gateway);
|
| | | };
|
| | |
|
| | | if (dicZbGatewayDiv[gwid] == 2)
|
| | | {
|
| | | //换绑
|
| | | var btnBind = new NormalViewControl(Application.GetRealWidth(184), frameRow.Height, false);
|
| | | btnBind.BackgroundColor = 0xfffb744a;
|
| | | btnBind.TextAlignment = TextAlignment.Center;
|
| | | btnBind.TextColor = UserCenterColor.Current.White;
|
| | | btnBind.TextSize = 12;
|
| | | btnBind.TextID = R.MyInternationalizationString.uReBindAgain;
|
| | | frameRow.AddRightView(btnBind);
|
| | | btnBind.ButtonClickEvent += (sender, e) =>
|
| | | //需重新绑定
|
| | | frameRow.frameTable.AddMostRightView(Language.StringByID(R.MyInternationalizationString.uNeedToRebind), 300);
|
| | | }
|
| | |
|
| | | frameRow.frameTable.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | if (dicZbGatewayDiv[gwid] == 2)
|
| | | {
|
| | | //确认绑定旧网关?
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uRebindGatewayMsg);
|
| | |
| | | var form = new GatewayRebindForm();
|
| | | form.AddForm(gateway, dicZbGatewayDiv);
|
| | | });
|
| | | };
|
| | | }
|
| | | else
|
| | | {
|
| | | var form = new GatewayProductInfoForm();
|
| | | form.AddForm(gateway);
|
| | | }
|
| | | };
|
| | |
|
| | | //定位
|
| | | var btnPosition = frameRow.AddEditorControl(false);
|
| | | btnPosition.TextID = R.MyInternationalizationString.uFixedPosition;
|