示例#1
0
        private void guna2Button1_Click(object sender, EventArgs e)
        {
            Add_Unit BA = new Add_Unit();

            BA.AutoScroll = true;
            this.Controls.Add(BA);
            BA.Visible = true;
            BA.BringToFront();
        }
示例#2
0
        private void guna2Button1_Click(object sender, EventArgs e)
        {
            Add_Unit BA = new Add_Unit();

            // BA.TopLevel = false;
            BA.AutoScroll = true;
            this.Controls.Add(BA);
            //  BA.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            BA.Dock    = DockStyle.Fill;
            BA.Visible = true;
            BA.BringToFront();
        }