示例#1
0
        /// <summary>
        /// Constructs a VideoReplayViewItemUserControl instance
        /// </summary>
        public VideoReplayViewItemUserControl(VideoReplayViewItemManager viewItemManager)
        {
            _viewItemManager = viewItemManager;

            InitializeComponent();

            panelHeader.BackColor = ClientControl.Instance.Theme.ViewItemHeaderColor;
            panelHeader.ForeColor = ClientControl.Instance.Theme.ViewItemHeaderTextColor;
            ClientControl.Instance.RegisterUIControlForAutoTheming(panelMain);
        }
示例#2
0
 /// <summary>
 /// This class is created by the ViewItemManager.
 /// </summary>
 /// <param name="viewItemManager"></param>
 public VideoReplayPropertiesUserControl(VideoReplayViewItemManager viewItemManager)
 {
     _viewItemManager = viewItemManager;
     InitializeComponent();
 }