예제 #1
0
 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);
 }
예제 #3
0
 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);
        }