public void MoveTimeForPanelsElement(ITLEPanelCellElement element, float wayPrecentage) { TimeIdentyficator.MovePrecentage(wayPrecentage); TimeSpan destenationTime = TimeIdentyficator.GetTime(); element.SetStartTime(destenationTime); }
public TimeSpan SetTimeCursorToPrecentage(float precentage) { TimeIdentyficator.MovePrecentage(precentage); //TimeSpan time = new TimeSpan(PanelOffsetTime.Ticks + (long)(PanelWidthTime.Ticks * precentage)); TimeSpan time = TimeIdentyficator.GetTime(); return(time); }
public void MoveTimeForPanelsElement(string elementName, float wayPrecentage) { TimeIdentyficator.MovePrecentage(wayPrecentage); TimeSpan destenationTime = TimeIdentyficator.GetTime(); foreach (var panel in Panels.Values) { panel.MovePanelCellTime(elementName, destenationTime); } }