srinath

srinath

  • NA
  • 144
  • 0

program.cs

Sep 10 2009 3:54 AM

Hi,
I am doing an application where Usercontrol is referenced to a windows application. I created delegates and events for respective delegates and I also gave button keydown and keypress events in usercontrol.  While execution, program.cs file is executed i.e upto
Application
.Run(new Form1());
where form is dipalyed as output but after this statement, When I click on button there is no response. while debugging I came to know that the flow is not entering the keypress event method after this statement. I can't understand the problem. This is done in c# windows application in .net 2.0.
Please help me.......

Answers (7)