void ReleaseDesignerOutlets() { if (MoveUp != null) { MoveUp.Dispose(); MoveUp = null; } if (MoveLeft != null) { MoveLeft.Dispose(); MoveLeft = null; } if (MoveRight != null) { MoveRight.Dispose(); MoveRight = null; } if (MoveDown != null) { MoveDown.Dispose(); MoveDown = null; } if (ZoomLevel != null) { ZoomLevel.Dispose(); ZoomLevel = null; } }