private void OnTimeChanged() { TimeChangedEventArgs eventArgs = new TimeChangedEventArgs(currentTime); TimeChanged?.Invoke(this, eventArgs); }
private void OnTimeChanged() { TimeChangedEventArgs eventArgs = new TimeChangedEventArgs(hour, minute); TimeChanged?.Invoke(this, eventArgs); }