public static void Show(NamespaceSnapInBase owner, Exception ex) { string text = string.Format(Properties.Resources.ErrorMessage, ex.Message); MsgBoxUtil.Show(owner, text, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); }
public static bool Confirm(NamespaceSnapInBase owner, string message) { DialogResult ret = MsgBoxUtil.Show(owner, message, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1); return(ret == DialogResult.Yes); }
public static void Show(NamespaceSnapInBase owner, string message) { MsgBoxUtil.Show(owner, message, MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1); }
public static void Show(PropertySheet owner, string message) { MsgBoxUtil.Show(owner, message, MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1); }