111,094
社区成员




public void UpdatePanelLocation()
{
int x = this.label1.Location.X;
int y = this.label1.Location.Y;
this.panel1.Location = new Point(x, y);
}
然后在:
private void Form1_Load(object sender, EventArgs e)
{
this.userControl11.UpdatePanelLocation();
}