示例#1
0
        protected void OnBackgroundClick(TimelineEventArgs e)
        {
            if (e.Row != null)
                e.Row.Selected = true;

            if (ClickingGridSetsCursor)
                CursorPosition = e.Time;

            if (BackgroundClicked != null)
                BackgroundClicked(this, e);
        }
示例#2
0
        protected void OnBackgroundClick(TimelineEventArgs e)
        {
            if (e.Row != null)
            {
                e.Row.Active = true;
            }

            if (ClickingGridSetsCursor)
            {
                CursorPosition = e.Time;
            }

            if (BackgroundClicked != null)
            {
                BackgroundClicked(this, e);
            }
        }