protected void EventContextMenuDoorToWall(object sender, EventArgs e)
{
Door oldDoor = (Door)this.SelectedWall;
Wall newWall = new Wall(oldDoor.GetID(), oldDoor.Left, oldDoor.Right);
newWall.IsLoaded = oldDoor.IsLoaded;
newWall.IsChanged = true;
this.ActiveBlueprint.DeleteWall(oldDoor);
oldDoor.Left.GetWalls().Add(newWall);
oldDoor.Right.GetWalls().Add(newWall);
this.SelectedWall = newWall;
this.Invalidate();
}