FilterDemoFramework.FilterView.UpdateFrequenciesAndResonance C# (CSharp) Méthode

UpdateFrequenciesAndResonance() private méthode

private UpdateFrequenciesAndResonance ( ) : void
Résultat void
		void UpdateFrequenciesAndResonance ()
		{
			var del = Delegate;

			var lastFrequency = GetFrequencyValue (editPoint.X);
			if (Math.Abs (lastFrequency - Frequency) > float.Epsilon) {
				Frequency = lastFrequency;
				if (del != null)
					del.FrequencyChanged (this, Frequency);
			}

			var lastResonance = GetDbValue (editPoint.Y);
			if (Math.Abs (lastResonance - Resonance) > float.Epsilon) {
				Resonance = lastResonance;
				if(del != null)
					del.ResonanceChanged (this, Resonance);
			}
		}