public static bool ShowQuestion(string message, int autoCloseSeconds) { FormMessage formMessage = new FormMessage(message, true, autoCloseSeconds, null); return formMessage.ShowDialog() == DialogResult.Yes; }
public static bool ShowQuestion(string message) { FormMessage formMessage = new FormMessage(message, true, 0, null); return formMessage.ShowDialog() == DialogResult.Yes; }
public static void ShowMessage(string message) { FormMessage formMessage = new FormMessage(message, false, 0, null); formMessage.ShowDialog(); }
public static void ShowMessage(string message, FormClosedEventHandler closeHandler) { FormMessage formMessage = new FormMessage(message, false, 0, closeHandler); formMessage.ShowDialog(); }
public static bool ShowQuestion(string message) { bool flag = FormMessage.ShowQuestion(message); return(flag); }
public static bool ShowQuestion(string message, int autoCloseSeconds) { bool flag = FormMessage.ShowQuestion(message, autoCloseSeconds); return(flag); }
public static void ShowError(string message) { FormMessage.ShowMessage(message); }
public static bool ShowQuestion(string message) { FormMessage formMessage = new FormMessage(message, true, 0, null); return(formMessage.ShowDialog() == DialogResult.Yes); }
public static bool ShowQuestion(string message, int autoCloseSeconds) { FormMessage formMessage = new FormMessage(message, true, autoCloseSeconds, null); return(formMessage.ShowDialog() == DialogResult.Yes); }