示例#1
0
 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();
 }
示例#2
0
        /// <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;
        }