10 public partial class ConfigurationControl : UserControl
24 this.InitializeComponent();
26 this.InitArduinoValues();
27 this.InitCameraValues();
28 this.InitTurnTableValues();
29 this.InitLaserValues();
30 this.InitLimitValues();
31 this.InitPlacesValues();
32 this.InitResolutionValues();
33 this.InitLanguageValues();
34 this.InitFilterValues();
39 protected override void Dispose(
bool disposing)
43 this.components?.Dispose();
45 this.imagingControl.StopImaging();
47 this.DetachArduinoEvents();
48 this.DetachTurntableEvents();
49 this.DetachCameraEvents();
50 this.DetachFilterEvents();
51 this.DetachLaserEvents();
52 this.DetachLimitEvents();
53 this.DetachPlacesEvents();
55 base.Dispose(disposing);
Class for creating a singleton for a generic class
static T Instance
Gets the instance.
override void Dispose(bool disposing)
ConfigurationControl()
Initializes a new instance of the ConfigurationControl class.