using System.Windows.Forms;
namespace UILogUtils
{
public sealed class AlertUtils
{
/// <summary>
/// Interval in milisecond to keep alert window open
/// </summary>
public const int AlertInterval = 5000;
///<summary>
/// Delagte for handling UI updation when call comes from seperate threads
///</summary>
///<param name="frmAlert"></param>
public delegate void CallbackAlert( Alert frmAlert );
/// <summary>
/// Show alert window for perticular time period.
/// Reference purpose only
/// </summary>
/// <param name="logText">The text to display.</param>
/// <param name="interval">Miliseconds to keep window opened on screen.</param>
public static void OpenAlert( object logText, int interval )
{ ...
Go to the complete details ...