| | |
| | | {
|
| | | //全部
|
| | | btnFloorName.Text = Language.StringByID(StringId.All);
|
| | | btnFloorName.Width = btnFloorName.GetTextWidth();
|
| | | //btnFloorName.Width = btnFloorName.GetTextWidth();
|
| | | }
|
| | | //房间
|
| | | else if (selectType == 3)
|
| | |
| | | if (roomInfo.uid == this.nowShowSelectId)
|
| | | {
|
| | | btnFloorName.Text = roomInfo.floorName + roomInfo.roomName;
|
| | | btnFloorName.Width = btnFloorName.GetTextWidth();
|
| | | //btnFloorName.Width = btnFloorName.GetTextWidth();
|
| | | return;
|
| | | }
|
| | | }
|
| | |
| | | if (floorInfo.uid == this.nowShowSelectId)
|
| | | {
|
| | | btnFloorName.Text = floorInfo.roomName;
|
| | | btnFloorName.Width = btnFloorName.GetTextWidth();
|
| | | //btnFloorName.Width = btnFloorName.GetTextWidth();
|
| | | }
|
| | | }
|
| | | }
|