89 : base(handle)
90 {
91 _builder = builder;
92 builder.Autoconnect(this);
93 xBox.ValueChanged += xBox_ValueChanged;
94 yBox.ValueChanged += yBox_ValueChanged;
95 wBox.ValueChanged += wBox_ValueChanged;
96 hBox.ValueChanged += hBox_ValueChanged;
97 rBox.ValueChanged += rBox_ValueChanged;
98 gBox.ValueChanged += gBox_ValueChanged;
99 bBox.ValueChanged += bBox_ValueChanged;
100 zBox.ValueChanged += zBox_ValueChanged;
101 cBox.ValueChanged += cBox_ValueChanged;
102 tBox.ValueChanged += tBox_ValueChanged;
103 widthBox.ValueChanged += strokeWBox_ValueChanged;
104 pointXBox.ValueChanged += pointXBox_ValueChanged;
105 pointYBox.ValueChanged += pointYBox_ValueChanged;
106 pointBox.ValueChanged += pointBox_ValueChanged;
107 selBox.ValueChanged += selectBoxSize_ValueChanged;
108 widthBox.ValueChanged += strokeWBox_ValueChanged;
109 textBox.Changed += textBox_TextChanged;
110 idBox.Changed += idBox_TextChanged;
111 boundsBox.Clicked += showBoundsBox_ActiveChanged;
112 showTextBox.Clicked += showTextBox_ActiveChanged;
113 showRBox.Clicked += showRBox_ActiveChanged;
114 showGBox.Clicked += showGBox_ActiveChanged;
115 showBBox.Clicked += showBBox_ActiveChanged;
116 this.DeleteEvent += ROIManager_DeleteEvent;
117
118
119 roiView.RowActivated += RoiView_RowActivated;
120 roiView.ActivateOnSingleClick = true;
121 this.FocusInEvent += ROIManager_FocusInEvent;
122
123 xBox.Adjustment.Upper = PointD.MaxX;
124 xBox.Adjustment.StepIncrement= 0.1;
125 xBox.Adjustment.PageIncrement= 1;
126 yBox.Adjustment.Upper = PointD.MaxY;
127 yBox.Adjustment.StepIncrement = 0.1;
128 yBox.Adjustment.PageIncrement = 1;
129 wBox.Adjustment.Upper = PointD.MaxX;
130 wBox.Adjustment.StepIncrement = 0.1;
131 wBox.Adjustment.PageIncrement = 1;
132 hBox.Adjustment.Upper = PointD.MaxY;
133 xBox.Adjustment.StepIncrement = 0.1;
134 xBox.Adjustment.PageIncrement = 1;
135 rBox.Adjustment.Upper = byte.MaxValue;
136 rBox.Adjustment.StepIncrement = 1;
137 rBox.Adjustment.PageIncrement = 1;
138 gBox.Adjustment.Upper = byte.MaxValue;
139 gBox.Adjustment.StepIncrement = 1;
140 gBox.Adjustment.PageIncrement = 1;
141 bBox.Adjustment.Upper = byte.MaxValue;
142 bBox.Adjustment.StepIncrement = 1;
143 bBox.Adjustment.PageIncrement = 1;
144 zBox.Adjustment.Upper = 10000;
145 zBox.Adjustment.StepIncrement = 1;
146 zBox.Adjustment.PageIncrement = 1;
147 cBox.Adjustment.Upper = 10000;
148 cBox.Adjustment.StepIncrement = 1;
149 cBox.Adjustment.PageIncrement = 1;
150 tBox.Adjustment.Upper = 10000;
151 tBox.Adjustment.StepIncrement = 1;
152 tBox.Adjustment.PageIncrement = 1;
153 widthBox.Adjustment.Upper = 100;
154 widthBox.Adjustment.StepIncrement = 1;
155 widthBox.Adjustment.PageIncrement = 1;
156 pointBox.Adjustment.Upper = 100000;
157 pointBox.Adjustment.StepIncrement = 1;
158 pointBox.Adjustment.PageIncrement = 1;
159 pointXBox.Adjustment.Upper = PointD.MaxX;
160 pointXBox.Adjustment.StepIncrement = 0.1;
161 pointXBox.Adjustment.PageIncrement = 1;
162 pointYBox.Adjustment.Upper = PointD.MaxY;
163 pointYBox.Adjustment.StepIncrement = 0.1;
164 pointYBox.Adjustment.PageIncrement = 1;
166 selBox.Adjustment.Upper = 100;
167 selBox.Adjustment.StepIncrement = 1;
169 App.ApplyStyles(this);
170 }
void InitItems()
Definition ROIManager.cs:273
static float selectBoxSize
Definition Bio.cs:521