コード例 #1
0
        public ServerTreeConfigurationComponentControl(ServerTreeConfigurationComponent component)
            : base(component)
        {
            _component = component;
            InitializeComponent();

            _description.DataBindings.Add("Text", _component, "Description", true, DataSourceUpdateMode.OnPropertyChanged);
            _splitContainer.Panel2.Controls.Add((UserControl)_component.ServerTreeHost.ComponentView.GuiElement);
            _splitContainer.Panel2.Controls[0].Dock = DockStyle.Fill;
        }
コード例 #2
0
		public ServerTreeConfigurationComponentControl(ServerTreeConfigurationComponent component)
			:base(component)
		{
			_component = component;
			InitializeComponent();

			_description.DataBindings.Add("Text", _component, "Description", true, DataSourceUpdateMode.OnPropertyChanged);
			_splitContainer.Panel2.Controls.Add((UserControl)_component.ServerTreeHost.ComponentView.GuiElement);
			_splitContainer.Panel2.Controls[0].Dock = DockStyle.Fill;
		}
コード例 #3
0
		/// <summary>
		/// Called by the host to assign this view to a component.
		/// </summary>
		public void SetComponent(IApplicationComponent component)
		{
			_component = (ServerTreeConfigurationComponent)component;
		}
コード例 #4
0
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (ServerTreeConfigurationComponent)component;
 }