从 Form1
Form2 form2 = new Form2();
form2.Show();
form2.Location = new Point(this.Left + this.Width, this.Top);
Run Code Online (Sandbox Code Playgroud)
您也可以选择匹配高度
form2.Height = this.Height;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1225 次 |
| 最近记录: |