110,545
社区成员
发帖
与我相关
我的任务
分享
private void button1_Click(object sender, EventArgs e)
{
this.Controls.SetChildIndex(button1, (int)numericUpDown1.Value);
}
private void button2_Click(object sender, EventArgs e)
{
this.Controls.SetChildIndex(button2, (int)numericUpDown1.Value);
}
private void button3_Click(object sender, EventArgs e)
{
this.Controls.SetChildIndex(button3, (int)numericUpDown1.Value);
}
private void button2_Click(object sender, EventArgs e)
{
this.Controls.SetChildIndex(button2, 0);
}
private void button3_Click(object sender, EventArgs e)
{
this.Controls.SetChildIndex(button3, 2);
}
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);