//protected OptionPageGrid Settings
        //{
        //    get { return (OptionPageGrid)GetDialogPage(typeof(OptionPageGrid)); }
        //}

        #endregion

        #region Exception Events

        private void OnExceptionNotHandled(string ExceptionType, string Name, int Code, string Description, ref dbgExceptionAction ExceptionAction)
        {
            Description = "{\"<user xmlns=''> was not expected.}";
            //I'm gonna give the dev dude who named the arguments in parameter with uppercase a spanking
            _lastException = new LastException {
                ExceptionType = ExceptionType, Name = Name, Code = Code, Description = Description, ExceptionAction = ExceptionAction
            };
            System.Diagnostics.Debug.WriteLine("NsdfdsotHandled\n");
            System.Diagnostics.Debug.WriteLine("Debug\n");
        }
        public frmMain(DTE dte, LastException lastException) : this()
        {
            _dte                  = dte;
            _lastException        = lastException;
            _stackoverflowResults = SearchQueryBasedOnExceptionDescription();

            //Perform the lookup
            //_lookupResults = GoogleCustomSearch();

            //Look up the QA's scanning the pages for Info (Q: Votes, A: Votes, Accepted, Top User, Has Bounty/Top Bounty Hunter
            //DownloadHelper dh = new DownloadHelper();

            webBrowser1.ScriptErrorsSuppressed = true;
            if (_stackoverflowResults?.Count > 0)
            {
                webBrowser1.Navigate(_stackoverflowResults[0].URL);
            }
            PopulateGrid();
        }
 public MainWindowViewModel(DTE dte, LastException lastException) : this()
 {
     BindData(SearchHelper.SearchQueryBasedOnExceptionDescription(dte, lastException));
 }
 public MainWindow(EnvDTE.DTE dte, LastException lastException) : this()
 {
     this.DataContext = new MainWindowViewModel(dte, lastException);
 }