Solved with warning?

Posted on 2006-04-21
Last Modified: 2010-04-15
i do if I want to show a message but is there a specific one for a warning?
Or do I just put "Warning! Etc Etc") as the parameter?
Question by:paulwhelan
    1 Comment
    LVL 4

    Accepted Solution

    yes, you always use MessageBox.Show();, but you can add extra parameters
    MessageBox.Show("Message Text", "Title" Buttons, Style)

    e.g. i think this is what you are trying to do

    MessageBox.Show("Something has happened", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
    Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now