Esempio n. 1
0
        public static void Show(string message, CustomMessageBoxType type)
        {
            _instance         = new TopmostMessageBox();
            _instance.Closed += InstanceClosed;

            _instance.BaseShow(message, string.Empty, type, true);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        public static void Show(string message, bool topMost = true)
        {
            _instance         = new TopmostMessageBox();
            _instance.Closed += InstanceClosed;

            _instance.BaseShow(message, string.Empty, CustomMessageBoxType.OK, topMost);
        }