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