Пример #1
0
        private void InitializeComponent()
        {
            tabControl      = new CustomTabControl();
            tabControl.Dock = DockStyle.Fill;

            Controls.Add(tabControl);

            editFilesPanel      = new EditFilesPanel(WixFiles);
            editFilesPanel.Dock = DockStyle.Fill;

            editFilesTabPage = new TabPage("Files");
            editFilesTabPage.Controls.Add(editFilesPanel);

            tabControl.TabPages.Add(editFilesTabPage);


            editFeaturesPanel      = new EditFeaturesPanel(WixFiles);
            editFeaturesPanel.Dock = DockStyle.Fill;

            editFeaturesTabPage = new TabPage("Features");
            editFeaturesTabPage.Controls.Add(editFeaturesPanel);

            tabControl.TabPages.Add(editFeaturesTabPage);
        }
Пример #2
0
        private void InitializeComponent()
        {
            tabControl = new CustomTabControl();
            tabControl.Dock = DockStyle.Fill;

            Controls.Add(tabControl);

            editFilesPanel = new EditFilesPanel(WixFiles);
            editFilesPanel.Dock = DockStyle.Fill;

            editFilesTabPage = new TabPage("Files");
            editFilesTabPage.Controls.Add(editFilesPanel);

            tabControl.TabPages.Add(editFilesTabPage);

            editFeaturesPanel = new EditFeaturesPanel(WixFiles);
            editFeaturesPanel.Dock = DockStyle.Fill;

            editFeaturesTabPage = new TabPage("Features");
            editFeaturesTabPage.Controls.Add(editFeaturesPanel);

            tabControl.TabPages.Add(editFeaturesTabPage);
        }