void getViewportInfoButton_Click(object sender, EventArgs e)
{
string viewportInfo = "Vertical viewport count: " + this.gcMultiRow1.GetVerticalViewportCount();
viewportInfo += "\r\n";
viewportInfo += "Horizontal viewport count: " + this.gcMultiRow1.GetHorizontalViewportCount();
MessageBox.Show(viewportInfo);
}
Private Sub getViewportInfoButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles getViewportInfoButton.Click
Dim viewportInfo As String = "Vertical viewport count: " + Me.gcMultiRow1.GetVerticalViewportCount().ToString()
viewportInfo += vbCr & vbLf
viewportInfo += "Horizontal viewport count: " + Me.gcMultiRow1.GetHorizontalViewportCount().ToString()
MessageBox.Show(viewportInfo)
End Sub