Exemple #1
0
        public void NotifyClosing()
        {
            if (_softwareCurve == null)
            {
                return;
            }

            DetachSoftwareCurve();
            _softwareCurve.Dispose();
            _softwareCurve = null;
            ControlModeChanged?.Invoke(this);
            Debug.WriteLine("closing");
        }
Exemple #2
0
 private void HandleSoftwareCurveAbort(SoftwareCurve softwareCurve)
 {
     DetachSoftwareCurve();
     ControlModeChanged?.Invoke(this); // until softwarecurve is started again, get value of ControlMode is Default
     Debug.WriteLine("softwarecurve abort!");
 }