| | |
| | | /// </summary>
|
| | | public NormalViewControl btnName = null;
|
| | | /// <summary>
|
| | | /// 图标控件
|
| | | /// </summary>
|
| | | public IconViewControl btnIcon = null;
|
| | | /// <summary>
|
| | | /// 显示IP控件
|
| | | /// </summary>
|
| | | private NormalViewControl btnIp = null;
|
| | |
| | | var tempWay = this.zbGateway;
|
| | |
|
| | | //图标
|
| | | var btnIcon = frameTable.AddLeftIcon(iconSize);
|
| | | this.btnIcon = frameTable.AddLeftIcon(iconSize);
|
| | | if (tempWay != null)
|
| | | {
|
| | | HdlGatewayLogic.Current.SetGatewayIcon(btnIcon, tempWay);
|
| | |
| | | btnIp.TextSize = 12;
|
| | | btnIp.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | frameTable.AddChidren(btnIp, ChidrenBindMode.BindEventOnly);
|
| | |
|
| | | //初始值在线
|
| | | this.IsOnline = true;
|
| | | }
|
| | |
|
| | | #endregion
|