MainForm.SwapOrientationButton_Click C# (CSharp) Method

SwapOrientationButton_Click() public method

public SwapOrientationButton_Click ( object sender, EventArgs ea ) : void
sender object
ea EventArgs
return void
	void SwapOrientationButton_Click (object sender, EventArgs ea)
	{
		Orientation o = _splitContainer.Orientation;
		o = o == Orientation.Horizontal ? Orientation.Vertical : Orientation.Horizontal;
		_splitContainer.Orientation = o;
	}
MainForm