BioCore  5.0.0
A Windows .NET microscopy library and application for viewing, editing, and annotating images.
Loading...
Searching...
No Matches
BioCore.RangeTool Class Reference
Inheritance diagram for BioCore.RangeTool:

Public Member Functions

 RangeTool (bool timeEnabled, bool cEnabled, int zmin, int zmax, int timeMin, int timeMax, int cmin, int cmax)
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.
 

Properties

int ZMin [get]
 
int ZMax [get]
 
int TimeMin [get]
 
int TimeMax [get]
 
int CMin [get]
 
int CMax [get]
 

Detailed Description

Definition at line 4 of file RangeTool.designer.cs.

Constructor & Destructor Documentation

◆ RangeTool()

BioCore.RangeTool.RangeTool ( bool timeEnabled,
bool cEnabled,
int zmin,
int zmax,
int timeMin,
int timeMax,
int cmin,
int cmax )

Definition at line 6 of file RangeTool.cs.

7 {
8 InitializeComponent();
9 zMinBox.Value = zmin;
10 zMaxBox.Value = zmax;
11 if (!timeEnabled)
12 {
13 timeMinBox.Enabled = false;
14 timeMaxBox.Enabled = false;
15 return;
16 }
17 if (!cEnabled)
18 {
19 cMinBox.Enabled = false;
20 cMaxBox.Enabled = false;
21 }
22 timeMinBox.Value = timeMin;
23 timeMaxBox.Value = timeMax;
24
25 cMinBox.Value = cmin;
26 cMaxBox.Value = cmax;
27 }

Member Function Documentation

◆ Dispose()

override void BioCore.RangeTool.Dispose ( bool disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 15 of file RangeTool.designer.cs.

16 {
17 if (disposing && (components != null))
18 {
19 components.Dispose();
20 }
21 base.Dispose(disposing);
22 }

Property Documentation

◆ CMax

int BioCore.RangeTool.CMax
get

Definition at line 69 of file RangeTool.cs.

70 {
71 get
72 {
73 return (int)cMaxBox.Value;
74 }
75 }

◆ CMin

int BioCore.RangeTool.CMin
get

Definition at line 61 of file RangeTool.cs.

62 {
63 get
64 {
65 return (int)cMinBox.Value;
66 }
67 }

◆ TimeMax

int BioCore.RangeTool.TimeMax
get

Definition at line 53 of file RangeTool.cs.

54 {
55 get
56 {
57 return (int)timeMaxBox.Value;
58 }
59 }

◆ TimeMin

int BioCore.RangeTool.TimeMin
get

Definition at line 45 of file RangeTool.cs.

46 {
47 get
48 {
49 return (int)timeMinBox.Value;
50 }
51 }

◆ ZMax

int BioCore.RangeTool.ZMax
get

Definition at line 37 of file RangeTool.cs.

38 {
39 get
40 {
41 return (int)zMaxBox.Value;
42 }
43 }

◆ ZMin

int BioCore.RangeTool.ZMin
get

Definition at line 29 of file RangeTool.cs.

30 {
31 get
32 {
33 return (int)zMinBox.Value;
34 }
35 }

The documentation for this class was generated from the following files: