| | |
| | | if (listSort.Count == 8)
|
| | | {
|
| | | //八按键面板
|
| | | btnPic.UnSelectedImagePath = "Device/PanelFangyueEightButtonTable.png";
|
| | | btnPic.UnSelectedImagePath = "DeviceItem/PanelFangyueEightButtonTable.png";
|
| | | this.InitEightButtonPanelIcon(frameBorder, listSort);
|
| | | }
|
| | | else if (listSort.Count == 4)
|
| | | {
|
| | | //四按键面板
|
| | | btnPic.UnSelectedImagePath = "Device/PanelFangyueFourButtonTable.png";
|
| | | btnPic.UnSelectedImagePath = "DeviceItem/PanelFangyueFourButtonTable.png";
|
| | | this.InitFourButtonPanelIcon(frameBorder, listSort);
|
| | | }
|
| | | else
|
| | | {
|
| | | //二按键面板
|
| | | btnPic.UnSelectedImagePath = "Device/PanelFangyueTwoButtonTable.png";
|
| | | btnPic.UnSelectedImagePath = "DeviceItem/PanelFangyueTwoButtonTable.png";
|
| | | this.InitTwoButtonPanelIcon(frameBorder, listSort);
|
| | | }
|
| | | }
|