Launching an application from a method

B

bungle

Is it possible to launch an application by calling a method rather than
specifying the name of a form using Application.Run(new form());????

C# .NET 2.0 Winforms

Thanks
 
B

bungle

Thanks but that launches a different application. I want to call a
method/function within my own application??
 
V

Vadym Stetsyak

Hello, (e-mail address removed)!

if you mean - show another form from within your application,
then you can do this in the following way

AnotherForm form = new AnotherForm();
form.Show();

b> Thanks but that launches a different application. I want to call a
b> method/function within my own application??


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top