/// <summary> /// オブジェクトブラウザを開く。 /// </summary> private void ShowObjectBrowser() { if (ObjectBrowser == null) { ObjectBrowser = new ObjectBrowserContent() { Name = "ObjectBrowser" }; ObjectBrowser.RefreshTreeView(Project); MainForm.ShowContent(ObjectBrowser, DockState.DockLeft); } }
/// <summary> /// 復元したコンテントをコントローラと紐付ける。 /// </summary> private void RebindContents() { ProjectExplorer = MainForm.RebindContent<ProjectExplorerContent>("ProjectExplorer"); ErrorList = MainForm.RebindContent<ErrorListContent>("ErrorList"); Output = MainForm.RebindContent<OutputContent>("Output"); ObjectBrowser = MainForm.RebindContent<ObjectBrowserContent>("ObjectBrowser"); Property = MainForm.RebindContent<PropertyContent>("Property"); }