public IProjectFile Open() { if (_solutionPropertiesEditor == null) { _solutionPropertiesEditor = new SolutionPropertiesEditor(this); if (_tabItem != null) { _tabItem.Close(); } _tabItem = TabStripItemFactory.CreateTabStripItem(_solutionPropertiesEditor, this); _tabItem.Closed += TabItemClosed; } return(this); }
public override IProjectFile Open() { if (_projectPropertiesEditor == null) { _projectPropertiesEditor = new ProjectPropertiesEditor(this); if (_tabItem != null) { _tabItem.Close(); } _tabItem = TabStripItemFactory.CreateTabStripItem(_projectPropertiesEditor, this); _tabItem.Closed += TabItemClosed; } return(this); }
public override IProjectFile Open() { if (_textEditor == null) { _textEditor = new TextEditorContainer(FileSystemPath); if (_tabItem != null) { _tabItem.Close(); } _tabItem = TabStripItemFactory.CreateTabStripItem(_textEditor, this); _tabItem.Closed += TabItemClosed; } return(this); }
public override IProjectFile Open() { if (_apkViewer == null) { #if !MONO _apkViewer = new ApkViewer(this); if (_tabItem != null) { _tabItem.Close(); } _tabItem = TabStripItemFactory.CreateTabStripItem(_apkViewer, this); _tabItem.Closed += TabItemClosed; #endif } return(this); }