HamBook – Diff between revs 9 and 10

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 9 Rev 10
Line 37... Line 37...
37 private SparkleUpdater _sparkle; 37 private SparkleUpdater _sparkle;
38 private readonly CancellationToken _cancellationToken; 38 private readonly CancellationToken _cancellationToken;
39 private readonly CancellationTokenSource _cancellationTokenSource; 39 private readonly CancellationTokenSource _cancellationTokenSource;
40 private CatAssemblies _catAssemblies; 40 private CatAssemblies _catAssemblies;
41 private BandScan _bandScan; 41 private BandScan _bandScan;
-   42 private SpectrogramForm _spectrogramForm;
Line 42... Line 43...
42   43  
Line 43... Line 44...
43 public bool MemorySinkEnabled { get; set; } 44 public bool MemorySinkEnabled { get; set; }
44   45  
Line 572... Line 573...
572 { 573 {
573 Log.Error(exception, Resources.Failed_to_read_VFO_B); 574 Log.Error(exception, Resources.Failed_to_read_VFO_B);
574 } 575 }
Line 575... Line 576...
575   576  
-   577 }
-   578  
-   579 private void spectrogramToolStripMenuItem_Click(object sender, EventArgs e)
-   580 {
-   581 if (_spectrogramForm != null)
-   582 {
-   583 return;
-   584 }
-   585  
-   586 _spectrogramForm = new SpectrogramForm(Configuration, _cancellationToken);
-   587 _spectrogramForm.Closing += SpectrogramForm_Closing;
-   588 _spectrogramForm.Show();
-   589 }
-   590  
-   591 private void SpectrogramForm_Closing(object sender, CancelEventArgs e)
-   592 {
-   593 if (_spectrogramForm == null)
-   594 {
-   595 return;
-   596 }
-   597  
-   598 _spectrogramForm.Dispose();
-   599 _spectrogramForm = null;
576 } 600 }
577 } 601 }