private void projectTree_OpenProjectTemplate(object sender, ProjectNodeEventArgs e) { try { //get the top form MainForm mainform = this.TopLevelControl as MainForm; if (mainform != null) mainform.OpenFile(e.Project.FileName, e.Project.ProjectName); } catch (Exception ex) { Program.ShowMessageBox("FrmVSManager.projectTree_OpenProjectTemplate", ex); } }
private void projectTree_OpenProjectTemplate(object sender, ProjectNodeEventArgs e) { try { //get the top form MainForm mainform = this.TopLevelControl as MainForm; if (mainform != null) { mainform.OpenFile(e.Project.FileName, e.Project.ProjectName); } } catch (Exception ex) { Program.ShowMessageBox("FrmVSManager.projectTree_OpenProjectTemplate", ex); } }