| | |
| | | }; |
| | | settingContentFL.AddChidren(settingLine); |
| | | |
| | | confirm = new Device.CommonForm.CompleteButton() { }; |
| | | confirm = new Device.CommonForm.CompleteButton(1700, 700, 90); |
| | | confirm.SetTitle(R.MyInternationalizationString.Confrim); |
| | | this.AddChidren(confirm); |
| | | #endregion |
| | | |
| | |
| | | if (room.BackgroundImageType == 1 || room.BackgroundImageType == 2) |
| | | { |
| | | OldBackgroundImagePath = room.BackgroundImage; |
| | | System.IO.File.Delete(OldBackgroundImagePath); |
| | | } |
| | | backGround.UnSelectedImagePath = $"RoomPicture{tradeTime}.png"; |
| | | //room.BackgroundImage = $"{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}"; |
| | |
| | | if (room.BackgroundImageType == 1 || room.BackgroundImageType == 2) |
| | | { |
| | | OldBackgroundImagePath = room.BackgroundImage; |
| | | System.IO.File.Delete(OldBackgroundImagePath); |
| | | } |
| | | backGround.UnSelectedImagePath = $"RoomPicture{tradeTime}.png"; |
| | | //room.BackgroundImage = $"{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}"; |
| | |
| | | if (IconType == 1 || IconType == 2) |
| | | { |
| | | room.MoveBackGroundIamageFileToDirectory(backGround.UnSelectedImagePath, backGround.UnSelectedImagePath); |
| | | room.BackgroundImage = $"{Config.Instance.FullPath}/{backGround.UnSelectedImagePath}"; |
| | | room.BackgroundImage = $"{Config.Instance.Guid}/{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}"; |
| | | } |
| | | else |
| | | { |
| | |
| | | if (IconType == 1 || IconType == 2) |
| | | { |
| | | room.MoveBackGroundIamageFileToDirectory(backGround.UnSelectedImagePath, backGround.UnSelectedImagePath); |
| | | room.BackgroundImage = $"{Config.Instance.FullPath}/{backGround.UnSelectedImagePath}"; |
| | | room.BackgroundImage = $"{Config.Instance.Guid}/{Config.Instance.HomeId}/{backGround.UnSelectedImagePath}"; |
| | | } |
| | | else |
| | | { |