예제 #1
0
        protected void InitializeTallyTab()
        {
            _tallyLayout = new LayoutTreeBased(DataService,
                                               SampleSelectorRepository,
                                               AppSettings,
                                               LogicController);

            _tallyPageIndex = AddLayout(_tallyLayout);
        }
        protected void InitializeTallyTab()
        {
            _tallyLayout = new LayoutTreeBased(this.Controller, this.LogicController);
            _tallyLayout.Dock = DockStyle.Fill;

            this._tallyPage = new TabPage();
            this._tallyPage.Text = "Tally";
            this.PageContainer.TabPages.Add(this._tallyPage);
            this._tallyPage.Controls.Add(_tallyLayout);
            this._layouts.Add(_tallyLayout);
        }