示例#1
0
        public static void ShowMessage(string message)
        {
            ETMMessageWindow wnd = new ETMMessageWindow()
            {
                Message = message,
            };

            wnd.ShowDialog();
        }
示例#2
0
        public static void ShowMessage(string message, bool isHappy = false)
        {
            ETMMessageWindow wnd = new ETMMessageWindow()
            {
                Message = message,
                IsHappy = isHappy,
            };

            wnd.ShowDialog();
        }
示例#3
0
        public static void ShowMessage(string message, TimeSpan closeTimeout)
        {
            ETMMessageWindow wnd = new ETMMessageWindow()
            {
                Message      = message,
                CloseTimeout = closeTimeout,
            };

            wnd.ShowDialog();
        }
示例#4
0
        public static void ShowMessage(string message, TimeSpan closeTimeout, bool isHappy = false)
        {
            ETMMessageWindow wnd = new ETMMessageWindow()
            {
                Message      = message,
                CloseTimeout = closeTimeout,
                IsHappy      = isHappy,
            };

            wnd.ShowDialog();
        }