Modal in C#

  • Thread starter Thread starter JPSutor
  • Start date Start date
JPSutor said:
Is there an intrinsic method in C# that is equivelant to "Modal" in VB?

It's called "ShowDialog" for Forms, I suspect that is what you are
looking
for.

Matt
 
Matt this is for a form launching Excel and wanting to have the main
form remain in front.
 
JPSutor said:
Matt this is for a form launching Excel and wanting to have the main
form remain in front.

Hm. Not sure what you are trying to accomplish here, but I suspect
if you set the Topmost property of your form that launches Excel, you
will get what you want.

matt
 

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

Back
Top