private void OnHourChanged() { if (HoursChanged != null) { MinutesChanged.Invoke(milliseconds / MILLISECONDS_IN_HOUR); } }
private void OnMinutesChanged() { if (MinutesChanged != null) { MinutesChanged.Invoke(milliseconds / MILLISECONDS_IN_MINUTE); } }
private void OnDayChanged() { if (DaysChanged != null) { MinutesChanged.Invoke(milliseconds / MILLISECONDS_IN_DAY); } }
private void OnMinuteChanged() { if (MinutesChanged != null) { MinutesChanged.Invoke(minutes); } }
private void OnMinuteChanged() { if (MinutesChanged != null) { MinutesChanged.Invoke(thousanths / 10); } }
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()); }
private void DurationControlNumericUpDownMinutes_ValueChanged(object sender, EventArgs e) { MinutesChanged?.Invoke(this, e); DurationChanged?.Invoke(this, e); }