| | |
| | | this.rightIconSize = Application.GetMinRealAverage(i_width);
|
| | | if (chidrenYaxis != 0)
|
| | | {
|
| | | btnContr.Y += chidrenYaxis;
|
| | | btnContr.btnIcon.Y += chidrenYaxis;
|
| | | }
|
| | |
|
| | | return btnContr;
|
| | |
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 添加右边的开关图标_________________
|
| | |
|
| | | /// <summary>
|
| | | /// 添加右边的开关图标
|
| | | /// </summary>
|
| | | /// <returns></returns>
|
| | | public MostRightIconControl AddMostRightSwitchIcon()
|
| | | {
|
| | | var btnSwitch = this.AddMostRightEmptyIcon(104, 63);
|
| | | this.ChangedChidrenBindMode(btnSwitch, ChidrenBindMode.NotBind);
|
| | | btnSwitch.UnSelectedImagePath = "Item/Switch2.png";
|
| | | btnSwitch.SelectedImagePath = "Item/Switch2Selected.png";
|
| | |
|
| | | return btnSwitch;
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 添加最右的显示文本_________________
|
| | |
|
| | | /// <summary>
|