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