// ----------------------------------------------------------------------------------------
        private void Parent_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var file = treeView1.SelectedItem as CodeFile;

            if (file != null)
            {
                _codeEditorView.OpenTab(file, true);
            }
        }
Пример #2
0
        private void DoActivate()
        {
            CodeFile file = listView.SelectedItem as CodeFile;

            if (file != null)
            {
                _codeEditor.OpenTab(file, true);
                DialogResult = true;
            }
        }