프로젝트

일반

사용자정보

개정판 82c7f66d

ID82c7f66d8c83b7151cfa5abd4b9ee573d713e5f6
상위 d6f22c35
하위 b4dbcc45, 677a69ef, 2b200a6e

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #000 : fix ui

Change-Id: Ie4584bde3e2b0535fd6548301a708625bfb11589

차이점 보기:

DTI_PID/SPPIDConverter/ConverterDocking.Designer.cs
32 32
            DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager = new DevExpress.XtraSplashScreen.SplashScreenManager(this, null, true, true, typeof(System.Windows.Forms.UserControl));
33 33
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConverterDocking));
34 34
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
35
            this.btnSymmetry = new DevExpress.XtraEditors.SimpleButton();
36
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
35 37
            this.btnLinkOPC = new DevExpress.XtraEditors.SimpleButton();
36 38
            this.btnGetDrawingSize = new DevExpress.XtraEditors.SimpleButton();
37 39
            this.textEditDrawingY = new DevExpress.XtraEditors.TextEdit();
......
48 50
            this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
49 51
            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
50 52
            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
51
            this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
52
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
53
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
54 53
            this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup();
55
            this.btnSymmetry = new DevExpress.XtraEditors.SimpleButton();
54
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
56 55
            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
56
            this.defaultLookAndFeel = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
57 57
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
58 58
            this.layoutControl1.SuspendLayout();
59 59
            ((System.ComponentModel.ISupportInitialize)(this.textEditDrawingY.Properties)).BeginInit();
......
68 68
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
69 69
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
70 70
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
71
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
72 71
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit();
72
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
73 73
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
74 74
            this.SuspendLayout();
75 75
            // 
......
91 91
            this.layoutControl1.Location = new System.Drawing.Point(0, 0);
92 92
            this.layoutControl1.Name = "layoutControl1";
93 93
            this.layoutControl1.Root = this.Root;
94
            this.layoutControl1.Size = new System.Drawing.Size(244, 500);
94
            this.layoutControl1.Size = new System.Drawing.Size(250, 500);
95 95
            this.layoutControl1.TabIndex = 0;
96 96
            this.layoutControl1.Text = "layoutControl1";
97 97
            // 
98
            // btnSymmetry
99
            // 
100
            this.btnSymmetry.ImageOptions.SvgImage = global::Converter.SPPID.Properties.Resources.productquickcomparisons;
101
            this.btnSymmetry.Location = new System.Drawing.Point(24, 289);
102
            this.btnSymmetry.Name = "btnSymmetry";
103
            this.btnSymmetry.Size = new System.Drawing.Size(202, 36);
104
            this.btnSymmetry.StyleController = this.layoutControl1;
105
            this.btnSymmetry.TabIndex = 11;
106
            this.btnSymmetry.Text = "Symbol Symmetry";
107
            this.btnSymmetry.Click += new System.EventHandler(this.btnSymmetry_Click);
108
            // 
109
            // labelControl1
110
            // 
111
            this.labelControl1.Location = new System.Drawing.Point(24, 329);
112
            this.labelControl1.Name = "labelControl1";
113
            this.labelControl1.Size = new System.Drawing.Size(179, 14);
114
            this.labelControl1.StyleController = this.layoutControl1;
115
            this.labelControl1.TabIndex = 10;
116
            this.labelControl1.Text = "Snap Grid On/Off Key : Shift + A";
117
            // 
98 118
            // btnLinkOPC
99 119
            // 
100 120
            this.btnLinkOPC.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnLinkOPC.ImageOptions.SvgImage")));
101 121
            this.btnLinkOPC.Location = new System.Drawing.Point(24, 85);
102 122
            this.btnLinkOPC.Name = "btnLinkOPC";
103
            this.btnLinkOPC.Size = new System.Drawing.Size(196, 36);
123
            this.btnLinkOPC.Size = new System.Drawing.Size(202, 36);
104 124
            this.btnLinkOPC.StyleController = this.layoutControl1;
105 125
            this.btnLinkOPC.TabIndex = 9;
106 126
            this.btnLinkOPC.Text = "Link OPC";
......
110 130
            // 
111 131
            this.btnGetDrawingSize.Location = new System.Drawing.Point(24, 170);
112 132
            this.btnGetDrawingSize.Name = "btnGetDrawingSize";
113
            this.btnGetDrawingSize.Size = new System.Drawing.Size(196, 22);
133
            this.btnGetDrawingSize.Size = new System.Drawing.Size(202, 22);
114 134
            this.btnGetDrawingSize.StyleController = this.layoutControl1;
115 135
            this.btnGetDrawingSize.TabIndex = 8;
116 136
            this.btnGetDrawingSize.Text = "Get Drawing Size";
......
123 143
            this.textEditDrawingY.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
124 144
            this.textEditDrawingY.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
125 145
            this.textEditDrawingY.Properties.ReadOnly = true;
126
            this.textEditDrawingY.Size = new System.Drawing.Size(185, 20);
146
            this.textEditDrawingY.Size = new System.Drawing.Size(191, 20);
127 147
            this.textEditDrawingY.StyleController = this.layoutControl1;
128 148
            this.textEditDrawingY.TabIndex = 7;
129 149
            // 
......
134 154
            this.textEditDrawingX.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
135 155
            this.textEditDrawingX.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
136 156
            this.textEditDrawingX.Properties.ReadOnly = true;
137
            this.textEditDrawingX.Size = new System.Drawing.Size(185, 20);
157
            this.textEditDrawingX.Size = new System.Drawing.Size(191, 20);
138 158
            this.textEditDrawingX.StyleController = this.layoutControl1;
139 159
            this.textEditDrawingX.TabIndex = 6;
140 160
            // 
......
142 162
            // 
143 163
            this.simpleButton1.Location = new System.Drawing.Point(12, 359);
144 164
            this.simpleButton1.Name = "simpleButton1";
145
            this.simpleButton1.Size = new System.Drawing.Size(220, 22);
165
            this.simpleButton1.Size = new System.Drawing.Size(226, 22);
146 166
            this.simpleButton1.StyleController = this.layoutControl1;
147 167
            this.simpleButton1.TabIndex = 5;
148 168
            this.simpleButton1.Text = "simpleButton1";
......
153 173
            this.btnSPPIDConverter.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSPPIDConverter.ImageOptions.SvgImage")));
154 174
            this.btnSPPIDConverter.Location = new System.Drawing.Point(24, 45);
155 175
            this.btnSPPIDConverter.Name = "btnSPPIDConverter";
156
            this.btnSPPIDConverter.Size = new System.Drawing.Size(196, 36);
176
            this.btnSPPIDConverter.Size = new System.Drawing.Size(202, 36);
157 177
            this.btnSPPIDConverter.StyleController = this.layoutControl1;
158 178
            this.btnSPPIDConverter.TabIndex = 4;
159 179
            this.btnSPPIDConverter.Text = "Open Converter";
......
170 190
            this.layoutControlGroup2,
171 191
            this.layoutControlGroup3});
172 192
            this.Root.Name = "Root";
173
            this.Root.Size = new System.Drawing.Size(244, 500);
193
            this.Root.Size = new System.Drawing.Size(250, 500);
174 194
            this.Root.TextVisible = false;
175 195
            // 
176 196
            // emptySpaceItem1
177 197
            // 
178 198
            this.emptySpaceItem1.AllowHotTrack = false;
179
            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 359);
199
            this.emptySpaceItem1.Location = new System.Drawing.Point(0, 373);
180 200
            this.emptySpaceItem1.Name = "emptySpaceItem1";
181
            this.emptySpaceItem1.Size = new System.Drawing.Size(224, 121);
201
            this.emptySpaceItem1.Size = new System.Drawing.Size(230, 107);
182 202
            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
183 203
            // 
184 204
            // layoutControlItem2
......
186 206
            this.layoutControlItem2.Control = this.simpleButton1;
187 207
            this.layoutControlItem2.Location = new System.Drawing.Point(0, 347);
188 208
            this.layoutControlItem2.Name = "layoutControlItem2";
189
            this.layoutControlItem2.Size = new System.Drawing.Size(224, 26);
209
            this.layoutControlItem2.Size = new System.Drawing.Size(230, 26);
190 210
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
191 211
            this.layoutControlItem2.TextVisible = false;
192 212
            this.layoutControlItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.OnlyInCustomization;
......
199 219
            this.layoutControlItem5});
200 220
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 125);
201 221
            this.layoutControlGroup1.Name = "layoutControlGroup1";
202
            this.layoutControlGroup1.Size = new System.Drawing.Size(224, 119);
222
            this.layoutControlGroup1.Size = new System.Drawing.Size(230, 119);
203 223
            this.layoutControlGroup1.Text = "Drawing Size Setting";
204 224
            // 
205 225
            // layoutControlItem3
......
207 227
            this.layoutControlItem3.Control = this.textEditDrawingX;
208 228
            this.layoutControlItem3.Location = new System.Drawing.Point(0, 26);
209 229
            this.layoutControlItem3.Name = "layoutControlItem3";
210
            this.layoutControlItem3.Size = new System.Drawing.Size(200, 24);
230
            this.layoutControlItem3.Size = new System.Drawing.Size(206, 24);
211 231
            this.layoutControlItem3.Text = "X";
212 232
            this.layoutControlItem3.TextSize = new System.Drawing.Size(8, 14);
213 233
            // 
......
216 236
            this.layoutControlItem4.Control = this.textEditDrawingY;
217 237
            this.layoutControlItem4.Location = new System.Drawing.Point(0, 50);
218 238
            this.layoutControlItem4.Name = "layoutControlItem4";
219
            this.layoutControlItem4.Size = new System.Drawing.Size(200, 24);
239
            this.layoutControlItem4.Size = new System.Drawing.Size(206, 24);
220 240
            this.layoutControlItem4.Text = "Y";
221 241
            this.layoutControlItem4.TextSize = new System.Drawing.Size(8, 14);
222 242
            // 
......
225 245
            this.layoutControlItem5.Control = this.btnGetDrawingSize;
226 246
            this.layoutControlItem5.Location = new System.Drawing.Point(0, 0);
227 247
            this.layoutControlItem5.Name = "layoutControlItem5";
228
            this.layoutControlItem5.Size = new System.Drawing.Size(200, 26);
248
            this.layoutControlItem5.Size = new System.Drawing.Size(206, 26);
229 249
            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
230 250
            this.layoutControlItem5.TextVisible = false;
231 251
            // 
......
236 256
            this.layoutControlItem6});
237 257
            this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0);
238 258
            this.layoutControlGroup2.Name = "layoutControlGroup2";
239
            this.layoutControlGroup2.Size = new System.Drawing.Size(224, 125);
259
            this.layoutControlGroup2.Size = new System.Drawing.Size(230, 125);
240 260
            this.layoutControlGroup2.Text = "Converter";
241 261
            // 
242 262
            // layoutControlItem1
......
244 264
            this.layoutControlItem1.Control = this.btnSPPIDConverter;
245 265
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
246 266
            this.layoutControlItem1.Name = "layoutControlItem1";
247
            this.layoutControlItem1.Size = new System.Drawing.Size(200, 40);
267
            this.layoutControlItem1.Size = new System.Drawing.Size(206, 40);
248 268
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
249 269
            this.layoutControlItem1.TextVisible = false;
250 270
            // 
......
253 273
            this.layoutControlItem6.Control = this.btnLinkOPC;
254 274
            this.layoutControlItem6.Location = new System.Drawing.Point(0, 40);
255 275
            this.layoutControlItem6.Name = "layoutControlItem6";
256
            this.layoutControlItem6.Size = new System.Drawing.Size(200, 40);
276
            this.layoutControlItem6.Size = new System.Drawing.Size(206, 40);
257 277
            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
258 278
            this.layoutControlItem6.TextVisible = false;
259 279
            // 
260
            // defaultLookAndFeel
261
            // 
262
            this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2019 Colorful";
263
            // 
264
            // labelControl1
265
            // 
266
            this.labelControl1.Location = new System.Drawing.Point(24, 329);
267
            this.labelControl1.Name = "labelControl1";
268
            this.labelControl1.Size = new System.Drawing.Size(179, 14);
269
            this.labelControl1.StyleController = this.layoutControl1;
270
            this.labelControl1.TabIndex = 10;
271
            this.labelControl1.Text = "Snap Grid On/Off Key : Shift + A";
272
            // 
273
            // layoutControlItem7
274
            // 
275
            this.layoutControlItem7.Control = this.labelControl1;
276
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 40);
277
            this.layoutControlItem7.Name = "layoutControlItem7";
278
            this.layoutControlItem7.Size = new System.Drawing.Size(200, 18);
279
            this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
280
            this.layoutControlItem7.TextVisible = false;
281
            // 
282 280
            // layoutControlGroup3
283 281
            // 
284 282
            this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
......
286 284
            this.layoutControlItem8});
287 285
            this.layoutControlGroup3.Location = new System.Drawing.Point(0, 244);
288 286
            this.layoutControlGroup3.Name = "layoutControlGroup3";
289
            this.layoutControlGroup3.Size = new System.Drawing.Size(224, 103);
287
            this.layoutControlGroup3.Size = new System.Drawing.Size(230, 103);
290 288
            this.layoutControlGroup3.Text = "SPPID Utils";
291 289
            // 
292
            // btnSymmetry
290
            // layoutControlItem7
293 291
            // 
294
            this.btnSymmetry.ImageOptions.SvgImage = global::Converter.SPPID.Properties.Resources.productquickcomparisons;
295
            this.btnSymmetry.Location = new System.Drawing.Point(24, 289);
296
            this.btnSymmetry.Name = "btnSymmetry";
297
            this.btnSymmetry.Size = new System.Drawing.Size(196, 36);
298
            this.btnSymmetry.StyleController = this.layoutControl1;
299
            this.btnSymmetry.TabIndex = 11;
300
            this.btnSymmetry.Text = "Symbol Symmetry";
292
            this.layoutControlItem7.Control = this.labelControl1;
293
            this.layoutControlItem7.Location = new System.Drawing.Point(0, 40);
294
            this.layoutControlItem7.Name = "layoutControlItem7";
295
            this.layoutControlItem7.Size = new System.Drawing.Size(206, 18);
296
            this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
297
            this.layoutControlItem7.TextVisible = false;
301 298
            // 
302 299
            // layoutControlItem8
303 300
            // 
304 301
            this.layoutControlItem8.Control = this.btnSymmetry;
305 302
            this.layoutControlItem8.Location = new System.Drawing.Point(0, 0);
306 303
            this.layoutControlItem8.Name = "layoutControlItem8";
307
            this.layoutControlItem8.Size = new System.Drawing.Size(200, 40);
304
            this.layoutControlItem8.Size = new System.Drawing.Size(206, 40);
308 305
            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
309 306
            this.layoutControlItem8.TextVisible = false;
310 307
            // 
308
            // defaultLookAndFeel
309
            // 
310
            this.defaultLookAndFeel.LookAndFeel.SkinName = "Office 2019 Colorful";
311
            // 
311 312
            // ConverterDocking
312 313
            // 
313 314
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
314 315
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
315 316
            this.Controls.Add(this.layoutControl1);
316 317
            this.Name = "ConverterDocking";
317
            this.Size = new System.Drawing.Size(244, 500);
318
            this.Size = new System.Drawing.Size(250, 500);
318 319
            this.Load += new System.EventHandler(this.ConverterDocking_Load);
319 320
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
320 321
            this.layoutControl1.ResumeLayout(false);
......
330 331
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
331 332
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
332 333
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
333
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
334 334
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit();
335
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
335 336
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
336 337
            this.ResumeLayout(false);
337 338

  
DTI_PID/SPPIDConverter/ConverterDocking.cs
226 226
                MessageBox.Show(Msg.SelectLine, Msg.Warning, MessageBoxButtons.OK, MessageBoxIcon.Warning);
227 227
        }
228 228

  
229
        #region SPPID Utils
230
        private void btnSymmetry_Click(object sender, EventArgs e)
231
        {
232

  
233
        }
234
        
229 235
        #region Hot Key
230 236
        [System.Runtime.InteropServices.DllImport("user32.dll")]
231 237
        private static extern bool RegisterHotKey(IntPtr hWnd, int id, int fsModifiers, int vk);
232

  
233 238
        [System.Runtime.InteropServices.DllImport("user32.dll")]
234 239
        private static extern bool UnregisterHotKey(IntPtr hWnd, int id);
235

  
236 240
        enum KeyModifier
237 241
        {
238 242
            None = 0,
......
241 245
            Shift = 4,
242 246
            WinKey = 8
243 247
        }
244

  
245 248
        protected override void WndProc(ref Message m)
246 249
        {
247 250
            base.WndProc(ref m);
......
255 258

  
256 259
        }
257 260
        #endregion
261
        #endregion
258 262

  
259 263
        #region TEST
260 264

  
DTI_PID/SPPIDConverter/Wrapper/SPPIDConverterWrapper.cs
229 229
                            {
230 230
                                DialogBar dlgBar = application.DialogBars.Add(DialogBarName, DockingFlagsConstants.igDockableOnLeft, DockingLocationConstants.igDockOnLeft,
231 231
                                     DialogBarStyleConstants.igDialogBarStyleShowCaption | DialogBarStyleConstants.igDialogBarStyleStretchToFitHorizontal | DialogBarStyleConstants.igDialogBarStyleStretchToFitVertical | DialogBarStyleConstants.igDialogBarStyleNoBorder, 0, 0);
232
                                DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(autoModelingDllPath, "Converter.SPPID.Wrapper.ConverterDocking", 200, 500);
232
                                DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(autoModelingDllPath, "Converter.SPPID.Wrapper.ConverterDocking", 250, 500);
233 233
                            }
234 234
                        }
235 235
                        catch (Exception ex)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)