Ejemplo n.º 1
0
        /// <summary>
        /// タイムラインの追加
        /// </summary>
        /// <param name="user"></param>
        /// <param name="works"></param>
        void _AddTimeline( User user, List<Work> works )
        {
            var	timeline	= new Timeline();
            timeline.AddWorks( works );
            m_timelinePanel.Children.Add( timeline );

            if( Controllers.User.LoginUser.Id != user.Id )
            {
                timeline.IsReadOnly	= true;
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// タイムラインの追加
        /// </summary>
        /// <param name="date"></param>
        /// <param name="works"></param>
        void _AddTimeline( DateTime date, List<Work> works )
        {
            var	timeline	= new Timeline();
            timeline.AddWorks( works );
            m_timelinePanel.Children.Add( timeline );

            if( date.Date != DateTime.Now.Date )
            {
                timeline.IsReadOnly	= true;
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        /// タイムラインの追加
        /// </summary>
        /// <param name="user"></param>
        /// <param name="works"></param>
        Timeline _AddTimeline( User user, List<Work> works )
        {
            var	timeline	= new Timeline();
            timeline.AddWorks( works );
            m_timelinePanel.Children.Add( timeline );

            return	timeline;
        }