Protected Shared Function BoolFromTri(tri As DataGridViewTriState) As Boolean
Return If((tri = DataGridViewTriState.[True]), True, False)
End Function
Private Shared Function TriBool(value As Boolean) As DataGridViewTriState
Return If(value, DataGridViewTriState.[True], DataGridViewTriState.[False])
End Function