| | |
| | | btnRoomName.Width = btnRoomName.GetRealWidthByText();
|
| | | FrameWhiteCentet1.AddChidren(btnRoomName);
|
| | | //成员没有收藏功能
|
| | | if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == false && ShowColltionButton)
|
| | | //if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare == false && ShowColltionButton)
|
| | | {
|
| | | var btnCollection = new IconViewControl(40);
|
| | | btnCollection.X = Application.GetRealWidth(273);
|
| | |
| | | private void AddTopSettingIcon(Button btnHigherDeviceName, Button btnHigherRoom)
|
| | | {
|
| | | //如果是成员没有功能
|
| | | if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == true)
|
| | | {
|
| | | return;
|
| | | }
|
| | | //if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare == true)
|
| | | //{
|
| | | // return;
|
| | | //}
|
| | | //设置图标
|
| | | var btnSetting = new PicViewControl(28, 28);
|
| | | btnSetting.X = Application.GetRealWidth(337);
|