Click here to Skip to main content
15,885,244 members
Articles / Programming Languages / C#

messageBox with Timeout

Rate me:
Please Sign up or sign in to vote.
4.14/5 (6 votes)
12 Jul 2010CPOL1 min read 94.7K   5.3K   32  
This article describes a simple extended message box which can be timed out
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace DemoMsgBoxExt
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Demo());
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Other Radboud University Nijmegen
Netherlands Netherlands
I completed my master in electrical engineering at the University of Twente in the Netherlands in 2007. My special interest is software/hardware application which can be used for health purposes.

Currently, I am PhD-student at the Radboud University in Nijmegen, The Netherlands. I am involved in a project in which an monitoring and feedback application is developed for daily-life usage.

My personal interests: bicycling, salsa dancing and gardening

Comments and Discussions