Loading...
Searching...
No Matches
Form1.Designer.cs
1namespace TransportGUI
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.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
32 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
33 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
34 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
35 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
36 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
37 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
38 System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
39 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
40 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
41 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
42 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
43 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
44 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
45 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
46 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
47 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
48 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
49 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
50 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
51 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
52 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
53 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
54 this.button1 = new System.Windows.Forms.Button();
55 this.dataGridView1 = new System.Windows.Forms.DataGridView();
56 this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
57 this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
58 this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
59 this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
60 this.groupBox2 = new System.Windows.Forms.GroupBox();
61 this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
62 this.dataGridViewX = new System.Windows.Forms.DataGridView();
63 this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
64 this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
65 this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
66 this.tabControl2 = new System.Windows.Forms.TabControl();
67 this.tabPage3 = new System.Windows.Forms.TabPage();
68 this.tabPage4 = new System.Windows.Forms.TabPage();
69 this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
70 this.dataGridDistance = new System.Windows.Forms.DataGridView();
71 this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
72 this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
73 this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
74 this.groupBox1 = new System.Windows.Forms.GroupBox();
75 this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
76 this.button2 = new System.Windows.Forms.Button();
77 this.tabControl1 = new System.Windows.Forms.TabControl();
78 this.tabPage2 = new System.Windows.Forms.TabPage();
79 this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
80 this.groupBox4 = new System.Windows.Forms.GroupBox();
81 this.dataGridDemand = new System.Windows.Forms.DataGridView();
82 this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
83 this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
84 this.groupBox3 = new System.Windows.Forms.GroupBox();
85 this.dataGridCapacity = new System.Windows.Forms.DataGridView();
86 this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
87 this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
88 this.tabPage1 = new System.Windows.Forms.TabPage();
89 this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
90 this.label1 = new System.Windows.Forms.Label();
91 this.dataGridPhi = new System.Windows.Forms.DataGridView();
92 this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
93 this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
94 this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
95 this.splitContainer1 = new System.Windows.Forms.SplitContainer();
96 ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
97 this.groupBox2.SuspendLayout();
98 this.tableLayoutPanel4.SuspendLayout();
99 ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX)).BeginInit();
100 this.tabControl2.SuspendLayout();
101 this.tabPage3.SuspendLayout();
102 this.tabPage4.SuspendLayout();
103 ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
104 ((System.ComponentModel.ISupportInitialize)(this.dataGridDistance)).BeginInit();
105 this.groupBox1.SuspendLayout();
106 this.tableLayoutPanel1.SuspendLayout();
107 this.tabControl1.SuspendLayout();
108 this.tabPage2.SuspendLayout();
109 this.tableLayoutPanel3.SuspendLayout();
110 this.groupBox4.SuspendLayout();
111 ((System.ComponentModel.ISupportInitialize)(this.dataGridDemand)).BeginInit();
112 this.groupBox3.SuspendLayout();
113 ((System.ComponentModel.ISupportInitialize)(this.dataGridCapacity)).BeginInit();
114 this.tabPage1.SuspendLayout();
115 this.tableLayoutPanel2.SuspendLayout();
116 ((System.ComponentModel.ISupportInitialize)(this.dataGridPhi)).BeginInit();
117 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
118 this.splitContainer1.Panel1.SuspendLayout();
119 this.splitContainer1.Panel2.SuspendLayout();
120 this.splitContainer1.SuspendLayout();
121 this.SuspendLayout();
122 //
123 // button1
124 //
125 this.button1.Anchor = System.Windows.Forms.AnchorStyles.Right;
126 this.button1.Location = new System.Drawing.Point(389, 4);
127 this.button1.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
128 this.button1.Name = "button1";
129 this.button1.Size = new System.Drawing.Size(118, 36);
130 this.button1.TabIndex = 1;
131 this.button1.Text = "Solve";
132 this.button1.UseVisualStyleBackColor = true;
133 this.button1.Click += new System.EventHandler(this.button1_Click);
134 //
135 // dataGridView1
136 //
137 this.dataGridView1.AllowUserToAddRows = false;
138 this.dataGridView1.AllowUserToOrderColumns = true;
139 this.dataGridView1.AllowUserToResizeRows = false;
140 this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
141 this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
142 dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
143 dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
144 dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
145 dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
146 dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
147 dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
148 dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
149 this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
150 this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
151 this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
152 this.Column1,
153 this.Column2,
154 this.Column3,
155 this.Column4});
156 dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
157 dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
158 dataGridViewCellStyle2.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
159 dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
160 dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
161 dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
162 dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
163 this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
164 this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
165 this.dataGridView1.Location = new System.Drawing.Point(3, 3);
166 this.dataGridView1.MultiSelect = false;
167 this.dataGridView1.Name = "dataGridView1";
168 this.dataGridView1.ReadOnly = true;
169 dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
170 dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
171 dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
172 dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
173 dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
174 dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
175 dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
176 this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
177 this.dataGridView1.RowHeadersVisible = false;
178 this.dataGridView1.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
179 this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
180 this.dataGridView1.Size = new System.Drawing.Size(493, 135);
181 this.dataGridView1.TabIndex = 0;
182 this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
183 //
184 // Column1
185 //
186 this.Column1.HeaderText = "phi";
187 this.Column1.Name = "Column1";
188 this.Column1.ReadOnly = true;
189 this.Column1.Width = 60;
190 //
191 // Column2
192 //
193 this.Column2.HeaderText = "ModelStatus";
194 this.Column2.Name = "Column2";
195 this.Column2.ReadOnly = true;
196 this.Column2.Width = 120;
197 //
198 // Column3
199 //
200 this.Column3.HeaderText = "SolverStatus";
201 this.Column3.Name = "Column3";
202 this.Column3.ReadOnly = true;
203 this.Column3.Width = 120;
204 //
205 // Column4
206 //
207 this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
208 this.Column4.HeaderText = "Objective";
209 this.Column4.Name = "Column4";
210 this.Column4.ReadOnly = true;
211 //
212 // groupBox2
213 //
214 this.groupBox2.Controls.Add(this.tableLayoutPanel4);
215 this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
216 this.groupBox2.Location = new System.Drawing.Point(0, 0);
217 this.groupBox2.Name = "groupBox2";
218 this.groupBox2.Size = new System.Drawing.Size(519, 365);
219 this.groupBox2.TabIndex = 3;
220 this.groupBox2.TabStop = false;
221 this.groupBox2.Text = "Results";
222 //
223 // tableLayoutPanel4
224 //
225 this.tableLayoutPanel4.ColumnCount = 1;
226 this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
227 this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
228 this.tableLayoutPanel4.Controls.Add(this.dataGridViewX, 0, 1);
229 this.tableLayoutPanel4.Controls.Add(this.tabControl2, 0, 0);
230 this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
231 this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 16);
232 this.tableLayoutPanel4.Name = "tableLayoutPanel4";
233 this.tableLayoutPanel4.RowCount = 2;
234 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
235 this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
236 this.tableLayoutPanel4.Size = new System.Drawing.Size(513, 346);
237 this.tableLayoutPanel4.TabIndex = 7;
238 //
239 // dataGridViewX
240 //
241 this.dataGridViewX.AllowUserToAddRows = false;
242 this.dataGridViewX.AllowUserToOrderColumns = true;
243 this.dataGridViewX.BackgroundColor = System.Drawing.Color.White;
244 this.dataGridViewX.BorderStyle = System.Windows.Forms.BorderStyle.None;
245 dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
246 dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
247 dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
248 dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
249 dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
250 dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
251 dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
252 this.dataGridViewX.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
253 this.dataGridViewX.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
254 this.dataGridViewX.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
255 this.Column9,
256 this.Column10,
257 this.Column11});
258 dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
259 dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
260 dataGridViewCellStyle5.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
261 dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
262 dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
263 dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
264 dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
265 this.dataGridViewX.DefaultCellStyle = dataGridViewCellStyle5;
266 this.dataGridViewX.Dock = System.Windows.Forms.DockStyle.Fill;
267 this.dataGridViewX.Location = new System.Drawing.Point(3, 176);
268 this.dataGridViewX.Name = "dataGridViewX";
269 this.dataGridViewX.ReadOnly = true;
270 dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
271 dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
272 dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
273 dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
274 dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
275 dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
276 dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
277 this.dataGridViewX.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
278 this.dataGridViewX.RowHeadersVisible = false;
279 this.dataGridViewX.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
280 this.dataGridViewX.Size = new System.Drawing.Size(507, 167);
281 this.dataGridViewX.TabIndex = 7;
282 //
283 // Column9
284 //
285 this.Column9.HeaderText = "plants";
286 this.Column9.Name = "Column9";
287 this.Column9.ReadOnly = true;
288 //
289 // Column10
290 //
291 this.Column10.HeaderText = "markets";
292 this.Column10.Name = "Column10";
293 this.Column10.ReadOnly = true;
294 //
295 // Column11
296 //
297 this.Column11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
298 this.Column11.HeaderText = "shipment";
299 this.Column11.Name = "Column11";
300 this.Column11.ReadOnly = true;
301 //
302 // tabControl2
303 //
304 this.tabControl2.Controls.Add(this.tabPage3);
305 this.tabControl2.Controls.Add(this.tabPage4);
306 this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
307 this.tabControl2.Location = new System.Drawing.Point(3, 3);
308 this.tabControl2.Name = "tabControl2";
309 this.tabControl2.SelectedIndex = 0;
310 this.tabControl2.Size = new System.Drawing.Size(507, 167);
311 this.tabControl2.TabIndex = 6;
312 //
313 // tabPage3
314 //
315 this.tabPage3.Controls.Add(this.dataGridView1);
316 this.tabPage3.Location = new System.Drawing.Point(4, 22);
317 this.tabPage3.Name = "tabPage3";
318 this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
319 this.tabPage3.Size = new System.Drawing.Size(499, 141);
320 this.tabPage3.TabIndex = 0;
321 this.tabPage3.Text = "Scenario Overview";
322 this.tabPage3.UseVisualStyleBackColor = true;
323 //
324 // tabPage4
325 //
326 this.tabPage4.Controls.Add(this.chart1);
327 this.tabPage4.Location = new System.Drawing.Point(4, 22);
328 this.tabPage4.Name = "tabPage4";
329 this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
330 this.tabPage4.Size = new System.Drawing.Size(445, 112);
331 this.tabPage4.TabIndex = 1;
332 this.tabPage4.Text = "Cost";
333 this.tabPage4.UseVisualStyleBackColor = true;
334 //
335 // chart1
336 //
337 this.chart1.BackColor = System.Drawing.Color.Transparent;
338 this.chart1.BackImageTransparentColor = System.Drawing.Color.White;
339 this.chart1.BackSecondaryColor = System.Drawing.Color.Transparent;
340 this.chart1.BorderlineColor = System.Drawing.Color.Transparent;
341 chartArea1.Name = "ChartArea1";
342 this.chart1.ChartAreas.Add(chartArea1);
343 this.chart1.Dock = System.Windows.Forms.DockStyle.Fill;
344 this.chart1.Location = new System.Drawing.Point(3, 3);
345 this.chart1.Name = "chart1";
346 this.chart1.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
347 series1.ChartArea = "ChartArea1";
348 series1.Name = "Series1";
349 this.chart1.Series.Add(series1);
350 this.chart1.Size = new System.Drawing.Size(439, 106);
351 this.chart1.TabIndex = 1;
352 this.chart1.Text = "chart1";
353 //
354 // dataGridDistance
355 //
356 this.dataGridDistance.AllowUserToAddRows = false;
357 this.dataGridDistance.BackgroundColor = System.Drawing.Color.White;
358 this.dataGridDistance.BorderStyle = System.Windows.Forms.BorderStyle.None;
359 dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
360 dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
361 dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
362 dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
363 dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
364 dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
365 dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
366 this.dataGridDistance.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
367 this.dataGridDistance.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
368 this.dataGridDistance.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
369 this.Column5,
370 this.Column6,
371 this.Column7});
372 dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
373 dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
374 dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
375 dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
376 dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
377 dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
378 dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
379 this.dataGridDistance.DefaultCellStyle = dataGridViewCellStyle8;
380 this.dataGridDistance.Dock = System.Windows.Forms.DockStyle.Fill;
381 this.dataGridDistance.Location = new System.Drawing.Point(3, 3);
382 this.dataGridDistance.Name = "dataGridDistance";
383 dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
384 dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
385 dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
386 dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
387 dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
388 dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
389 dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
390 this.dataGridDistance.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
391 this.dataGridDistance.RowHeadersVisible = false;
392 this.dataGridDistance.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
393 this.dataGridDistance.Size = new System.Drawing.Size(627, 159);
394 this.dataGridDistance.TabIndex = 4;
395 //
396 // Column5
397 //
398 this.Column5.HeaderText = "plants";
399 this.Column5.Name = "Column5";
400 this.Column5.ReadOnly = true;
401 //
402 // Column6
403 //
404 this.Column6.HeaderText = "market";
405 this.Column6.Name = "Column6";
406 this.Column6.ReadOnly = true;
407 //
408 // Column7
409 //
410 this.Column7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
411 this.Column7.HeaderText = "distance";
412 this.Column7.Name = "Column7";
413 this.Column7.Resizable = System.Windows.Forms.DataGridViewTriState.True;
414 //
415 // groupBox1
416 //
417 this.groupBox1.Controls.Add(this.tableLayoutPanel1);
418 this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
419 this.groupBox1.Location = new System.Drawing.Point(0, 0);
420 this.groupBox1.Name = "groupBox1";
421 this.groupBox1.Size = new System.Drawing.Size(519, 300);
422 this.groupBox1.TabIndex = 5;
423 this.groupBox1.TabStop = false;
424 this.groupBox1.Text = "Data";
425 //
426 // tableLayoutPanel1
427 //
428 this.tableLayoutPanel1.ColumnCount = 1;
429 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
430 this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
431 this.tableLayoutPanel1.Controls.Add(this.button2, 0, 0);
432 this.tableLayoutPanel1.Controls.Add(this.tabControl1, 0, 1);
433 this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 2);
434 this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
435 this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
436 this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
437 this.tableLayoutPanel1.Name = "tableLayoutPanel1";
438 this.tableLayoutPanel1.RowCount = 3;
439 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
440 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
441 this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
442 this.tableLayoutPanel1.Size = new System.Drawing.Size(513, 281);
443 this.tableLayoutPanel1.TabIndex = 0;
444 //
445 // button2
446 //
447 this.button2.Anchor = System.Windows.Forms.AnchorStyles.Left;
448 this.button2.Location = new System.Drawing.Point(0, 3);
449 this.button2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
450 this.button2.Name = "button2";
451 this.button2.Size = new System.Drawing.Size(118, 34);
452 this.button2.TabIndex = 6;
453 this.button2.Text = "Load External Data";
454 this.button2.UseVisualStyleBackColor = true;
455 this.button2.Click += new System.EventHandler(this.button2_Click);
456 //
457 // tabControl1
458 //
459 this.tabControl1.Controls.Add(this.tabPage2);
460 this.tabControl1.Controls.Add(this.tabPage1);
461 this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
462 this.tabControl1.Location = new System.Drawing.Point(0, 40);
463 this.tabControl1.Margin = new System.Windows.Forms.Padding(0);
464 this.tabControl1.Name = "tabControl1";
465 this.tabControl1.SelectedIndex = 0;
466 this.tabControl1.Size = new System.Drawing.Size(513, 191);
467 this.tabControl1.TabIndex = 6;
468 //
469 // tabPage2
470 //
471 this.tabPage2.Controls.Add(this.tableLayoutPanel3);
472 this.tabPage2.Location = new System.Drawing.Point(4, 22);
473 this.tabPage2.Name = "tabPage2";
474 this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
475 this.tabPage2.Size = new System.Drawing.Size(505, 165);
476 this.tabPage2.TabIndex = 1;
477 this.tabPage2.Text = "Capacity and Demand";
478 this.tabPage2.UseVisualStyleBackColor = true;
479 //
480 // tableLayoutPanel3
481 //
482 this.tableLayoutPanel3.ColumnCount = 2;
483 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
484 this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
485 this.tableLayoutPanel3.Controls.Add(this.groupBox4, 1, 0);
486 this.tableLayoutPanel3.Controls.Add(this.groupBox3, 0, 0);
487 this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
488 this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3);
489 this.tableLayoutPanel3.Name = "tableLayoutPanel3";
490 this.tableLayoutPanel3.RowCount = 1;
491 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
492 this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 159F));
493 this.tableLayoutPanel3.Size = new System.Drawing.Size(499, 159);
494 this.tableLayoutPanel3.TabIndex = 0;
495 //
496 // groupBox4
497 //
498 this.groupBox4.Controls.Add(this.dataGridDemand);
499 this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
500 this.groupBox4.Location = new System.Drawing.Point(252, 3);
501 this.groupBox4.Name = "groupBox4";
502 this.groupBox4.Size = new System.Drawing.Size(244, 153);
503 this.groupBox4.TabIndex = 13;
504 this.groupBox4.TabStop = false;
505 this.groupBox4.Text = "demand";
506 //
507 // dataGridDemand
508 //
509 this.dataGridDemand.BackgroundColor = System.Drawing.Color.White;
510 this.dataGridDemand.BorderStyle = System.Windows.Forms.BorderStyle.None;
511 dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
512 dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
513 dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
514 dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
515 dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
516 dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
517 dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
518 this.dataGridDemand.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
519 this.dataGridDemand.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
520 this.dataGridDemand.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
521 this.dataGridViewTextBoxColumn2,
522 this.dataGridViewTextBoxColumn4});
523 dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
524 dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
525 dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
526 dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText;
527 dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
528 dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
529 dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
530 this.dataGridDemand.DefaultCellStyle = dataGridViewCellStyle11;
531 this.dataGridDemand.Dock = System.Windows.Forms.DockStyle.Fill;
532 this.dataGridDemand.Location = new System.Drawing.Point(3, 16);
533 this.dataGridDemand.MultiSelect = false;
534 this.dataGridDemand.Name = "dataGridDemand";
535 dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
536 dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
537 dataGridViewCellStyle12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
538 dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
539 dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
540 dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
541 dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
542 this.dataGridDemand.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
543 this.dataGridDemand.RowHeadersVisible = false;
544 dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
545 this.dataGridDemand.RowsDefaultCellStyle = dataGridViewCellStyle13;
546 this.dataGridDemand.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
547 this.dataGridDemand.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
548 this.dataGridDemand.Size = new System.Drawing.Size(238, 134);
549 this.dataGridDemand.TabIndex = 7;
550 this.dataGridDemand.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvCellBeginEdit);
551 this.dataGridDemand.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCellEndEdit);
552 this.dataGridDemand.SelectionChanged += new System.EventHandler(this.dgvSelectionChanged);
553 this.dataGridDemand.UserDeletedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dgvRowsRemoved);
554 //
555 // dataGridViewTextBoxColumn2
556 //
557 this.dataGridViewTextBoxColumn2.HeaderText = "markets";
558 this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
559 //
560 // dataGridViewTextBoxColumn4
561 //
562 this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
563 this.dataGridViewTextBoxColumn4.HeaderText = "demand";
564 this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
565 this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
566 //
567 // groupBox3
568 //
569 this.groupBox3.Controls.Add(this.dataGridCapacity);
570 this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
571 this.groupBox3.Location = new System.Drawing.Point(3, 3);
572 this.groupBox3.Name = "groupBox3";
573 this.groupBox3.Size = new System.Drawing.Size(243, 153);
574 this.groupBox3.TabIndex = 12;
575 this.groupBox3.TabStop = false;
576 this.groupBox3.Text = "capacity";
577 //
578 // dataGridCapacity
579 //
580 this.dataGridCapacity.BackgroundColor = System.Drawing.Color.White;
581 this.dataGridCapacity.BorderStyle = System.Windows.Forms.BorderStyle.None;
582 dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
583 dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
584 dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
585 dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
586 dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
587 dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
588 dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
589 this.dataGridCapacity.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
590 this.dataGridCapacity.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
591 this.dataGridCapacity.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
592 this.dataGridViewTextBoxColumn1,
593 this.dataGridViewTextBoxColumn3});
594 dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
595 dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Window;
596 dataGridViewCellStyle15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
597 dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.ControlText;
598 dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
599 dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
600 dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
601 this.dataGridCapacity.DefaultCellStyle = dataGridViewCellStyle15;
602 this.dataGridCapacity.Dock = System.Windows.Forms.DockStyle.Fill;
603 this.dataGridCapacity.Location = new System.Drawing.Point(3, 16);
604 this.dataGridCapacity.MultiSelect = false;
605 this.dataGridCapacity.Name = "dataGridCapacity";
606 dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
607 dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
608 dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
609 dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
610 dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
611 dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
612 dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
613 this.dataGridCapacity.RowHeadersDefaultCellStyle = dataGridViewCellStyle16;
614 this.dataGridCapacity.RowHeadersVisible = false;
615 dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
616 this.dataGridCapacity.RowsDefaultCellStyle = dataGridViewCellStyle17;
617 this.dataGridCapacity.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
618 this.dataGridCapacity.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
619 this.dataGridCapacity.Size = new System.Drawing.Size(237, 134);
620 this.dataGridCapacity.TabIndex = 5;
621 this.dataGridCapacity.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvCellBeginEdit);
622 this.dataGridCapacity.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCellEndEdit);
623 this.dataGridCapacity.SelectionChanged += new System.EventHandler(this.dgvSelectionChanged);
624 this.dataGridCapacity.UserDeletedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dgvRowsRemoved);
625 //
626 // dataGridViewTextBoxColumn1
627 //
628 this.dataGridViewTextBoxColumn1.HeaderText = "plants";
629 this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
630 //
631 // dataGridViewTextBoxColumn3
632 //
633 this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
634 this.dataGridViewTextBoxColumn3.HeaderText = "capacity";
635 this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
636 this.dataGridViewTextBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
637 //
638 // tabPage1
639 //
640 this.tabPage1.Controls.Add(this.dataGridDistance);
641 this.tabPage1.Location = new System.Drawing.Point(4, 22);
642 this.tabPage1.Name = "tabPage1";
643 this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
644 this.tabPage1.Size = new System.Drawing.Size(633, 165);
645 this.tabPage1.TabIndex = 0;
646 this.tabPage1.Text = "Distance";
647 this.tabPage1.UseVisualStyleBackColor = true;
648 //
649 // tableLayoutPanel2
650 //
651 this.tableLayoutPanel2.ColumnCount = 3;
652 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 110F));
653 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 198F));
654 this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
655 this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0);
656 this.tableLayoutPanel2.Controls.Add(this.button1, 2, 0);
657 this.tableLayoutPanel2.Controls.Add(this.dataGridPhi, 1, 0);
658 this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
659 this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 234);
660 this.tableLayoutPanel2.Name = "tableLayoutPanel2";
661 this.tableLayoutPanel2.RowCount = 1;
662 this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
663 this.tableLayoutPanel2.Size = new System.Drawing.Size(507, 44);
664 this.tableLayoutPanel2.TabIndex = 7;
665 //
666 // label1
667 //
668 this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;
669 this.label1.AutoSize = true;
670 this.label1.Location = new System.Drawing.Point(3, 9);
671 this.label1.Name = "label1";
672 this.label1.Size = new System.Drawing.Size(103, 26);
673 this.label1.TabIndex = 11;
674 this.label1.Text = "Demand and cost elasticity factor (phi):";
675 //
676 // dataGridPhi
677 //
678 this.dataGridPhi.AllowUserToAddRows = false;
679 this.dataGridPhi.Anchor = System.Windows.Forms.AnchorStyles.None;
680 this.dataGridPhi.BackgroundColor = System.Drawing.Color.White;
681 this.dataGridPhi.BorderStyle = System.Windows.Forms.BorderStyle.None;
682 dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
683 dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
684 dataGridViewCellStyle18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
685 dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
686 dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
687 dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
688 dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
689 this.dataGridPhi.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;
690 this.dataGridPhi.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
691 this.dataGridPhi.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
692 this.dataGridViewTextBoxColumn5,
693 this.Column8,
694 this.dataGridViewTextBoxColumn6});
695 dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
696 dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Window;
697 dataGridViewCellStyle19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
698 dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.ControlText;
699 dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
700 dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
701 dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
702 this.dataGridPhi.DefaultCellStyle = dataGridViewCellStyle19;
703 this.dataGridPhi.Location = new System.Drawing.Point(115, 4);
704 this.dataGridPhi.Name = "dataGridPhi";
705 dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
706 dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control;
707 dataGridViewCellStyle20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
708 dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText;
709 dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
710 dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
711 dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
712 this.dataGridPhi.RowHeadersDefaultCellStyle = dataGridViewCellStyle20;
713 this.dataGridPhi.RowHeadersVisible = false;
714 this.dataGridPhi.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopRight;
715 this.dataGridPhi.Size = new System.Drawing.Size(188, 36);
716 this.dataGridPhi.TabIndex = 10;
717 //
718 // dataGridViewTextBoxColumn5
719 //
720 this.dataGridViewTextBoxColumn5.HeaderText = "min";
721 this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
722 this.dataGridViewTextBoxColumn5.Width = 60;
723 //
724 // Column8
725 //
726 this.Column8.HeaderText = "max";
727 this.Column8.Name = "Column8";
728 this.Column8.Width = 60;
729 //
730 // dataGridViewTextBoxColumn6
731 //
732 this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
733 this.dataGridViewTextBoxColumn6.HeaderText = "steps";
734 this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
735 this.dataGridViewTextBoxColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.True;
736 //
737 // splitContainer1
738 //
739 this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
740 this.splitContainer1.Location = new System.Drawing.Point(3, 3);
741 this.splitContainer1.Name = "splitContainer1";
742 this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
743 //
744 // splitContainer1.Panel1
745 //
746 this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
747 //
748 // splitContainer1.Panel2
749 //
750 this.splitContainer1.Panel2.Controls.Add(this.groupBox2);
751 this.splitContainer1.Size = new System.Drawing.Size(519, 669);
752 this.splitContainer1.SplitterDistance = 300;
753 this.splitContainer1.TabIndex = 12;
754 //
755 // Form1
756 //
757 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
758 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
759 this.ClientSize = new System.Drawing.Size(525, 675);
760 this.Controls.Add(this.splitContainer1);
761 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
762 this.MinimumSize = new System.Drawing.Size(541, 649);
763 this.Name = "Form1";
764 this.Padding = new System.Windows.Forms.Padding(3);
765 this.Text = "Transport";
766 ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
767 this.groupBox2.ResumeLayout(false);
768 this.tableLayoutPanel4.ResumeLayout(false);
769 ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX)).EndInit();
770 this.tabControl2.ResumeLayout(false);
771 this.tabPage3.ResumeLayout(false);
772 this.tabPage4.ResumeLayout(false);
773 ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
774 ((System.ComponentModel.ISupportInitialize)(this.dataGridDistance)).EndInit();
775 this.groupBox1.ResumeLayout(false);
776 this.tableLayoutPanel1.ResumeLayout(false);
777 this.tabControl1.ResumeLayout(false);
778 this.tabPage2.ResumeLayout(false);
779 this.tableLayoutPanel3.ResumeLayout(false);
780 this.groupBox4.ResumeLayout(false);
781 ((System.ComponentModel.ISupportInitialize)(this.dataGridDemand)).EndInit();
782 this.groupBox3.ResumeLayout(false);
783 ((System.ComponentModel.ISupportInitialize)(this.dataGridCapacity)).EndInit();
784 this.tabPage1.ResumeLayout(false);
785 this.tableLayoutPanel2.ResumeLayout(false);
786 this.tableLayoutPanel2.PerformLayout();
787 ((System.ComponentModel.ISupportInitialize)(this.dataGridPhi)).EndInit();
788 this.splitContainer1.Panel1.ResumeLayout(false);
789 this.splitContainer1.Panel2.ResumeLayout(false);
790 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
791 this.splitContainer1.ResumeLayout(false);
792 this.ResumeLayout(false);
793
794 }
795
796 #endregion
797
798 private System.Windows.Forms.Button button1;
799 private System.Windows.Forms.DataGridView dataGridView1;
800 private System.Windows.Forms.GroupBox groupBox2;
801 private System.Windows.Forms.DataGridView dataGridDistance;
802 private System.Windows.Forms.GroupBox groupBox1;
803 private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
804 private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
805 private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
806 private System.Windows.Forms.DataVisualization.Charting.Chart chart1;
807 private System.Windows.Forms.TabControl tabControl1;
808 private System.Windows.Forms.TabPage tabPage1;
809 private System.Windows.Forms.TabPage tabPage2;
810 private System.Windows.Forms.DataGridView dataGridDemand;
811 private System.Windows.Forms.DataGridView dataGridCapacity;
812 private System.Windows.Forms.DataGridView dataGridPhi;
813 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
814 private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
815 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
816 private System.Windows.Forms.GroupBox groupBox3;
817 private System.Windows.Forms.GroupBox groupBox4;
818 private System.Windows.Forms.TabControl tabControl2;
819 private System.Windows.Forms.TabPage tabPage3;
820 private System.Windows.Forms.TabPage tabPage4;
821 private System.Windows.Forms.Button button2;
822 private System.Windows.Forms.Label label1;
823 private System.Windows.Forms.SplitContainer splitContainer1;
824 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
825 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
826 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
827 private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
828 private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
829 private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
830 private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
831 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
832 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
833 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
834 private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
835 private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
836 private System.Windows.Forms.DataGridView dataGridViewX;
837 private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
838 private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
839 private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
840 }
841}
842
In this example a series of transportation problems is solved using GAMSModelInstance....
Definition: Form1.cs:25
override void Dispose(bool disposing)
Clean up any resources being used.