private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
this.trackBar1.Value = (int)numericUpDown1.Value;
}
private void trackBar1_Scroll(object sender, EventArgs e)
{
this.numericUpDown1.Value = trackBar1.Value;
}
private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
this.trackBar1.Value = (int)numericUpDown1.Value;
}
private void trackBar1_Scroll(object sender, EventArgs e)
{
this.numericUpDown1.Value = trackBar1.Value;
}
转载于:https://www.cnblogs.com/silvia-z/p/7608971.html