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();
        }
        public static void handleException(string bannerMsg)
        {
            frmError errorForm = new frmError(bannerMsg, "");

            errorForm.ShowDialog();
        }