Пример #1
0
        public void MoveTimeForPanelsElement(ITLEPanelCellElement element, float wayPrecentage)
        {
            TimeIdentyficator.MovePrecentage(wayPrecentage);

            TimeSpan destenationTime = TimeIdentyficator.GetTime();

            element.SetStartTime(destenationTime);
        }
Пример #2
0
        public TimeSpan SetTimeCursorToPrecentage(float precentage)
        {
            TimeIdentyficator.MovePrecentage(precentage);
            //TimeSpan time = new TimeSpan(PanelOffsetTime.Ticks + (long)(PanelWidthTime.Ticks * precentage));
            TimeSpan time = TimeIdentyficator.GetTime();

            return(time);
        }
Пример #3
0
        public void MoveTimeForPanelsElement(string elementName, float wayPrecentage)
        {
            TimeIdentyficator.MovePrecentage(wayPrecentage);

            TimeSpan destenationTime = TimeIdentyficator.GetTime();

            foreach (var panel in Panels.Values)
            {
                panel.MovePanelCellTime(elementName, destenationTime);
            }
        }