public static void Show(string title, string message, IWin32Window owner) { MetroTextBoxMessage msg = new MetroTextBoxMessage(); msg.titleText.Text = title; msg.messageText.Text = message; msg.ShowDialog(owner); }
public static void Show(string title, string message) { MetroTextBoxMessage msg = new MetroTextBoxMessage(); msg.titleText.Text = title; msg.messageText.Text = message; msg.ShowDialog(); }
public static void Show(string title, string message, MetroMessageTheme theme, IWin32Window owner) { MetroTextBoxMessage msg = new MetroTextBoxMessage(); msg.titleText.Text = title; msg.messageText.Text = message; switch (theme) { case MetroMessageTheme.Dark: msg.SetThemeDark(); break; case MetroMessageTheme.Light: msg.SetThemeLight(); break; } msg.ShowDialog(owner); }