How to code while pressing the Ctrl+Tab Key in Windows Form?
Thanks,
Thanks,
You need to add a event handler for the KeyDown Event. In the InitializeComponent, add the EventHandler as follows: this
Inside the EventHandler you can check for the KeyCombination as follows: R
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (Keys.Tab == e.KeyCode && e.Control)
{
MessageBox.Show("CTRL + TAB Key Pressed");
}
}
Vikram