Loading...
Searching...
No Matches
Form1.Designer.cs
1namespace Demo1GUI
2{
3 partial class Form1
4 {
8 private System.ComponentModel.IContainer components = null;
9
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
29 private void InitializeComponent()
30 {
31 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
32 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
33 System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
34 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
35 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
36 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
37 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
38 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
39 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
40 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
41 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
42 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
43 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
44 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
45 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
46 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
47 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
48 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
49 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
50 this.groupBox2 = new System.Windows.Forms.GroupBox();
51 this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
52 this.tabControl2 = new System.Windows.Forms.TabControl();
53 this.tabPage3 = new System.Windows.Forms.TabPage();
54 this.chart2 = new System.Windows.Forms.DataVisualization.Charting.Chart();
55 this.tabPage4 = new System.Windows.Forms.TabPage();
56 this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
57 this.tabPage6 = new System.Windows.Forms.TabPage();
58 this.dataGridCR = new System.Windows.Forms.DataGridView();
59 this.tabPage7 = new System.Windows.Forms.TabPage();
60 this.dataGridViewLRS = new System.Windows.Forms.DataGridView();
61 this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
62 this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
63 this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
64 this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
65 this.label4 = new System.Windows.Forms.Label();
66 this.dataGridLandReq = new System.Windows.Forms.DataGridView();
67 this.wheat_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
68 this.clover_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
69 this.beans_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
70 this.onions_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
71 this.cotton_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
72 this.maize_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
73 this.tomato_land = new System.Windows.Forms.DataGridViewTextBoxColumn();
74 this.groupBox1 = new System.Windows.Forms.GroupBox();
75 this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
76 this.tabControl1 = new System.Windows.Forms.TabControl();
77 this.tabPage1 = new System.Windows.Forms.TabPage();
78 this.tabPage2 = new System.Windows.Forms.TabPage();
79 this.dataGridLaborReq = new System.Windows.Forms.DataGridView();
80 this.wheat_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
81 this.clover_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
82 this.beans_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
83 this.onions_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
84 this.cotton_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
85 this.maize_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
86 this.tomato_lab = new System.Windows.Forms.DataGridViewTextBoxColumn();
87 this.tabPage5 = new System.Windows.Forms.TabPage();
88 this.dataGridYPM = new System.Windows.Forms.DataGridView();
89 this.wheat_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
90 this.clover_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
91 this.beans_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
92 this.onions_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
93 this.cotton_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
94 this.maize_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
95 this.tomato_ypm = new System.Windows.Forms.DataGridViewTextBoxColumn();
96 this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
97 this.button1 = new System.Windows.Forms.Button();
98 this.label1 = new System.Windows.Forms.Label();
99 this.textBoxLand = new System.Windows.Forms.TextBox();
100 this.textBoxTwage = new System.Windows.Forms.TextBox();
101 this.label2 = new System.Windows.Forms.Label();
102 this.label3 = new System.Windows.Forms.Label();
103 this.textBoxOwage = new System.Windows.Forms.TextBox();
104 this.splitContainer1 = new System.Windows.Forms.SplitContainer();
105 this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
106 this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
107 this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
108 this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
109 this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
110 this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
111 this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
112 this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
113 this.groupBox2.SuspendLayout();
114 this.tableLayoutPanel2.SuspendLayout();
115 this.tabControl2.SuspendLayout();
116 this.tabPage3.SuspendLayout();
117 ((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
118 this.tabPage4.SuspendLayout();
119 ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
120 this.tabPage6.SuspendLayout();
121 ((System.ComponentModel.ISupportInitialize)(this.dataGridCR)).BeginInit();
122 this.tabPage7.SuspendLayout();
123 ((System.ComponentModel.ISupportInitialize)(this.dataGridViewLRS)).BeginInit();
124 ((System.ComponentModel.ISupportInitialize)(this.dataGridLandReq)).BeginInit();
125 this.groupBox1.SuspendLayout();
126 this.tableLayoutPanel1.SuspendLayout();
127 this.tabControl1.SuspendLayout();
128 this.tabPage1.SuspendLayout();
129 this.tabPage2.SuspendLayout();
130 ((System.ComponentModel.ISupportInitialize)(this.dataGridLaborReq)).BeginInit();
131 this.tabPage5.SuspendLayout();
132 ((System.ComponentModel.ISupportInitialize)(this.dataGridYPM)).BeginInit();
133 this.tableLayoutPanel3.SuspendLayout();
134 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
135 this.splitContainer1.Panel1.SuspendLayout();
136 this.splitContainer1.Panel2.SuspendLayout();
137 this.splitContainer1.SuspendLayout();
138 this.SuspendLayout();
139 //
140 // groupBox2
141 //
142 this.groupBox2.Controls.Add(this.tableLayoutPanel2);
143 this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
144 this.groupBox2.Location = new System.Drawing.Point(0, 0);
145 this.groupBox2.Name = "groupBox2";
146 this.groupBox2.Size = new System.Drawing.Size(548, 297);
147 this.groupBox2.TabIndex = 3;
148 this.groupBox2.TabStop = false;
149 this.groupBox2.Text = "Results";
150 //
151 // tableLayoutPanel2
152 //
153 this.tableLayoutPanel2.ColumnCount = 1;
154 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
155 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
156 this.tableLayoutPanel2.Controls.Add(this.tabControl2, 0, 1);
157 this.tableLayoutPanel2.Controls.Add(this.label4, 0, 0);
158 this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
159 this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 16);
160 this.tableLayoutPanel2.Name = "tableLayoutPanel2";
161 this.tableLayoutPanel2.RowCount = 2;
162 this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
163 this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
164 this.tableLayoutPanel2.Size = new System.Drawing.Size(542, 278);
165 this.tableLayoutPanel2.TabIndex = 8;
166 //
167 // tabControl2
168 //
169 this.tabControl2.Controls.Add(this.tabPage3);
170 this.tabControl2.Controls.Add(this.tabPage4);
171 this.tabControl2.Controls.Add(this.tabPage6);
172 this.tabControl2.Controls.Add(this.tabPage7);
173 this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
174 this.tabControl2.Location = new System.Drawing.Point(3, 33);
175 this.tabControl2.Name = "tabControl2";
176 this.tabControl2.SelectedIndex = 0;
177 this.tabControl2.Size = new System.Drawing.Size(536, 242);
178 this.tabControl2.TabIndex = 6;
179 //
180 // tabPage3
181 //
182 this.tabPage3.Controls.Add(this.chart2);
183 this.tabPage3.Location = new System.Drawing.Point(4, 22);
184 this.tabPage3.Name = "tabPage3";
185 this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
186 this.tabPage3.Size = new System.Drawing.Size(547, 216);
187 this.tabPage3.TabIndex = 0;
188 this.tabPage3.Text = "Total Land Use";
189 this.tabPage3.UseVisualStyleBackColor = true;
190 //
191 // chart2
192 //
193 chartArea1.Name = "ChartArea1";
194 this.chart2.ChartAreas.Add(chartArea1);
195 this.chart2.Dock = System.Windows.Forms.DockStyle.Fill;
196 this.chart2.Location = new System.Drawing.Point(3, 3);
197 this.chart2.Name = "chart2";
198 this.chart2.Size = new System.Drawing.Size(541, 210);
199 this.chart2.TabIndex = 0;
200 this.chart2.Text = "chart2";
201 //
202 // tabPage4
203 //
204 this.tabPage4.Controls.Add(this.chart1);
205 this.tabPage4.Location = new System.Drawing.Point(4, 22);
206 this.tabPage4.Name = "tabPage4";
207 this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
208 this.tabPage4.Size = new System.Drawing.Size(528, 216);
209 this.tabPage4.TabIndex = 1;
210 this.tabPage4.Text = "Land Use";
211 this.tabPage4.UseVisualStyleBackColor = true;
212 //
213 // chart1
214 //
215 chartArea2.Name = "ChartArea1";
216 this.chart1.ChartAreas.Add(chartArea2);
217 this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
218 legend1.Name = "Legend1";
219 this.chart1.Legends.Add(legend1);
220 this.chart1.Location = new System.Drawing.Point(3, 3);
221 this.chart1.Name = "chart1";
222 this.chart1.Size = new System.Drawing.Size(522, 210);
223 this.chart1.TabIndex = 0;
224 this.chart1.Text = "landuse";
225 //
226 // tabPage6
227 //
228 this.tabPage6.Controls.Add(this.dataGridCR);
229 this.tabPage6.Location = new System.Drawing.Point(4, 22);
230 this.tabPage6.Name = "tabPage6";
231 this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
232 this.tabPage6.Size = new System.Drawing.Size(528, 216);
233 this.tabPage6.TabIndex = 2;
234 this.tabPage6.Text = "Crop Report Summary";
235 this.tabPage6.UseVisualStyleBackColor = true;
236 //
237 // dataGridCR
238 //
239 this.dataGridCR.AllowUserToAddRows = false;
240 this.dataGridCR.BackgroundColor = System.Drawing.Color.White;
241 this.dataGridCR.BorderStyle = System.Windows.Forms.BorderStyle.None;
242 dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
243 dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
244 dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
245 dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
246 dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
247 dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
248 dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
249 this.dataGridCR.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
250 this.dataGridCR.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
251 this.dataGridCR.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
252 this.dataGridViewTextBoxColumn1,
253 this.dataGridViewTextBoxColumn2,
254 this.dataGridViewTextBoxColumn3,
255 this.dataGridViewTextBoxColumn4,
256 this.dataGridViewTextBoxColumn5,
257 this.dataGridViewTextBoxColumn6,
258 this.dataGridViewTextBoxColumn7,
259 this.Column1});
260 dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
261 dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
262 dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
263 dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
264 dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
265 dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
266 dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
267 this.dataGridCR.DefaultCellStyle = dataGridViewCellStyle2;
268 this.dataGridCR.Dock = System.Windows.Forms.DockStyle.Fill;
269 this.dataGridCR.Location = new System.Drawing.Point(3, 3);
270 this.dataGridCR.Name = "dataGridCR";
271 this.dataGridCR.ReadOnly = true;
272 this.dataGridCR.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
273 dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
274 dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
275 dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
276 dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
277 dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
278 dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
279 dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
280 this.dataGridCR.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
281 this.dataGridCR.RowHeadersWidth = 80;
282 this.dataGridCR.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
283 this.dataGridCR.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
284 this.dataGridCR.Size = new System.Drawing.Size(522, 210);
285 this.dataGridCR.TabIndex = 7;
286 //
287 // tabPage7
288 //
289 this.tabPage7.Controls.Add(this.dataGridViewLRS);
290 this.tabPage7.Location = new System.Drawing.Point(4, 22);
291 this.tabPage7.Name = "tabPage7";
292 this.tabPage7.Padding = new System.Windows.Forms.Padding(3);
293 this.tabPage7.Size = new System.Drawing.Size(528, 216);
294 this.tabPage7.TabIndex = 3;
295 this.tabPage7.Text = "Labor Report Summary (days)";
296 this.tabPage7.UseVisualStyleBackColor = true;
297 //
298 // dataGridViewLRS
299 //
300 this.dataGridViewLRS.AllowUserToAddRows = false;
301 this.dataGridViewLRS.BackgroundColor = System.Drawing.Color.White;
302 this.dataGridViewLRS.BorderStyle = System.Windows.Forms.BorderStyle.None;
303 dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
304 dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
305 dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
306 dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
307 dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
308 dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
309 dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
310 this.dataGridViewLRS.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
311 this.dataGridViewLRS.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
312 this.dataGridViewLRS.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
313 this.Column2,
314 this.Column3,
315 this.Column4,
316 this.Column5});
317 dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
318 dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
319 dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
320 dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
321 dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
322 dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
323 dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
324 this.dataGridViewLRS.DefaultCellStyle = dataGridViewCellStyle5;
325 this.dataGridViewLRS.Dock = System.Windows.Forms.DockStyle.Fill;
326 this.dataGridViewLRS.Location = new System.Drawing.Point(3, 3);
327 this.dataGridViewLRS.Name = "dataGridViewLRS";
328 this.dataGridViewLRS.ReadOnly = true;
329 this.dataGridViewLRS.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
330 dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
331 dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
332 dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
333 dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
334 dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
335 dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
336 dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
337 this.dataGridViewLRS.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
338 this.dataGridViewLRS.RowHeadersWidth = 70;
339 this.dataGridViewLRS.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
340 this.dataGridViewLRS.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
341 this.dataGridViewLRS.Size = new System.Drawing.Size(522, 210);
342 this.dataGridViewLRS.TabIndex = 8;
343 //
344 // Column2
345 //
346 this.Column2.HeaderText = "demand";
347 this.Column2.Name = "Column2";
348 this.Column2.ReadOnly = true;
349 //
350 // Column3
351 //
352 this.Column3.HeaderText = "family";
353 this.Column3.Name = "Column3";
354 this.Column3.ReadOnly = true;
355 //
356 // Column4
357 //
358 this.Column4.HeaderText = "temporary";
359 this.Column4.Name = "Column4";
360 this.Column4.ReadOnly = true;
361 //
362 // Column5
363 //
364 this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
365 this.Column5.HeaderText = "hire-out";
366 this.Column5.Name = "Column5";
367 this.Column5.ReadOnly = true;
368 //
369 // label4
370 //
371 this.label4.Anchor = System.Windows.Forms.AnchorStyles.Left;
372 this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
373 this.label4.Location = new System.Drawing.Point(3, 8);
374 this.label4.Name = "label4";
375 this.label4.Size = new System.Drawing.Size(200, 13);
376 this.label4.TabIndex = 7;
377 this.label4.Text = "Farm income ($):";
378 this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
379 //
380 // dataGridLandReq
381 //
382 this.dataGridLandReq.AllowUserToAddRows = false;
383 this.dataGridLandReq.BackgroundColor = System.Drawing.Color.White;
384 this.dataGridLandReq.BorderStyle = System.Windows.Forms.BorderStyle.None;
385 dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
386 dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
387 dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
388 dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
389 dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
390 dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
391 dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
392 this.dataGridLandReq.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
393 this.dataGridLandReq.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
394 this.dataGridLandReq.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
395 this.wheat_land,
396 this.clover_land,
397 this.beans_land,
398 this.onions_land,
399 this.cotton_land,
400 this.maize_land,
401 this.tomato_land});
402 dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
403 dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
404 dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
405 dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
406 dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
407 dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
408 dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
409 this.dataGridLandReq.DefaultCellStyle = dataGridViewCellStyle8;
410 this.dataGridLandReq.Dock = System.Windows.Forms.DockStyle.Fill;
411 this.dataGridLandReq.Location = new System.Drawing.Point(3, 3);
412 this.dataGridLandReq.Name = "dataGridLandReq";
413 this.dataGridLandReq.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
414 dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
415 dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
416 dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
417 dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
418 dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
419 dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
420 dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
421 this.dataGridLandReq.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
422 this.dataGridLandReq.RowHeadersWidth = 70;
423 this.dataGridLandReq.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
424 this.dataGridLandReq.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
425 this.dataGridLandReq.Size = new System.Drawing.Size(522, 223);
426 this.dataGridLandReq.TabIndex = 4;
427 //
428 // wheat_land
429 //
430 this.wheat_land.HeaderText = "wheat";
431 this.wheat_land.Name = "wheat_land";
432 this.wheat_land.Width = 60;
433 //
434 // clover_land
435 //
436 this.clover_land.HeaderText = "clover";
437 this.clover_land.Name = "clover_land";
438 this.clover_land.Width = 60;
439 //
440 // beans_land
441 //
442 this.beans_land.HeaderText = "beans";
443 this.beans_land.Name = "beans_land";
444 this.beans_land.Width = 60;
445 //
446 // onions_land
447 //
448 this.onions_land.HeaderText = "onions";
449 this.onions_land.Name = "onions_land";
450 this.onions_land.Width = 60;
451 //
452 // cotton_land
453 //
454 this.cotton_land.HeaderText = "cotton";
455 this.cotton_land.Name = "cotton_land";
456 this.cotton_land.Width = 60;
457 //
458 // maize_land
459 //
460 this.maize_land.HeaderText = "maize";
461 this.maize_land.Name = "maize_land";
462 this.maize_land.Width = 60;
463 //
464 // tomato_land
465 //
466 this.tomato_land.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
467 this.tomato_land.HeaderText = "tomato";
468 this.tomato_land.Name = "tomato_land";
469 //
470 // groupBox1
471 //
472 this.groupBox1.Controls.Add(this.tableLayoutPanel1);
473 this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
474 this.groupBox1.Location = new System.Drawing.Point(0, 0);
475 this.groupBox1.Name = "groupBox1";
476 this.groupBox1.Size = new System.Drawing.Size(548, 380);
477 this.groupBox1.TabIndex = 5;
478 this.groupBox1.TabStop = false;
479 this.groupBox1.Text = "Data";
480 //
481 // tableLayoutPanel1
482 //
483 this.tableLayoutPanel1.ColumnCount = 1;
484 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
485 this.tableLayoutPanel1.Controls.Add(this.tabControl1, 0, 0);
486 this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 1);
487 this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
488 this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
489 this.tableLayoutPanel1.Name = "tableLayoutPanel1";
490 this.tableLayoutPanel1.RowCount = 2;
491 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
492 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F));
493 this.tableLayoutPanel1.Size = new System.Drawing.Size(542, 361);
494 this.tableLayoutPanel1.TabIndex = 14;
495 //
496 // tabControl1
497 //
498 this.tabControl1.Controls.Add(this.tabPage1);
499 this.tabControl1.Controls.Add(this.tabPage2);
500 this.tabControl1.Controls.Add(this.tabPage5);
501 this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
502 this.tabControl1.Location = new System.Drawing.Point(3, 3);
503 this.tabControl1.Name = "tabControl1";
504 this.tabControl1.SelectedIndex = 0;
505 this.tabControl1.Size = new System.Drawing.Size(536, 255);
506 this.tabControl1.TabIndex = 6;
507 //
508 // tabPage1
509 //
510 this.tabPage1.Controls.Add(this.dataGridLandReq);
511 this.tabPage1.Location = new System.Drawing.Point(4, 22);
512 this.tabPage1.Name = "tabPage1";
513 this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
514 this.tabPage1.Size = new System.Drawing.Size(528, 229);
515 this.tabPage1.TabIndex = 0;
516 this.tabPage1.Text = "Land Requirement";
517 this.tabPage1.UseVisualStyleBackColor = true;
518 //
519 // tabPage2
520 //
521 this.tabPage2.Controls.Add(this.dataGridLaborReq);
522 this.tabPage2.Location = new System.Drawing.Point(4, 22);
523 this.tabPage2.Name = "tabPage2";
524 this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
525 this.tabPage2.Size = new System.Drawing.Size(528, 229);
526 this.tabPage2.TabIndex = 1;
527 this.tabPage2.Text = "Labor Requirement (man-days per ha)";
528 this.tabPage2.UseVisualStyleBackColor = true;
529 //
530 // dataGridLaborReq
531 //
532 this.dataGridLaborReq.AllowUserToAddRows = false;
533 this.dataGridLaborReq.BackgroundColor = System.Drawing.Color.White;
534 this.dataGridLaborReq.BorderStyle = System.Windows.Forms.BorderStyle.None;
535 dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
536 dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
537 dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
538 dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
539 dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
540 dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
541 dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
542 this.dataGridLaborReq.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
543 this.dataGridLaborReq.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
544 this.dataGridLaborReq.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
545 this.wheat_lab,
546 this.clover_lab,
547 this.beans_lab,
548 this.onions_lab,
549 this.cotton_lab,
550 this.maize_lab,
551 this.tomato_lab});
552 dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
553 dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
554 dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
555 dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText;
556 dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
557 dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
558 dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
559 this.dataGridLaborReq.DefaultCellStyle = dataGridViewCellStyle11;
560 this.dataGridLaborReq.Dock = System.Windows.Forms.DockStyle.Fill;
561 this.dataGridLaborReq.Location = new System.Drawing.Point(3, 3);
562 this.dataGridLaborReq.Name = "dataGridLaborReq";
563 this.dataGridLaborReq.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
564 dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
565 dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
566 dataGridViewCellStyle12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
567 dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
568 dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
569 dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
570 dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
571 this.dataGridLaborReq.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
572 this.dataGridLaborReq.RowHeadersWidth = 70;
573 this.dataGridLaborReq.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
574 this.dataGridLaborReq.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
575 this.dataGridLaborReq.Size = new System.Drawing.Size(522, 223);
576 this.dataGridLaborReq.TabIndex = 5;
577 //
578 // wheat_lab
579 //
580 this.wheat_lab.HeaderText = "wheat";
581 this.wheat_lab.Name = "wheat_lab";
582 this.wheat_lab.Width = 60;
583 //
584 // clover_lab
585 //
586 this.clover_lab.HeaderText = "clover";
587 this.clover_lab.Name = "clover_lab";
588 this.clover_lab.Width = 60;
589 //
590 // beans_lab
591 //
592 this.beans_lab.HeaderText = "beans";
593 this.beans_lab.Name = "beans_lab";
594 this.beans_lab.Width = 60;
595 //
596 // onions_lab
597 //
598 this.onions_lab.HeaderText = "onions";
599 this.onions_lab.Name = "onions_lab";
600 this.onions_lab.Width = 60;
601 //
602 // cotton_lab
603 //
604 this.cotton_lab.HeaderText = "cotton";
605 this.cotton_lab.Name = "cotton_lab";
606 this.cotton_lab.Width = 60;
607 //
608 // maize_lab
609 //
610 this.maize_lab.HeaderText = "maize";
611 this.maize_lab.Name = "maize_lab";
612 this.maize_lab.Width = 60;
613 //
614 // tomato_lab
615 //
616 this.tomato_lab.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
617 this.tomato_lab.HeaderText = "tomato";
618 this.tomato_lab.Name = "tomato_lab";
619 //
620 // tabPage5
621 //
622 this.tabPage5.Controls.Add(this.dataGridYPM);
623 this.tabPage5.Location = new System.Drawing.Point(4, 22);
624 this.tabPage5.Name = "tabPage5";
625 this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
626 this.tabPage5.Size = new System.Drawing.Size(528, 229);
627 this.tabPage5.TabIndex = 2;
628 this.tabPage5.Text = "Crop Data";
629 this.tabPage5.UseVisualStyleBackColor = true;
630 //
631 // dataGridYPM
632 //
633 this.dataGridYPM.AllowUserToAddRows = false;
634 this.dataGridYPM.BackgroundColor = System.Drawing.Color.White;
635 this.dataGridYPM.BorderStyle = System.Windows.Forms.BorderStyle.None;
636 dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
637 dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
638 dataGridViewCellStyle13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
639 dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
640 dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
641 dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
642 dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
643 this.dataGridYPM.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
644 this.dataGridYPM.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
645 this.dataGridYPM.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
646 this.wheat_ypm,
647 this.clover_ypm,
648 this.beans_ypm,
649 this.onions_ypm,
650 this.cotton_ypm,
651 this.maize_ypm,
652 this.tomato_ypm});
653 dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
654 dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window;
655 dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
656 dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.ControlText;
657 dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
658 dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
659 dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
660 this.dataGridYPM.DefaultCellStyle = dataGridViewCellStyle14;
661 this.dataGridYPM.Dock = System.Windows.Forms.DockStyle.Fill;
662 this.dataGridYPM.Location = new System.Drawing.Point(3, 3);
663 this.dataGridYPM.Name = "dataGridYPM";
664 this.dataGridYPM.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
665 dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
666 dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
667 dataGridViewCellStyle15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
668 dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
669 dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
670 dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
671 dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
672 this.dataGridYPM.RowHeadersDefaultCellStyle = dataGridViewCellStyle15;
673 this.dataGridYPM.RowHeadersWidth = 70;
674 this.dataGridYPM.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
675 this.dataGridYPM.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
676 this.dataGridYPM.Size = new System.Drawing.Size(522, 223);
677 this.dataGridYPM.TabIndex = 6;
678 //
679 // wheat_ypm
680 //
681 this.wheat_ypm.HeaderText = "wheat";
682 this.wheat_ypm.Name = "wheat_ypm";
683 this.wheat_ypm.Width = 60;
684 //
685 // clover_ypm
686 //
687 this.clover_ypm.HeaderText = "clover";
688 this.clover_ypm.Name = "clover_ypm";
689 this.clover_ypm.Width = 60;
690 //
691 // beans_ypm
692 //
693 this.beans_ypm.HeaderText = "beans";
694 this.beans_ypm.Name = "beans_ypm";
695 this.beans_ypm.Width = 60;
696 //
697 // onions_ypm
698 //
699 this.onions_ypm.HeaderText = "onions";
700 this.onions_ypm.Name = "onions_ypm";
701 this.onions_ypm.Width = 60;
702 //
703 // cotton_ypm
704 //
705 this.cotton_ypm.HeaderText = "cotton";
706 this.cotton_ypm.Name = "cotton_ypm";
707 this.cotton_ypm.Width = 60;
708 //
709 // maize_ypm
710 //
711 this.maize_ypm.HeaderText = "maize";
712 this.maize_ypm.Name = "maize_ypm";
713 this.maize_ypm.Width = 60;
714 //
715 // tomato_ypm
716 //
717 this.tomato_ypm.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
718 this.tomato_ypm.HeaderText = "tomato";
719 this.tomato_ypm.Name = "tomato_ypm";
720 //
721 // tableLayoutPanel3
722 //
723 this.tableLayoutPanel3.ColumnCount = 3;
724 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
725 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
726 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
727 this.tableLayoutPanel3.Controls.Add(this.button1, 2, 2);
728 this.tableLayoutPanel3.Controls.Add(this.label1, 0, 0);
729 this.tableLayoutPanel3.Controls.Add(this.textBoxLand, 1, 0);
730 this.tableLayoutPanel3.Controls.Add(this.textBoxTwage, 1, 2);
731 this.tableLayoutPanel3.Controls.Add(this.label2, 0, 1);
732 this.tableLayoutPanel3.Controls.Add(this.label3, 0, 2);
733 this.tableLayoutPanel3.Controls.Add(this.textBoxOwage, 1, 1);
734 this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
735 this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 264);
736 this.tableLayoutPanel3.Name = "tableLayoutPanel3";
737 this.tableLayoutPanel3.RowCount = 4;
738 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
739 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
740 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
741 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
742 this.tableLayoutPanel3.Size = new System.Drawing.Size(536, 94);
743 this.tableLayoutPanel3.TabIndex = 15;
744 //
745 // button1
746 //
747 this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
748 this.button1.Location = new System.Drawing.Point(396, 63);
749 this.button1.Name = "button1";
750 this.button1.Size = new System.Drawing.Size(137, 24);
751 this.button1.TabIndex = 13;
752 this.button1.Text = "Solve";
753 this.button1.UseVisualStyleBackColor = true;
754 this.button1.Click += new System.EventHandler(this.button1_Click_1);
755 //
756 // label1
757 //
758 this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
759 this.label1.AutoSize = true;
760 this.label1.Location = new System.Drawing.Point(120, 8);
761 this.label1.Name = "label1";
762 this.label1.Size = new System.Drawing.Size(77, 13);
763 this.label1.TabIndex = 7;
764 this.label1.Text = "Farm Size (ha):";
765 //
766 // textBoxLand
767 //
768 this.textBoxLand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
769 this.textBoxLand.Location = new System.Drawing.Point(203, 7);
770 this.textBoxLand.Name = "textBoxLand";
771 this.textBoxLand.Size = new System.Drawing.Size(94, 20);
772 this.textBoxLand.TabIndex = 8;
773 //
774 // textBoxTwage
775 //
776 this.textBoxTwage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
777 this.textBoxTwage.Location = new System.Drawing.Point(203, 67);
778 this.textBoxTwage.Name = "textBoxTwage";
779 this.textBoxTwage.Size = new System.Drawing.Size(94, 20);
780 this.textBoxTwage.TabIndex = 12;
781 //
782 // label2
783 //
784 this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
785 this.label2.AutoSize = true;
786 this.label2.Location = new System.Drawing.Point(36, 38);
787 this.label2.Name = "label2";
788 this.label2.Size = new System.Drawing.Size(161, 13);
789 this.label2.TabIndex = 9;
790 this.label2.Text = "Hire-out Wage Rate ($ per day):";
791 //
792 // label3
793 //
794 this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
795 this.label3.AutoSize = true;
796 this.label3.Location = new System.Drawing.Point(19, 68);
797 this.label3.Name = "label3";
798 this.label3.Size = new System.Drawing.Size(178, 13);
799 this.label3.TabIndex = 11;
800 this.label3.Text = "Temporary Labor Wage ($ per day):";
801 //
802 // textBoxOwage
803 //
804 this.textBoxOwage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
805 this.textBoxOwage.Location = new System.Drawing.Point(203, 37);
806 this.textBoxOwage.Name = "textBoxOwage";
807 this.textBoxOwage.Size = new System.Drawing.Size(94, 20);
808 this.textBoxOwage.TabIndex = 10;
809 //
810 // splitContainer1
811 //
812 this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
813 this.splitContainer1.Location = new System.Drawing.Point(5, 5);
814 this.splitContainer1.Name = "splitContainer1";
815 this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
816 //
817 // splitContainer1.Panel1
818 //
819 this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
820 //
821 // splitContainer1.Panel2
822 //
823 this.splitContainer1.Panel2.Controls.Add(this.groupBox2);
824 this.splitContainer1.Size = new System.Drawing.Size(548, 681);
825 this.splitContainer1.SplitterDistance = 380;
826 this.splitContainer1.TabIndex = 6;
827 //
828 // dataGridViewTextBoxColumn1
829 //
830 this.dataGridViewTextBoxColumn1.HeaderText = "wheat";
831 this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
832 this.dataGridViewTextBoxColumn1.ReadOnly = true;
833 this.dataGridViewTextBoxColumn1.Width = 50;
834 //
835 // dataGridViewTextBoxColumn2
836 //
837 this.dataGridViewTextBoxColumn2.HeaderText = "clover";
838 this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
839 this.dataGridViewTextBoxColumn2.ReadOnly = true;
840 this.dataGridViewTextBoxColumn2.Width = 50;
841 //
842 // dataGridViewTextBoxColumn3
843 //
844 this.dataGridViewTextBoxColumn3.HeaderText = "beans";
845 this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
846 this.dataGridViewTextBoxColumn3.ReadOnly = true;
847 this.dataGridViewTextBoxColumn3.Width = 50;
848 //
849 // dataGridViewTextBoxColumn4
850 //
851 this.dataGridViewTextBoxColumn4.HeaderText = "onions";
852 this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
853 this.dataGridViewTextBoxColumn4.ReadOnly = true;
854 this.dataGridViewTextBoxColumn4.Width = 50;
855 //
856 // dataGridViewTextBoxColumn5
857 //
858 this.dataGridViewTextBoxColumn5.HeaderText = "cotton";
859 this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
860 this.dataGridViewTextBoxColumn5.ReadOnly = true;
861 this.dataGridViewTextBoxColumn5.Width = 50;
862 //
863 // dataGridViewTextBoxColumn6
864 //
865 this.dataGridViewTextBoxColumn6.HeaderText = "maize";
866 this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
867 this.dataGridViewTextBoxColumn6.ReadOnly = true;
868 this.dataGridViewTextBoxColumn6.Width = 50;
869 //
870 // dataGridViewTextBoxColumn7
871 //
872 this.dataGridViewTextBoxColumn7.HeaderText = "tomato";
873 this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
874 this.dataGridViewTextBoxColumn7.ReadOnly = true;
875 this.dataGridViewTextBoxColumn7.Width = 50;
876 //
877 // Column1
878 //
879 this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
880 this.Column1.HeaderText = "total";
881 this.Column1.Name = "Column1";
882 this.Column1.ReadOnly = true;
883 //
884 // Form1
885 //
886 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
887 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
888 this.ClientSize = new System.Drawing.Size(558, 691);
889 this.Controls.Add(this.splitContainer1);
890 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
891 this.MinimumSize = new System.Drawing.Size(561, 729);
892 this.Name = "Form1";
893 this.Padding = new System.Windows.Forms.Padding(5);
894 this.Text = "Farm";
895 this.groupBox2.ResumeLayout(false);
896 this.tableLayoutPanel2.ResumeLayout(false);
897 this.tabControl2.ResumeLayout(false);
898 this.tabPage3.ResumeLayout(false);
899 ((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
900 this.tabPage4.ResumeLayout(false);
901 ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
902 this.tabPage6.ResumeLayout(false);
903 ((System.ComponentModel.ISupportInitialize)(this.dataGridCR)).EndInit();
904 this.tabPage7.ResumeLayout(false);
905 ((System.ComponentModel.ISupportInitialize)(this.dataGridViewLRS)).EndInit();
906 ((System.ComponentModel.ISupportInitialize)(this.dataGridLandReq)).EndInit();
907 this.groupBox1.ResumeLayout(false);
908 this.tableLayoutPanel1.ResumeLayout(false);
909 this.tabControl1.ResumeLayout(false);
910 this.tabPage1.ResumeLayout(false);
911 this.tabPage2.ResumeLayout(false);
912 ((System.ComponentModel.ISupportInitialize)(this.dataGridLaborReq)).EndInit();
913 this.tabPage5.ResumeLayout(false);
914 ((System.ComponentModel.ISupportInitialize)(this.dataGridYPM)).EndInit();
915 this.tableLayoutPanel3.ResumeLayout(false);
916 this.tableLayoutPanel3.PerformLayout();
917 this.splitContainer1.Panel1.ResumeLayout(false);
918 this.splitContainer1.Panel2.ResumeLayout(false);
919 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
920 this.splitContainer1.ResumeLayout(false);
921 this.ResumeLayout(false);
922
923 }
924
925 #endregion
926
927 private System.Windows.Forms.GroupBox groupBox2;
928 private System.Windows.Forms.DataGridView dataGridLandReq;
929 private System.Windows.Forms.GroupBox groupBox1;
930 private System.Windows.Forms.TabControl tabControl1;
931 private System.Windows.Forms.TabPage tabPage1;
932 private System.Windows.Forms.TabControl tabControl2;
933 private System.Windows.Forms.TabPage tabPage3;
934 private System.Windows.Forms.TabPage tabPage2;
935 private System.Windows.Forms.DataGridView dataGridLaborReq;
936 private System.Windows.Forms.TabPage tabPage4;
937 private System.Windows.Forms.DataVisualization.Charting.Chart chart1;
938 private System.Windows.Forms.DataVisualization.Charting.Chart chart2;
939 private System.Windows.Forms.DataGridViewTextBoxColumn wheat_land;
940 private System.Windows.Forms.DataGridViewTextBoxColumn clover_land;
941 private System.Windows.Forms.DataGridViewTextBoxColumn beans_land;
942 private System.Windows.Forms.DataGridViewTextBoxColumn onions_land;
943 private System.Windows.Forms.DataGridViewTextBoxColumn cotton_land;
944 private System.Windows.Forms.DataGridViewTextBoxColumn maize_land;
945 private System.Windows.Forms.DataGridViewTextBoxColumn tomato_land;
946 private System.Windows.Forms.DataGridViewTextBoxColumn wheat_lab;
947 private System.Windows.Forms.DataGridViewTextBoxColumn clover_lab;
948 private System.Windows.Forms.DataGridViewTextBoxColumn beans_lab;
949 private System.Windows.Forms.DataGridViewTextBoxColumn onions_lab;
950 private System.Windows.Forms.DataGridViewTextBoxColumn cotton_lab;
951 private System.Windows.Forms.DataGridViewTextBoxColumn maize_lab;
952 private System.Windows.Forms.DataGridViewTextBoxColumn tomato_lab;
953 private System.Windows.Forms.TabPage tabPage5;
954 private System.Windows.Forms.DataGridView dataGridYPM;
955 private System.Windows.Forms.DataGridViewTextBoxColumn wheat_ypm;
956 private System.Windows.Forms.DataGridViewTextBoxColumn clover_ypm;
957 private System.Windows.Forms.DataGridViewTextBoxColumn beans_ypm;
958 private System.Windows.Forms.DataGridViewTextBoxColumn onions_ypm;
959 private System.Windows.Forms.DataGridViewTextBoxColumn cotton_ypm;
960 private System.Windows.Forms.DataGridViewTextBoxColumn maize_ypm;
961 private System.Windows.Forms.DataGridViewTextBoxColumn tomato_ypm;
962 private System.Windows.Forms.SplitContainer splitContainer1;
963 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
964 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
965 private System.Windows.Forms.Button button1;
966 private System.Windows.Forms.Label label1;
967 private System.Windows.Forms.TextBox textBoxLand;
968 private System.Windows.Forms.TextBox textBoxTwage;
969 private System.Windows.Forms.Label label2;
970 private System.Windows.Forms.Label label3;
971 private System.Windows.Forms.TextBox textBoxOwage;
972 private System.Windows.Forms.Label label4;
973 private System.Windows.Forms.TabPage tabPage6;
974 private System.Windows.Forms.DataGridView dataGridCR;
975 private System.Windows.Forms.TabPage tabPage7;
976 private System.Windows.Forms.DataGridView dataGridViewLRS;
977 private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
978 private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
979 private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
980 private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
981 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
982 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
983 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
984 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
985 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
986 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
987 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
988 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
989 private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
990 }
991}
992
For this farming model, the input data can be entered directly into several tables....
Definition: Form1.cs:23
override void Dispose(bool disposing)
Clean up any resources being used.