Modal in C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JPSutor

    #1

    Modal in C#

    Is there an intrinsic method in C# that is equivelant to "Modal" in VB?

  • Matt

    #2
    Re: Modal in C#


    JPSutor wrote:[color=blue]
    > Is there an intrinsic method in C# that is equivelant to "Modal" in VB?[/color]

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

    Matt

    Comment

    • JPSutor

      #3
      Re: Modal in C#

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

      Comment

      • Matt

        #4
        Re: Modal in C#


        JPSutor wrote:[color=blue]
        > Matt this is for a form launching Excel and wanting to have the main
        > form remain in front.[/color]

        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

        Comment

        Working...