/// <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); }
private void MainWindow_Load(object sender, EventArgs e) { SensorType.Text = "4-20 мА"; NoiseShaper.RunWorkerAsync(); }