private void OnHourChanged()
 {
     if (HoursChanged != null)
     {
         MinutesChanged.Invoke(milliseconds / MILLISECONDS_IN_HOUR);
     }
 }
Exemple #2
0
 private void OnMinutesChanged()
 {
     if (MinutesChanged != null)
     {
         MinutesChanged.Invoke(milliseconds / MILLISECONDS_IN_MINUTE);
     }
 }
 private void OnDayChanged()
 {
     if (DaysChanged != null)
     {
         MinutesChanged.Invoke(milliseconds / MILLISECONDS_IN_DAY);
     }
 }
Exemple #4
0
 private void OnMinuteChanged()
 {
     if (MinutesChanged != null)
     {
         MinutesChanged.Invoke(minutes);
     }
 }
 private void OnMinuteChanged()
 {
     if (MinutesChanged != null)
     {
         MinutesChanged.Invoke(thousanths / 10);
     }
 }
Exemple #6
0
        private void nudMinutes_ValueChanged(object sender, EventArgs e)
        {
            int      minutes = Decimal.ToInt32(nudMinutes.Value);
            TimeSpan ts      = new TimeSpan(this.Delay.Hours, minutes, this.Delay.Seconds);

            this.Delay = ts;

            MinutesChanged.Invoke(this, new EventArgs());
        }
Exemple #7
0
 private void DurationControlNumericUpDownMinutes_ValueChanged(object sender, EventArgs e)
 {
     MinutesChanged?.Invoke(this, e);
     DurationChanged?.Invoke(this, e);
 }