C#-FORM: MessageBox-like behavior.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zimdanen
    New Member
    • Feb 2008
    • 6

    C#-FORM: MessageBox-like behavior.

    This is a variant on what I posted earlier, but I think this is the most likely way to solve the problem, so here's my question (you can delete the old one):

    When a MessageBox pops up, it disallows the user to do anything until the MessageBox is closed. How is that done? I want to be able to recreate that functionality with a custom Form (that can be put into an MDI container).
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    open the form as a modal window.....
    the code will be
    Form1.ShowDialo g() rather than Form1.Show()

    Comment

    Working...