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

            _instance.BaseShow(message, string.Empty, type, true);
        }
Exemplo 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);
        }
Exemplo 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);
        }