示例#1
0
            public Builder InsertPanelConfig(PanelConfig.Builder configBuilder, int index, bool mainPanel = false)
            {
                PanelConfig config = configBuilder.Build();

                _panelConfigs.Insert(index, config);
                if (mainPanel)
                {
                    _mainPanelKey = config.Key;
                }
                return(this);
            }
示例#2
0
            public Builder AddPanelConfig(PanelConfig.Builder configBuilder, bool mainPanel = false)
            {
                PanelConfig config = configBuilder.Build();

                _panelConfigs.Add(config);
                if (mainPanel)
                {
                    _mainPanelKey = config.Key;
                }
                return(this);
            }