예제 #1
0
        private void button7_Click(object sender, EventArgs e)
        {
            FrmEmployeeList f = new FrmEmployeeList();

            f.TopLevel        = false;
            f.Dock            = DockStyle.Fill;
            f.FormBorderStyle = FormBorderStyle.Sizable;

            f.Show();

            this.splitContainer3.Panel1.Controls.Clear();
            this.splitContainer3.Panel1.Controls.Add(f);
            this.textBox1.Text = f.Text;
        }
예제 #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            FrmEmployeeList f = new FrmEmployeeList();

            f.TopLevel        = false;
            f.Dock            = DockStyle.Fill;
            f.FormBorderStyle = FormBorderStyle.Sizable;

            f.Show();

            this.splitContainer3.Panel1.Controls.Clear();
            this.splitContainer3.Panel1.Controls.Add(f);
            StreamReader sr = new StreamReader(@"06.FrmEmployeeList.cs", Encoding.Default);

            this.textBox1.Text = sr.ReadToEnd();
            sr.Close();
        }