private void CreateNewTab(GameConfigDB gameConfigDB, bool isInitializing = false) { UITabPage uiTabPage = UITabPageCreator.CreateUICanvasTab(notebook1, gameConfigDB, isInitializing); uiTabPage.OnDeleteTabAcceptEvent += OnDeleteTabAccept; uiTabPage.OnTabSelectedEvent += OnTabSelected; }
private void CreatePageHelperAdd() { UITabPageCreator.CreateUICanvasButtonAddTab(this, notebook1, OnAddNewTabButtonPressed); }