private void Button3_Click(object sender, EventArgs e) { //COMPUTE BUTTON //QUANDO CLICCHI, IL VISUALIZED MINUTE è POSIZIONATO SUL DATETIME SCELTO E VIENE AGGIORNATA LA GUI visualizedInterval = new MinuteInterval(timepicker_map.Value); HistoryMode(); }
/// <summary> /// TODO : maybe something better can be done... /// </summary> /// <param name="rtl"></param> public void SetRadtimeline(RadTimeline rtl) { _fireworkTimeline = rtl; MinuteInterval mi = new MinuteInterval { FormatterProvider = new MinuteIntervalFormatter() }; SecondInterval si = new SecondInterval { FormatterProvider = new SecondIntervalFormatter() }; _fireworkTimeline.Intervals.Add(mi); _fireworkTimeline.Intervals.Add(si); _fireworkTimeline.VisiblePeriodChanged += FireworkTimeline_VisiblePeriodChanged; _fireworkTimeline.SizeChanged += FireworkTimeline_SizeChanged; }