블로그 이미지
생각처럼

카테고리

전체보기 (209)
TOOL (1)
다이어리 (1)
Bit (200)
HELP? (0)
Total
Today
Yesterday

달력

« » 2025.8
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

공지사항

태그목록

최근에 올라온 글

    Private Sub DataGridView1_CellMouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles DataGridView1.CellMouseClick
        Dim cell As DataGridViewCell
        Try
            If e.Button = Windows.Forms.MouseButtons.Right Then
                If e.ColumnIndex >= 0 And e.RowIndex >= 0 Then
                    cell = DataGridView1.Item(e.ColumnIndex, e.RowIndex)
                    DataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect
                    cell.Selected = True
                    ContextMenuStrip1.Show(Control.MousePosition.X, Control.MousePosition.Y)
                End If
            Else
                DataGridView1.SelectionMode = DataGridViewSelectionMode.CellSelect

            End If
        Catch ex As Exception

        End Try
    End Sub

Posted by 생각처럼
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함