static void AccusoftError(Accusoft.ImagXpressSdk.ImagXpressException ErrorException, System.Windows.Forms.Label ErrorLabel) { ErrorLabel.Text = ErrorException.Message + "\n" + ErrorException.Source + "\n" + "Error Number: " + ErrorException.Number.ToString(System.Globalization.CultureInfo.CurrentCulture.NumberFormat); }
static void AccusoftError(Accusoft.ImagXpressSdk.ImagXpressException e) { MessageBox.Show(null, e.Message, "ImageXPress Error " + e.Number.ToString()); }