private void OnMouseMove(object sender, MouseEventArgs e) { if (_isPressed) { linearGauge.Value = GaugeUtil.LinearPointToValue(linearGauge, e.GetPosition(linearGauge)); gauge.To = linearGauge.Value; } }
private void OnMouseMove(object sender, MouseEventArgs e) { if (_isPressed) { myGauge.Value = GaugeUtil.RadialPointToValue(myGauge, e.GetPosition(myGauge)); gauge.To = myGauge.Value; } }