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, FormClosedEventHandler closeHandler) { FormMessage formMessage = new FormMessage(message, false, 0, closeHandler); formMessage.ShowDialog(); }
public static bool ShowQuestion(string message, int autoCloseSeconds) { FormMessage formMessage = new FormMessage(message, true, autoCloseSeconds, null); return formMessage.ShowDialog() == DialogResult.Yes; }
public static void ShowMessage(string message) { FormMessage formMessage = new FormMessage(message, false, 0, null); formMessage.ShowDialog(); }
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); }