You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Sorry for the slow reply. I'm out of town and logging in is tricky.
The only thing that springs to mind is that the event handler may not be hooked up to the button. On Solution Explorer, click the events button and make sure your button's click event is hooked up.
Rod, thank you for your reply and help! Finally, I've found my error. I changed Calculate's dialog result to cancel by mistake. That's why my form was closed and nothing happened.
Regards, Ilya.