コード例 #1
0
        /// <summary>
        /// Constructs a HelloWorldMIPPluginViewItemUserControl instance
        /// </summary>
        public HelloWorldMIPPluginViewItemUserControl(HelloWorldMIPPluginViewItemManager viewItemManager)
        {
            _viewItemManager = viewItemManager;

            InitializeComponent();

            ClientControl.Instance.RegisterUIControlForAutoTheming(panelMain);

            panelHeader.BackColor = ClientControl.Instance.Theme.ViewItemHeaderColor;
            panelHeader.ForeColor = ClientControl.Instance.Theme.ViewItemHeaderTextColor;
        }
コード例 #2
0
 /// <summary>
 /// This class is created by the ViewItemManager.
 /// </summary>
 /// <param name="viewItemManager"></param>
 public HelloWorldMIPPluginPropertiesUserControl(HelloWorldMIPPluginViewItemManager viewItemManager)
 {
     _viewItemManager = viewItemManager;
     InitializeComponent();
 }