| | |
| | | }.Show(bodyView); |
| | | return; |
| | | } |
| | | foreach (var tempRoom in DB_ResidenceData.residenceData.Rooms) |
| | | foreach (var tempRoom in SpatialInfo.CurrentSpatial.RoomList) |
| | | { |
| | | if (room.roomName == tempRoom.roomName) |
| | | { |
| | |
| | | EventHandler<MouseEventArgs> eventHandler = (sender, e) => |
| | | { |
| | | List<string> roomNameList = new List<string>(); |
| | | foreach (var rroom in DB_ResidenceData.residenceData.Rooms) |
| | | foreach (var rroom in SpatialInfo.CurrentSpatial.RoomList) |
| | | { |
| | | roomNameList.Add(rroom.roomName); |
| | | } |
| | |
| | | System.IO.File.Delete(imageView.ImagePath); |
| | | } |
| | | //重命名保存 |
| | | Common.FileUtlis.Files.WriteFileByBytes(imageUrl, imageBytes); |
| | | ImageUtlis.Current.WriteFileByBytes(imageUrl, imageBytes); |
| | | imageView.ImagePath = null; |
| | | imageView.ImageBytes = imageBytes; |
| | | //上传成功 |