Exemplo n.º 1
0
        public static void handleException(Exception ex, string bannerMsg)
        {
            string errorInfo = "";

            if (ex != null)
            {
                errorInfo = getErrorMessage(ex, 0);
            }
            frmError errorForm = new frmError(bannerMsg, errorInfo);

            errorForm.ShowDialog();
        }
Exemplo n.º 2
0
        public static void handleException(string bannerMsg)
        {
            frmError errorForm = new frmError(bannerMsg, "");

            errorForm.ShowDialog();
        }