Open gusperandio opened 2 years ago
regardless of the time specified in the key, the time is always added as zero
Whenever added an event like this
Events.Add(new DateTime(2022, 5, 25, 17, 30, 00), new DayEventCollection<EventoAvancado>(GenerateEvents(1, "SBAU-SBRG", "Manutenção a ser realizada", 1)) { EventIndicatorColor = Color.Red, EventIndicatorSelectedColor = Color.Red });
Then I try to add another event with a different key in time, an error is returned
Events.Add(new DateTime(2022, 5, 25, 20, 15, 00), new DayEventCollection<EventoAvancado>(GenerateEvents(1, "SBRG-SBAU", "Retornando", 1)) { EventIndicatorColor = Color.Blue, EventIndicatorSelectedColor = Color.Blue});
regardless of the time specified in the key, the time is always added as zero
Whenever added an event like this
Events.Add(new DateTime(2022, 5, 25, 17, 30, 00), new DayEventCollection<EventoAvancado>(GenerateEvents(1, "SBAU-SBRG", "Manutenção a ser realizada", 1)) { EventIndicatorColor = Color.Red, EventIndicatorSelectedColor = Color.Red });
Then I try to add another event with a different key in time, an error is returned
Events.Add(new DateTime(2022, 5, 25, 20, 15, 00), new DayEventCollection<EventoAvancado>(GenerateEvents(1, "SBRG-SBAU", "Retornando", 1)) { EventIndicatorColor = Color.Blue, EventIndicatorSelectedColor = Color.Blue});