Ejemplo n.º 1
0
        public static string StopMonitoringExceptions()
        {
            string result = string.Empty;

            if (_exceptionStart != _exceptions.Count)
            {
                IList <string> list = new List <string>();
                for (int i = _exceptionStart; i < _exceptions.Count; i++)
                {
                    string e = _exceptions[i].ToString();
                    list.Add(e);
                    result += e + Environment.NewLine;
                }

                LogForm form = new LogForm();
                form.HeaderPanel.Text = "Exceptions";
                form.ExecuteDialog(list);
            }

            return(result);
        }