rfazendeiro
Centurion
- Joined
- Mar 8, 2004
- Messages
- 110
hi to all,
I'm makin an application that when the user presses the F3 key a form will popup.
I have a main form that is a Mdi_parent but when i key press it does nothing...dont understand why. Here is the code i have
[csharp]
private void fmrMain_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
if (e.KeyCode == Keys.F3)
{
fmrPopUP pop = new fmrPopUP ();
pop .MdiParent = this.MdiParent;
pop .Show();
}
}
[/csharp]
any ideias?
I'm makin an application that when the user presses the F3 key a form will popup.
I have a main form that is a Mdi_parent but when i key press it does nothing...dont understand why. Here is the code i have
[csharp]
private void fmrMain_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
if (e.KeyCode == Keys.F3)
{
fmrPopUP pop = new fmrPopUP ();
pop .MdiParent = this.MdiParent;
pop .Show();
}
}
[/csharp]
any ideias?