private void TogglePanelSelection() { if (this.splitContainer1.ActiveControl == lstScripts) { _editor.Select(); } else { lstScripts.Select(); } }