vb System.Windows.Forms.DataGridViewCellStateChangedEventArgs.StateChanged类(方法)实例源码

下面列出了vb System.Windows.Forms.DataGridViewCellStateChangedEventArgs.StateChanged 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Windows.Form   
Private Sub dataGridView1_CellStateChanged(ByVal sender As Object, _
    ByVal e As DataGridViewCellStateChangedEventArgs) _
    Handles dataGridView1.CellStateChanged

    Dim state As DataGridViewElementStates = e.StateChanged
    Dim msg As String = String.Format( _
        "Row {0}, Column {1}, {2}", _
        e.Cell.RowIndex, e.Cell.ColumnIndex, e.StateChanged)
    MessageBox.Show(msg, "Cell State Changed")

End Sub


问题


面经


文章

微信
公众号

扫码关注公众号