Beispiel #1
0
 public InsertLogMarkerComponentPanel(InsertLogMarkerComponent component) : this()
 {
     cboLevel.DataBindings.Add("SelectedItem", component, "LogLevel");
     spinMultiplier.DataBindings.Add("Value", component, "Multiplier");
     txtMessage.DataBindings.Add("Text", component, "Message");
 }
		public InsertLogMarkerComponentPanel(InsertLogMarkerComponent component) : this()
		{
			cboLevel.DataBindings.Add("SelectedItem", component, "LogLevel");
			spinMultiplier.DataBindings.Add("Value", component, "Multiplier");
			txtMessage.DataBindings.Add("Text", component, "Message");
		}
 /// <summary>
 /// Called by the application framework to set the component the view is for.
 /// </summary>
 /// <param name="component"></param>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (InsertLogMarkerComponent)component;
 }
        /// <summary>
        /// Called by the application framework to set the component the view is for.
        /// </summary>
        /// <param name="component"></param>
		public void SetComponent(IApplicationComponent component)
		{
			_component = (InsertLogMarkerComponent)component;
		}