private void FormFourier_FormClosed(object sender, FormClosedEventArgs e) { if (_Reader != null) { _Reader.Dispose(); _Reader = null; } if (_Provider != null) { _Provider.Dispose(); _Provider = null; } }
public void Dispose() { _reader.Dispose(); IsDisposed = true; }