Пример #1
0
        private void ReportError(ErrorInfoLine line)
        {
            this.errors.Add(line);
            //this.errors.Add(line);


            if (!this.queryTabControl.TabPages.Contains(errorTabPage))
            {
                this.queryTabControl.TabPages.Add(errorTabPage);
            }
            this.queryTabControl.SelectedTab = errorTabPage;
            this.errorListGridView.Focus();
        }
Пример #2
0
        private void ReportError(Exception ex)
        {
            ErrorInfoLine line = new ErrorInfoLine(ex.Message, errors.Count + 1, ErrorInfoLine.ErrorType.Serious);

            ReportError(line);
        }