コード例 #1
0
        private void button8_Click(object sender, EventArgs e)
        {
            FrmLotoo f = new FrmLotoo();

            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 button8_Click(object sender, EventArgs e)
        {
            FrmLotoo f = new FrmLotoo();

            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(@"07.FrmLotoo.cs", Encoding.Default);

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