Esempio n. 1
0
        protected virtual MultiTrackBarValues CreateValues(int count)
        {
            MultiTrackBarValues res = new MultiTrackBarValues(this);
            int delta = (Properties.Maximum - Properties.Minimum) / count;

            res.BeginUpdate();
            for (int i = 0; i < count; i++)
            {
                res.Add(Properties.Minimum + delta);
            }
            res.CancelUpdate();
            return(res);
        }
Esempio n. 2
0
 protected internal virtual object CheckValueCore(MultiTrackBarValues value)
 {
     return(value);
 }