Files
Desktop_NoCarPowerSupply/testmode.vb
2025-12-11 11:57:07 +08:00

28 lines
644 B
VB.net
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Public Class testmode
End Class
Public Class CtabRange
Public devname As String = String.Empty
Public fr As Integer = 0
Public lr As Integer = 0
Public fc As Integer = 0
Public lc As Integer = 0
Sub New(grd As FlexCell.Grid tabr As Integer, tabc As Integer)
If grd.Rows > tabr AndAlso grd.Cols > tabc Then
With grd.Range(tabr, tabc, tabr, tabc)
devname = grd.Cell(.FirstRow, .FirstCol).Text
fc = .FirstCol
lc = .LastCol
fr = .FirstRow
lr = .LastRow
End With
End If
End Sub
End Class