예제 #1
0
 public static DialogResult Show(String message, String title, MessageBoxButtons mbuttons)
 {
     using (AcMessageBoxForm msgForm = new AcMessageBoxForm(message, title, mbuttons))
     {
         return(ShowForm(msgForm));
     }
 }
예제 #2
0
 public static DialogResult Show(String message, MessageBoxButtons mbuttons, MessageBoxIcon micon)
 {
     using (AcMessageBoxForm msgForm = new AcMessageBoxForm(message, mbuttons, micon))
     {
         return(ShowForm(msgForm));
     }
 }
예제 #3
0
 public static DialogResult Show(String message)
 {
     using (AcMessageBoxForm msgForm = new AcMessageBoxForm(message))
     {
         return(ShowForm(msgForm));
     }
 }
예제 #4
0
 private static DialogResult ShowForm(AcMessageBoxForm msgForm)
 {
     return(msgForm.ShowDialog());
 }