|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used.
|
| |
Definition at line 3 of file HistogramControl.Designer.cs.
◆ HistogramControl()
| BioCore.HistogramControl.HistogramControl |
( |
Channel | c | ) |
|
Definition at line 17 of file HistogramControl.cs.
18 {
19 channel = c;
20 this.Dock = DockStyle.Fill;
21 InitializeComponent();
22 if (c.BitsPerPixel == 8)
23 {
24 graphMax = 255;
26 }
27 else
28 {
29 graphMax = ushort.MaxValue;
31 }
32
33 }
◆ Dispose()
| override void BioCore.HistogramControl.Dispose |
( |
bool | disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file HistogramControl.Designer.cs.
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
◆ UpdateChannel()
| void BioCore.HistogramControl.UpdateChannel |
( |
Channel | c | ) |
|
This function updates the channel variable with the channel that is passed in
- Parameters
-
| Channel | The channel to update |
Definition at line 156 of file HistogramControl.cs.
157 {
158 channel = c;
159 }
◆ UpdateView()
| void BioCore.HistogramControl.UpdateView |
( |
| ) |
|
This function is called when the view needs to be updated
Definition at line 161 of file HistogramControl.cs.
162 {
163 this.Invalidate();
164 }
◆ AxisNumbers
| bool BioCore.HistogramControl.AxisNumbers |
|
getset |
Definition at line 134 of file HistogramControl.cs.
135 {
136 get { return axisNumbers;}
137 set { axisNumbers = value; }
138 }
◆ AxisTicks
| bool BioCore.HistogramControl.AxisTicks |
|
getset |
Definition at line 142 of file HistogramControl.cs.
143 {
144 get { return axisTicks; }
145 set { axisTicks = value; }
146 }
◆ Bin
| float BioCore.HistogramControl.Bin |
|
getset |
Definition at line 37 of file HistogramControl.cs.
38 {
39 get
40 {
41 return bin;
42 }
43 set
44 {
45 bin = value;
46 }
47 }
◆ GraphMax
| int BioCore.HistogramControl.GraphMax |
|
getset |
Definition at line 74 of file HistogramControl.cs.
75 {
76 get { return graphMax; }
77 set { graphMax = value; }
78 }
◆ GraphMin
| int BioCore.HistogramControl.GraphMin |
|
getset |
Definition at line 81 of file HistogramControl.cs.
82 {
83 get { return graphMin; }
84 set { graphMin = value; }
85 }
◆ Max
| float BioCore.HistogramControl.Max |
|
getset |
Definition at line 62 of file HistogramControl.cs.
63 {
64 get { return max; }
65 set
66 {
67 if (channel != null)
68 channel.range[App.channelsTool.SelectedSample].Max = (int)value;
69 max = (int)value;
70 }
71 }
◆ Min
| float BioCore.HistogramControl.Min |
|
getset |
Definition at line 50 of file HistogramControl.cs.
51 {
52 get { return min; }
53 set
54 {
55 if(channel!=null)
56 channel.range[App.channelsTool.SelectedSample].Min = (int)value;
57 min = (int)value;
58 }
59 }
◆ MouseValX
| float BioCore.HistogramControl.MouseValX |
|
get |
◆ MouseValY
| float BioCore.HistogramControl.MouseValY |
|
get |
◆ MouseX
| int BioCore.HistogramControl.MouseX |
|
get |
◆ MouseY
| int BioCore.HistogramControl.MouseY |
|
get |
◆ StackHistogram
| bool BioCore.HistogramControl.StackHistogram |
|
getset |
Definition at line 88 of file HistogramControl.cs.
89 {
90 get
91 {
92 return stackHistogram;
93 }
94 set
95 {
96 stackHistogram = value;
97 }
98 }
◆ StatusMessage
| string BioCore.HistogramControl.StatusMessage = "Loading histogram…" |
|
getset |
The documentation for this class was generated from the following files: