public void SetLoadProgress(LoadProgress lp, IActivateItems activator)
        {
            SetItemActivator(activator);
            _loadProgress = lp;
            RefreshUIFromDatabase();

            DoTransparencyProperly.ThisHoversOver(pathLinkLabel1, cacheState);
        }
        public ViewSQLAndResultsWithDataGridUI()
        {
            InitializeComponent();

            ScintillaTextEditorFactory factory = new ScintillaTextEditorFactory();

            _scintilla = factory.Create();
            splitContainer1.Panel1.Controls.Add(_scintilla);
            _scintilla.TextChanged += _scintilla_TextChanged;
            _scintilla.KeyUp       += ScintillaOnKeyUp;
            DoTransparencyProperly.ThisHoversOver(ragSmiley1, dataGridView1);

            btnExecuteSql.Click += (s, e) => RunQuery();
            btnResetSql.Click   += btnResetSql_Click;

            dataGridView1.CellDoubleClick += dataGridView1_CellDoubleClick;
        }