개정판 6e0eeedc
dev issue #000 : add
Change-Id: Ia31ae6b96725b5f7dbd3f07cf2ef27ba14b0c7e0
DTI_PID/ID2PSN/Form/MainForm.cs | ||
---|---|---|
14 | 14 |
using DevExpress.XtraGrid; |
15 | 15 |
using DevExpress.XtraGrid.Views.Grid; |
16 | 16 |
using DevExpress.XtraGrid.Columns; |
17 |
using System.Reflection; |
|
17 | 18 |
|
18 | 19 |
namespace ID2PSN |
19 | 20 |
{ |
... | ... | |
44 | 45 |
DB.GetPipeSystemNetwork()); |
45 | 46 |
|
46 | 47 |
currentPSN = DB.GetDBPSN(); |
48 |
|
|
49 |
this.Text += string.Format(" v.{0}", Assembly.GetExecutingAssembly().GetName().Version.ToString()); |
|
47 | 50 |
} |
48 | 51 |
|
49 | 52 |
private void showButton_Click(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) |
DTI_PID/ID2PSN/Form/PriorityForm.Designer.cs | ||
---|---|---|
96 | 96 |
this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; |
97 | 97 |
this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; |
98 | 98 |
this.ribbonControl.ShowToolbarCustomizeItem = false; |
99 |
this.ribbonControl.Size = new System.Drawing.Size(564, 32);
|
|
99 |
this.ribbonControl.Size = new System.Drawing.Size(572, 32);
|
|
100 | 100 |
this.ribbonControl.Toolbar.ShowCustomizeItem = false; |
101 | 101 |
// |
102 | 102 |
// layoutControl1 |
... | ... | |
113 | 113 |
this.layoutControl1.Name = "layoutControl1"; |
114 | 114 |
this.layoutControl1.OptionsView.UseDefaultDragAndDropRendering = false; |
115 | 115 |
this.layoutControl1.Root = this.Root; |
116 |
this.layoutControl1.Size = new System.Drawing.Size(564, 941);
|
|
116 |
this.layoutControl1.Size = new System.Drawing.Size(572, 945);
|
|
117 | 117 |
this.layoutControl1.TabIndex = 1; |
118 | 118 |
this.layoutControl1.Text = "layoutControl1"; |
119 | 119 |
// |
120 | 120 |
// btnImport |
121 | 121 |
// |
122 | 122 |
this.btnImport.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnImport.ImageOptions.SvgImage"))); |
123 |
this.btnImport.Location = new System.Drawing.Point(116, 891);
|
|
123 |
this.btnImport.Location = new System.Drawing.Point(116, 895);
|
|
124 | 124 |
this.btnImport.Name = "btnImport"; |
125 | 125 |
this.btnImport.Size = new System.Drawing.Size(81, 38); |
126 | 126 |
this.btnImport.StyleController = this.layoutControl1; |
... | ... | |
131 | 131 |
// btnExport |
132 | 132 |
// |
133 | 133 |
this.btnExport.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnExport.ImageOptions.SvgImage"))); |
134 |
this.btnExport.Location = new System.Drawing.Point(12, 891);
|
|
134 |
this.btnExport.Location = new System.Drawing.Point(12, 895);
|
|
135 | 135 |
this.btnExport.Name = "btnExport"; |
136 | 136 |
this.btnExport.Size = new System.Drawing.Size(80, 38); |
137 | 137 |
this.btnExport.StyleController = this.layoutControl1; |
... | ... | |
142 | 142 |
// btnDown |
143 | 143 |
// |
144 | 144 |
this.btnDown.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnDown.ImageOptions.Image"))); |
145 |
this.btnDown.Location = new System.Drawing.Point(530, 12);
|
|
145 |
this.btnDown.Location = new System.Drawing.Point(538, 12);
|
|
146 | 146 |
this.btnDown.Name = "btnDown"; |
147 | 147 |
this.btnDown.Size = new System.Drawing.Size(22, 22); |
148 | 148 |
this.btnDown.StyleController = this.layoutControl1; |
... | ... | |
152 | 152 |
// btnUp |
153 | 153 |
// |
154 | 154 |
this.btnUp.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnUp.ImageOptions.Image"))); |
155 |
this.btnUp.Location = new System.Drawing.Point(484, 12);
|
|
155 |
this.btnUp.Location = new System.Drawing.Point(492, 12);
|
|
156 | 156 |
this.btnUp.Name = "btnUp"; |
157 | 157 |
this.btnUp.Size = new System.Drawing.Size(22, 22); |
158 | 158 |
this.btnUp.StyleController = this.layoutControl1; |
... | ... | |
162 | 162 |
// btnClose |
163 | 163 |
// |
164 | 164 |
this.btnClose.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.ImageOptions.Image"))); |
165 |
this.btnClose.Location = new System.Drawing.Point(482, 891);
|
|
165 |
this.btnClose.Location = new System.Drawing.Point(490, 895);
|
|
166 | 166 |
this.btnClose.Name = "btnClose"; |
167 | 167 |
this.btnClose.Size = new System.Drawing.Size(70, 36); |
168 | 168 |
this.btnClose.StyleController = this.layoutControl1; |
... | ... | |
173 | 173 |
// btnSave |
174 | 174 |
// |
175 | 175 |
this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); |
176 |
this.btnSave.Location = new System.Drawing.Point(390, 891);
|
|
176 |
this.btnSave.Location = new System.Drawing.Point(398, 895);
|
|
177 | 177 |
this.btnSave.Name = "btnSave"; |
178 | 178 |
this.btnSave.Size = new System.Drawing.Size(68, 36); |
179 | 179 |
this.btnSave.StyleController = this.layoutControl1; |
... | ... | |
186 | 186 |
this.xtraTabControlSetting.Location = new System.Drawing.Point(12, 38); |
187 | 187 |
this.xtraTabControlSetting.Name = "xtraTabControlSetting"; |
188 | 188 |
this.xtraTabControlSetting.SelectedTabPage = this.xtraTabPageFluidCode; |
189 |
this.xtraTabControlSetting.Size = new System.Drawing.Size(540, 849);
|
|
189 |
this.xtraTabControlSetting.Size = new System.Drawing.Size(548, 853);
|
|
190 | 190 |
this.xtraTabControlSetting.TabIndex = 4; |
191 | 191 |
this.xtraTabControlSetting.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { |
192 | 192 |
this.xtraTabPageFluidCode, |
... | ... | |
196 | 196 |
// |
197 | 197 |
this.xtraTabPageFluidCode.Controls.Add(this.gridControlFluidCode); |
198 | 198 |
this.xtraTabPageFluidCode.Name = "xtraTabPageFluidCode"; |
199 |
this.xtraTabPageFluidCode.Size = new System.Drawing.Size(538, 823);
|
|
199 |
this.xtraTabPageFluidCode.Size = new System.Drawing.Size(546, 827);
|
|
200 | 200 |
this.xtraTabPageFluidCode.Text = "Fluid Code"; |
201 | 201 |
// |
202 | 202 |
// gridControlFluidCode |
... | ... | |
206 | 206 |
this.gridControlFluidCode.MainView = this.gridViewFluidCode; |
207 | 207 |
this.gridControlFluidCode.MenuManager = this.ribbonControl; |
208 | 208 |
this.gridControlFluidCode.Name = "gridControlFluidCode"; |
209 |
this.gridControlFluidCode.Size = new System.Drawing.Size(538, 823);
|
|
209 |
this.gridControlFluidCode.Size = new System.Drawing.Size(546, 827);
|
|
210 | 210 |
this.gridControlFluidCode.TabIndex = 0; |
211 | 211 |
this.gridControlFluidCode.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
212 | 212 |
this.gridViewFluidCode}); |
... | ... | |
221 | 221 |
// |
222 | 222 |
this.xtraTabPagePipingMaterialsClass.Controls.Add(this.gridControlPipingMaterialsClass); |
223 | 223 |
this.xtraTabPagePipingMaterialsClass.Name = "xtraTabPagePipingMaterialsClass"; |
224 |
this.xtraTabPagePipingMaterialsClass.Size = new System.Drawing.Size(526, 821);
|
|
224 |
this.xtraTabPagePipingMaterialsClass.Size = new System.Drawing.Size(534, 820);
|
|
225 | 225 |
this.xtraTabPagePipingMaterialsClass.Text = "Piping Materials Class"; |
226 | 226 |
// |
227 | 227 |
// gridControlPipingMaterialsClass |
... | ... | |
231 | 231 |
this.gridControlPipingMaterialsClass.MainView = this.gridViewPipingMaterialsClass; |
232 | 232 |
this.gridControlPipingMaterialsClass.MenuManager = this.ribbonControl; |
233 | 233 |
this.gridControlPipingMaterialsClass.Name = "gridControlPipingMaterialsClass"; |
234 |
this.gridControlPipingMaterialsClass.Size = new System.Drawing.Size(526, 821);
|
|
234 |
this.gridControlPipingMaterialsClass.Size = new System.Drawing.Size(534, 820);
|
|
235 | 235 |
this.gridControlPipingMaterialsClass.TabIndex = 0; |
236 | 236 |
this.gridControlPipingMaterialsClass.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { |
237 | 237 |
this.gridViewPipingMaterialsClass}); |
... | ... | |
260 | 260 |
this.layoutControlItem7, |
261 | 261 |
this.emptySpaceItem5}); |
262 | 262 |
this.Root.Name = "Root"; |
263 |
this.Root.Size = new System.Drawing.Size(564, 941);
|
|
263 |
this.Root.Size = new System.Drawing.Size(572, 945);
|
|
264 | 264 |
this.Root.TextVisible = false; |
265 | 265 |
// |
266 | 266 |
// layoutControlItem1 |
... | ... | |
268 | 268 |
this.layoutControlItem1.Control = this.xtraTabControlSetting; |
269 | 269 |
this.layoutControlItem1.Location = new System.Drawing.Point(0, 26); |
270 | 270 |
this.layoutControlItem1.Name = "layoutControlItem1"; |
271 |
this.layoutControlItem1.Size = new System.Drawing.Size(544, 853);
|
|
271 |
this.layoutControlItem1.Size = new System.Drawing.Size(552, 857);
|
|
272 | 272 |
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); |
273 | 273 |
this.layoutControlItem1.TextVisible = false; |
274 | 274 |
// |
275 | 275 |
// layoutControlItem2 |
276 | 276 |
// |
277 | 277 |
this.layoutControlItem2.Control = this.btnSave; |
278 |
this.layoutControlItem2.Location = new System.Drawing.Point(378, 879);
|
|
278 |
this.layoutControlItem2.Location = new System.Drawing.Point(386, 883);
|
|
279 | 279 |
this.layoutControlItem2.MaxSize = new System.Drawing.Size(72, 40); |
280 | 280 |
this.layoutControlItem2.MinSize = new System.Drawing.Size(72, 40); |
281 | 281 |
this.layoutControlItem2.Name = "layoutControlItem2"; |
... | ... | |
287 | 287 |
// layoutControlItem3 |
288 | 288 |
// |
289 | 289 |
this.layoutControlItem3.Control = this.btnClose; |
290 |
this.layoutControlItem3.Location = new System.Drawing.Point(470, 879);
|
|
290 |
this.layoutControlItem3.Location = new System.Drawing.Point(478, 883);
|
|
291 | 291 |
this.layoutControlItem3.MaxSize = new System.Drawing.Size(74, 40); |
292 | 292 |
this.layoutControlItem3.MinSize = new System.Drawing.Size(74, 40); |
293 | 293 |
this.layoutControlItem3.Name = "layoutControlItem3"; |
... | ... | |
299 | 299 |
// emptySpaceItem1 |
300 | 300 |
// |
301 | 301 |
this.emptySpaceItem1.AllowHotTrack = false; |
302 |
this.emptySpaceItem1.Location = new System.Drawing.Point(450, 879);
|
|
302 |
this.emptySpaceItem1.Location = new System.Drawing.Point(458, 883);
|
|
303 | 303 |
this.emptySpaceItem1.MaxSize = new System.Drawing.Size(20, 40); |
304 | 304 |
this.emptySpaceItem1.MinSize = new System.Drawing.Size(20, 40); |
305 | 305 |
this.emptySpaceItem1.Name = "emptySpaceItem1"; |
... | ... | |
310 | 310 |
// emptySpaceItem2 |
311 | 311 |
// |
312 | 312 |
this.emptySpaceItem2.AllowHotTrack = false; |
313 |
this.emptySpaceItem2.Location = new System.Drawing.Point(189, 879);
|
|
313 |
this.emptySpaceItem2.Location = new System.Drawing.Point(189, 883);
|
|
314 | 314 |
this.emptySpaceItem2.Name = "emptySpaceItem2"; |
315 |
this.emptySpaceItem2.Size = new System.Drawing.Size(189, 42);
|
|
315 |
this.emptySpaceItem2.Size = new System.Drawing.Size(197, 42);
|
|
316 | 316 |
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); |
317 | 317 |
// |
318 | 318 |
// layoutControlItem5 |
319 | 319 |
// |
320 | 320 |
this.layoutControlItem5.Control = this.btnDown; |
321 |
this.layoutControlItem5.Location = new System.Drawing.Point(518, 0);
|
|
321 |
this.layoutControlItem5.Location = new System.Drawing.Point(526, 0);
|
|
322 | 322 |
this.layoutControlItem5.MaxSize = new System.Drawing.Size(26, 26); |
323 | 323 |
this.layoutControlItem5.MinSize = new System.Drawing.Size(26, 26); |
324 | 324 |
this.layoutControlItem5.Name = "layoutControlItem5"; |
... | ... | |
330 | 330 |
// emptySpaceItem3 |
331 | 331 |
// |
332 | 332 |
this.emptySpaceItem3.AllowHotTrack = false; |
333 |
this.emptySpaceItem3.Location = new System.Drawing.Point(498, 0);
|
|
333 |
this.emptySpaceItem3.Location = new System.Drawing.Point(506, 0);
|
|
334 | 334 |
this.emptySpaceItem3.MaxSize = new System.Drawing.Size(20, 26); |
335 | 335 |
this.emptySpaceItem3.MinSize = new System.Drawing.Size(20, 26); |
336 | 336 |
this.emptySpaceItem3.Name = "emptySpaceItem3"; |
... | ... | |
343 | 343 |
this.emptySpaceItem4.AllowHotTrack = false; |
344 | 344 |
this.emptySpaceItem4.Location = new System.Drawing.Point(0, 0); |
345 | 345 |
this.emptySpaceItem4.Name = "emptySpaceItem4"; |
346 |
this.emptySpaceItem4.Size = new System.Drawing.Size(472, 26);
|
|
346 |
this.emptySpaceItem4.Size = new System.Drawing.Size(480, 26);
|
|
347 | 347 |
this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); |
348 | 348 |
// |
349 | 349 |
// layoutControlItem4 |
350 | 350 |
// |
351 | 351 |
this.layoutControlItem4.Control = this.btnUp; |
352 |
this.layoutControlItem4.Location = new System.Drawing.Point(472, 0);
|
|
352 |
this.layoutControlItem4.Location = new System.Drawing.Point(480, 0);
|
|
353 | 353 |
this.layoutControlItem4.MaxSize = new System.Drawing.Size(26, 26); |
354 | 354 |
this.layoutControlItem4.MinSize = new System.Drawing.Size(26, 26); |
355 | 355 |
this.layoutControlItem4.Name = "layoutControlItem4"; |
... | ... | |
361 | 361 |
// layoutControlItem6 |
362 | 362 |
// |
363 | 363 |
this.layoutControlItem6.Control = this.btnExport; |
364 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 879);
|
|
364 |
this.layoutControlItem6.Location = new System.Drawing.Point(0, 883);
|
|
365 | 365 |
this.layoutControlItem6.MaxSize = new System.Drawing.Size(84, 42); |
366 | 366 |
this.layoutControlItem6.MinSize = new System.Drawing.Size(84, 42); |
367 | 367 |
this.layoutControlItem6.Name = "layoutControlItem6"; |
... | ... | |
373 | 373 |
// layoutControlItem7 |
374 | 374 |
// |
375 | 375 |
this.layoutControlItem7.Control = this.btnImport; |
376 |
this.layoutControlItem7.Location = new System.Drawing.Point(104, 879);
|
|
376 |
this.layoutControlItem7.Location = new System.Drawing.Point(104, 883);
|
|
377 | 377 |
this.layoutControlItem7.MaxSize = new System.Drawing.Size(85, 42); |
378 | 378 |
this.layoutControlItem7.MinSize = new System.Drawing.Size(85, 42); |
379 | 379 |
this.layoutControlItem7.Name = "layoutControlItem7"; |
... | ... | |
385 | 385 |
// emptySpaceItem5 |
386 | 386 |
// |
387 | 387 |
this.emptySpaceItem5.AllowHotTrack = false; |
388 |
this.emptySpaceItem5.Location = new System.Drawing.Point(84, 879);
|
|
388 |
this.emptySpaceItem5.Location = new System.Drawing.Point(84, 883);
|
|
389 | 389 |
this.emptySpaceItem5.MaxSize = new System.Drawing.Size(20, 40); |
390 | 390 |
this.emptySpaceItem5.MinSize = new System.Drawing.Size(20, 40); |
391 | 391 |
this.emptySpaceItem5.Name = "emptySpaceItem5"; |
... | ... | |
397 | 397 |
// |
398 | 398 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); |
399 | 399 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
400 |
this.ClientSize = new System.Drawing.Size(564, 973);
|
|
400 |
this.ClientSize = new System.Drawing.Size(572, 977);
|
|
401 | 401 |
this.Controls.Add(this.layoutControl1); |
402 | 402 |
this.Controls.Add(this.ribbonControl); |
403 | 403 |
this.Name = "PriorityForm"; |
내보내기 Unified diff