Beispiel #1
0
        /// <summary>
        /// Shows the form.
        /// </summary>
        /// <param name="errorId">The error id.</param>
        /// <param name="errorMessage">The error message.</param>
        public static void ShowForm(int errorId, string errorMessage)
        {
            Application.UseWaitCursor = false;
            //Create a instance for ErrorEngine Form and Show.
            ErrorEngine errorEngine = new ErrorEngine(errorId, errorMessage);

            errorEngine.ShowDialog();
        }
Beispiel #2
0
        /// <summary>
        /// Shows the form.
        /// </summary>
        /// <param name="errorId">The error id.</param>
        public static void ShowForm(int errorId)
        {
            // Create a instance for ErrorEngine Form and Show.
            Application.UseWaitCursor = false;
            ErrorEngine errorEngine = new ErrorEngine(errorId);

            errorEngine.ShowDialog();
        }