MainForm.SwapOrientationButton_Click C# (CSharp) 메소드

SwapOrientationButton_Click() 공개 메소드

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