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;
}