how do i make the programme wait untill a particular event happens......
i read it on the msdn....that by inserting "App.WaitForEvents" where i wanted to make my programme wait for the event i could do it.....
but when i tried putting this line in the programme the compiler didnt recognize the WaitForEvents method.....
can anybody help me out with any other alternative???