You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
559 B
15 lines
559 B
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Windows.Forms; |
|
|
|
namespace ArdupilotMega |
|
{ |
|
class MyTrackBar : TrackBar |
|
{ |
|
public new double Maximum { get { return base.Maximum / 100.0; } set { base.Maximum = (int)(value * 100); } } |
|
public new double Minimum { get { return base.Minimum / 100.0; } set { base.Minimum = (int)(value * 100); } } |
|
public new double Value { get { return base.Value / 100.0; } set { base.Value = (int)(value * 100); } } |
|
} |
|
}
|
|
|