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(); }
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(); }