• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

Dialog Box?

Experts,

Is there a dialog box type in the .NET framework?

0
NigelRocks
Asked:
NigelRocks
  • 2
  • 2
1 Solution
 
angus_young_acdcCommented:
Can you expand on your question a little?  Do you mean normal messageboxes?  There are several different styles you can have for them
0
 
NigelRocksAuthor Commented:
I'm just looking for all of those options to use in a web app.
0
 
angus_young_acdcCommented:
Well, as there must be hundreds of different variations it would be nearly impossible to list them all.  Here are a couple of C# examples.

MessageBox.Show("Hello");
MessageBox.Show("Hello", "My Box Title");
MessageBox.Show("Hello", "My Box Title", MessageBoxButtons.OK);
MessageBox.Show("Hello", "My Box Title", MessageBoxButtons.OK, MessageBoxIcon.Stop);

if (MessageBox.Show("Please select Yes", "Make a choice", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
{
        MessageBox.Show("You selected yes!");
}
0
 
NigelRocksAuthor Commented:
Those are all for Windows forms, not web forms, correct?

0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now