I'd like to make datagridview docked bottom. But when I press the key, nothing happens. Here's my code:
Private Sub MakbuzTDataGridView_KeyDown(sender As Object, e As KeyEventArgs)
If e.KeyCode = Keys.F9 Then
MakbuzTDataGridView.Dock = DockStyle.Bottom
Me.Validate()
Me.MakbuzTBindingSource.EndEdit()
End If
End Sub
I'm using Visual Studio 2012