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