You will have to let the program decide if/when this method should be called. You can not directly raise the buttons click event handler,
AFAIK, from a console window. If you question is asking how do you call a buttons click event handler within code without the event being raised you could do something like this:
btn_sumbit_click(this, null);
hth.
-Doug
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========