public void UpdateEntryList(LevelEditor editor) { if (mEntryListToolWindowInfo == null) { return; } if (mEntryListToolWindowInfo.IsDisposed) { return; } EntryListToolWindow form = mEntryListToolWindowInfo.DockableForm as EntryListToolWindow; form.UpdateView(editor); }
public void ShowEntryListWindow() { if (mEntryListToolWindowInfo != null) { if (!mEntryListToolWindowInfo.IsDisposed) { return; } } EntryListToolWindow window = new EntryListToolWindow(this); mEntryListToolWindowInfo = AddToolWindow(window); mEntryListToolWindowInfo.ShowContextMenuButton = false; //if (mEntryListToolWindowInfo != null) { // if (!mEntryListToolWindowInfo.IsDisposed) { // mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Outer); // } //} mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Inner); }
public void ShowEntryListWindow() { if (mEntryListToolWindowInfo != null) { if (!mEntryListToolWindowInfo.IsDisposed) return; } EntryListToolWindow window = new EntryListToolWindow(this); mEntryListToolWindowInfo = AddToolWindow(window); mEntryListToolWindowInfo.ShowContextMenuButton = false; //if (mEntryListToolWindowInfo != null) { // if (!mEntryListToolWindowInfo.IsDisposed) { // mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Outer); // } //} mDockContainer.DockForm(mEntryListToolWindowInfo, DockStyle.Left, zDockMode.Inner); }