Exemplo n.º 1
0
        /// <summary>
        /// Constructs a TimelineViewItemViewItemUserControl instance
        /// </summary>
        public TimelineViewItemViewItemUserControl(TimelineViewItemViewItemManager viewItemManager)
        {
            _viewItemManager = viewItemManager;

            InitializeComponent();

            ClientControl.Instance.RegisterUIControlForAutoTheming(panelMain);

            panelHeader.BackColor = ClientControl.Instance.Theme.ViewItemHeaderColor;
            panelHeader.ForeColor = ClientControl.Instance.Theme.ViewItemHeaderTextColor;
        }
Exemplo n.º 2
0
 /// <summary>
 /// This class is created by the ViewItemManager.
 /// </summary>
 /// <param name="viewItemManager"></param>
 public TimelineViewItemPropertiesUserControl(TimelineViewItemViewItemManager viewItemManager)
 {
     _viewItemManager = viewItemManager;
     InitializeComponent();
 }