private void CloseReader()
 {
     if (rawReaderThreader != null)
     {
         rawReaderThreader.Dispose();
         rawReaderThreader = null;
     }
 }
Пример #2
0
 protected override void OnFormClosing(FormClosingEventArgs e)
 {
     if (ConfirmExit() == false)
     {
         e.Cancel = true;
     }
     else
     {
         RawData.Dispose();
         rawFileThreadManager.Dispose();
     }
 }