internal void InitializeModel(ServoControlModel model)
		{
			this.Model = model;
			m_NameLabel.Text = this.Model.Servo.Name;
			this.Model.Servo.IsEnabled = false;
			UpdateFromModel();
			this.Model.Changed += new EventHandler(OnModelChanged);
		}
Example #2
0
 internal void InitializeModel(ServoControlModel model)
 {
     this.Model                 = model;
     m_NameLabel.Text           = this.Model.Servo.Name;
     this.Model.Servo.IsEnabled = false;
     UpdateFromModel();
     this.Model.Changed += new EventHandler(OnModelChanged);
 }
		internal ServoControl(ServoControlModel model)
			: this()
		{
			InitializeModel(model);
		}
Example #4
0
 internal ServoControl(ServoControlModel model)
     : this()
 {
     InitializeModel(model);
 }