加一句private void hb_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e) { if(hb != null) this.v1.Text = "值为" + hb.Value; }