void removeViewportButton_Click(object sender, EventArgs e)
{
if (this.gcMultiRow1.GetVerticalViewportCount() > 1)
{
this.gcMultiRow1.RemoveSplit(0, Orientation.Horizontal);
}
else
{
MessageBox.Show("There is no horizontal split line.");
}
}
Private Sub removeViewportButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles removeViewportButton.Click
If Me.gcMultiRow1.GetVerticalViewportCount() > 1 Then
Me.gcMultiRow1.RemoveSplit(0, Orientation.Horizontal)
Else
MessageBox.Show("There is no horizontal split line.")
End If
End Sub