Esempio n. 1
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
 protected override void Dispose(bool disposing)
 {
     if (disposing && (components != null))
     {
         NoiseShaper.CancelAsync();
         components.Dispose();
     }
     base.Dispose(disposing);
 }
Esempio n. 2
0
 private void MainWindow_Load(object sender, EventArgs e)
 {
     SensorType.Text = "4-20 мА";
     NoiseShaper.RunWorkerAsync();
 }