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);
		}
Exemple #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);
		}
Exemple #4
0
 internal ServoControl(ServoControlModel model)
     : this()
 {
     InitializeModel(model);
 }