Hi,
I am using buttons in c# which I did shortcut keys from the keyboard. Now in the function of the keyboard shortcuts, I want the program to go the the actual button function.
For instance I have a button called "Button_Bit_upDOWN" and this is it's function:
Q on the keyboard is its shortcut and this is it's function:
Now I included "Button_Bit_upDOWN_Click();" to the shortcut function so that when Q is pressed from the keyboard, the same function is Button_Bit_upDOWN_Click is done.
Why is it not working please?
Any kind of help is appreciated and sorry for my poor English.
I am using buttons in c# which I did shortcut keys from the keyboard. Now in the function of the keyboard shortcuts, I want the program to go the the actual button function.
For instance I have a button called "Button_Bit_upDOWN" and this is it's function:
Rich (BB code):
private void Button_Bit_upDOWN_Click(object sender, EventArgs e)
{
}
Rich (BB code):
private void Form_Home_KeyDown(object sender, KeyEventArgs e)
{
if(e.KeyCode == Keys.Q)
{
}
Why is it not working please?
Any kind of help is appreciated and sorry for my poor English.