public static DialogResult Show(String message, String title, MessageBoxButtons mbuttons) { using (AcMessageBoxForm msgForm = new AcMessageBoxForm(message, title, mbuttons)) { return(ShowForm(msgForm)); } }
public static DialogResult Show(String message, MessageBoxButtons mbuttons, MessageBoxIcon micon) { using (AcMessageBoxForm msgForm = new AcMessageBoxForm(message, mbuttons, micon)) { return(ShowForm(msgForm)); } }
public static DialogResult Show(String message) { using (AcMessageBoxForm msgForm = new AcMessageBoxForm(message)) { return(ShowForm(msgForm)); } }
private static DialogResult ShowForm(AcMessageBoxForm msgForm) { return(msgForm.ShowDialog()); }