// // PUBLIC COM INTERFACE IFocuserV3 IMPLEMENTATION // // // PUBLIC COM INTERFACE IFocuserV2 IMPLEMENTATION // #region Event Handling public virtual void OnFocuserValueChanged(FocuserValueChangedEventArgs e) { if (FocuserValueChanged != null) { FocuserValueChanged(this, e); } }
private void FocuserValueChanged(object sender, FocuserValueChangedEventArgs e) { //this.textBoxCurrentPosition.Text = e.NewValue.ToString(); SetCurrentPosition(e.NewValue); }