|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used. More...
|
| |
Definition at line 19 of file MicroscopeSetup.cs.
◆ MicroscopeSetup()
| BioImager.MicroscopeSetup.MicroscopeSetup |
( |
| ) |
|
Definition at line 22 of file MicroscopeSetup.cs.
23 {
24 InitializeComponent();
25 if (!System.IO.Directory.Exists(Application.StartupPath + "//" + "Config"))
26 System.IO.Directory.CreateDirectory(Application.StartupPath + "//" + "Config");
27 Objectives_Load();
28
29 simCameraBox.Checked = Properties.Settings.Default.SimulateCamera;
30 if (simCameraBox.Checked)
31 {
32 imageLabel.Text = Properties.Settings.Default.SimulatedImage;
33 if(File.Exists(Properties.Settings.Default.SimulatedImage))
34 simImage = BioImage.
OpenFile(Properties.Settings.Default.SimulatedImage);
35 }
36 }
static BioImage OpenFile(string file)
◆ Dispose()
| override void BioImager.MicroscopeSetup.Dispose |
( |
bool |
disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 15 of file MicroscopeSetup.Designer.cs.
16 {
17 if (disposing && (components != null))
18 {
19 components.Dispose();
20 }
21 base.Dispose(disposing);
22 }
◆ SettingExist()
| static bool BioImager.MicroscopeSetup.SettingExist |
( |
string |
settingName | ) |
|
|
static |
Definition at line 442 of file MicroscopeSetup.cs.
443 {
444 return Properties.Settings.Default.Properties.Cast<SettingsProperty>().Any(prop => prop.Name == settingName);
445 }
◆ simImage
| BioImage BioImager.MicroscopeSetup.simImage = null |
|
static |
The documentation for this class was generated from the following files: