public static void Show(string message, CustomMessageBoxType type) { _instance = new TopmostMessageBox(); _instance.Closed += InstanceClosed; _instance.BaseShow(message, string.Empty, type, true); }
public static void Show(string message, string caption, CustomMessageBoxType type, bool topMost = true) { _instance = new TopmostMessageBox(); _instance.Closed += InstanceClosed; _instance.BaseShow(message, caption, type, topMost); }
public static void Show(string message, bool topMost = true) { _instance = new TopmostMessageBox(); _instance.Closed += InstanceClosed; _instance.BaseShow(message, string.Empty, CustomMessageBoxType.OK, topMost); }