示例#1
0
 public void setNewControlParams()
 {
     // new controlparams not registered yet
     controlParams.registerObserver(this);
     controlParams.update();                     // validate/update params
     view.updateControlParams(controlParams);    // propagate new controlparams -> view (-> ... etc)
 }
示例#2
0
 private void posJog_ValueChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     controlParams.InjectPos = posJog.Value;
     controlParams.update();
 }