protected EventContextMenuDoorChangeDirection ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected void EventContextMenuDoorChangeDirection(object sender, EventArgs e)
{
Door door = (Door)this.SelectedWall;
door.Direction = (door.Direction == Door.HingeDirection.Left ? Door.HingeDirection.Right : Door.HingeDirection.Left);
this.Invalidate();
}