定义了一个form类型 private System.Windows.Forms.Form myForm;在初始化的时候加载这个myform作为一个附窗口: private void Form1_Load(object sender, EventArgs e)
{
this.AddOwnedForm(this.myForm);
this.myForm.Show();
}
现在我想在附窗口上加一个按钮控件,请问怎么加上去啊????
谢谢了
{
this.AddOwnedForm(this.myForm);
this.myForm.Show();
}
现在我想在附窗口上加一个按钮控件,请问怎么加上去啊????
谢谢了
btn.Parent = this.myForm;