[ create a new paste ] login | about

Link: http://codepad.org/ndQ6Frxf    [ raw code | fork ]

C++, pasted on Oct 10:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1 {
    public partial class Form1 : Form {
        public Form1() {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e) {
            TabPage newTabPage = new TabPageIncludes();
            newTabPage.Text = "Test Tab Page";

            // specific to table editing tab pages
            //newTabPage.Controls.Add(new ArchTableIncludes(sObjectName, sFilePath));
            newTabPage.BackColor = Color.DarkGray;

            // generic case
            tabControl1.TabPages.Add(newTabPage);
            tabControl1.SelectedTab = newTabPage;
        }
    }
}


Create a new paste based on this one


Comments: