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