[RESOLVED] Windows form accepts F5?

I developed a windows form and wanted it accept F5 to refresh data. I set KeyPreview property to true and added KeyPress event handler function, but only number and letter keys except functions keys are accepted.

How to do?

Thanks.

Oh, I handled the wrong event. It should be KeyUp event.
[315 byte] By [jasonli] at [2007-11-20 11:44:59]