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

            Controls.Add(tabControl);

            editBinariesPanel      = new EditBinariesPanel(WixFiles);
            editBinariesPanel.Dock = DockStyle.Fill;
            editBinariesTabPage    = new TabPage("Binaries");
            editBinariesTabPage.Controls.Add(editBinariesPanel);
            tabControl.TabPages.Add(editBinariesTabPage);


            editIconsPanel      = new EditIconsPanel(WixFiles);
            editIconsPanel.Dock = DockStyle.Fill;
            editIconsTabPage    = new TabPage("Icons");
            editIconsTabPage.Controls.Add(editIconsPanel);
            tabControl.TabPages.Add(editIconsTabPage);
        }
Пример #2
0
        private void InitializeComponent()
        {
            tabControl = new CustomTabControl();
            tabControl.Dock = DockStyle.Fill;

            Controls.Add(tabControl);

            editBinariesPanel = new EditBinariesPanel(WixFiles);
            editBinariesPanel.Dock = DockStyle.Fill;
            editBinariesTabPage = new TabPage("Binaries");
            editBinariesTabPage.Controls.Add(editBinariesPanel);
            tabControl.TabPages.Add(editBinariesTabPage);

            editIconsPanel = new EditIconsPanel(WixFiles);
            editIconsPanel.Dock = DockStyle.Fill;
            editIconsTabPage = new TabPage("Icons");
            editIconsTabPage.Controls.Add(editIconsPanel);
            tabControl.TabPages.Add(editIconsTabPage);
        }