Beispiel #1
0
        /// <summary>
        /// Constructs a DataSourceViewItemUserControl instance
        /// </summary>
        public SequenceViewerViewItemUserControl(SequenceViewerViewItemManager viewItemManager)
        {
            _viewItemManager = viewItemManager;

            InitializeComponent();

            _stringResourceManager =
                new System.Resources.ResourceManager(Assembly.GetExecutingAssembly().GetName().Name + ".Resources.Strings",
                                                     Assembly.GetExecutingAssembly());

            SetUpApplicationEventListeners();

            InLive = EnvironmentManager.Instance.Mode == Mode.ClientLive;
            ClientControl.Instance.RegisterUIControlForAutoTheming(panelMain);

            panelHeader.BackColor = ClientControl.Instance.Theme.ViewItemHeaderColor;
            panelHeader.ForeColor = ClientControl.Instance.Theme.ViewItemHeaderTextColor;
        }
 public SequenceViewerPropertiesUserControl(SequenceViewerViewItemManager viewItemManager)
 {
     _viewItemManager = viewItemManager;
     InitializeComponent();
 }