BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = (GridControl1.Selections.Count).ToString()
If (GridControl1.Selections.Count = 1) Then
Dim range As GridRangeInfo = New GridRangeInfo
range = GridRangeInfo.Cell(Me.GridControl1.CurrentCell.RowIndex, Me.GridControl1.CurrentCell.ColIndex)
If (Me.GridControl1.Selections.Ranges.ActiveRange.Equals(range)) Then
TextBox1.Text = (GridControl1.Selections.Count - 1).ToString()
End If
End If
End Sub
Attached is the sample.
Thanks.
Jay N
selections.count_2975.zip