Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...