public void fun1() { form1 = new Windows1cs(this); this.Width = 450; this.Height = 358; this.SetBounds((Screen.GetBounds(this).Width / 2) - (this.Width / 2), (Screen.GetBounds(this).Height / 2) - (this.Height / 2), this.Width, this.Height, BoundsSpecified.Location); form1.Show(); groupBox3.Controls.Clear(); groupBox3.Controls.Add(form1); }
public Form6(Windows1cs form) : this() { this.form = form; }