/// <summary> /// Show a modal MessageBoxERP with a message a window title and configure the buttons to display /// </summary> /// <param name="strMessage">The message string to show</param> /// <param name="strCaption">The title of the message box window.(Parameter is optional)</param> /// <param name="button">The buttons the dialog should have - Default is ok</param> public static void Show(string strMessage, string strCaption, MessageBoxButton button) { ZMXUC_MessageBoxERP.Show(null, strMessage, strCaption, button); }
/// <summary> /// Show a modal MessageBoxERP with a message a window title, configure the buttons to display and set the dialogs image /// </summary> /// <param name="strMessage">The message string to show</param> /// <param name="strCaption">The title of the message box window.(Parameter is optional)</param> /// <param name="button">The buttons the dialog should have - Default is ok</param> /// <param name="image">The image the dialog should hold - Default is Warning</param> public static MessageBoxResult Show(string strMessage, string strCaption, MessageBoxButton button, MessageBoxImage image) { return(ZMXUC_MessageBoxERP.Show(null, strMessage, strCaption, button, image)); }
/// <summary> /// Show a modal MessageBoxERP with a message and the window title as option /// </summary> /// <param name="strMessage">The message string to show</param> /// <param name="strCaption">The title of the message box window.(Parameter is optional)</param> public static void Show(string strMessage, string strCaption = null) { ZMXUC_MessageBoxERP.Show(null, strMessage, strCaption); }