프로젝트

일반

사용자정보

개정판 3bb4b1d5

ID3bb4b1d5143ab434b19bd69c9533e75df7cac54e
상위 6e0eeedc
하위 0960d5e1

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

dev issue #000 : edit

Change-Id: I24874fb38a1146c6d1fd4a1c53d270c24579041a

차이점 보기:

DTI_PID/ID2PSN/Form/HeaderSettingForm.Designer.cs
31 31
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HeaderSettingForm));
32 32
            this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
33 33
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
34
            this.labelControlToolTip = new DevExpress.XtraEditors.LabelControl();
34 35
            this.btnAddType = new DevExpress.XtraEditors.SimpleButton();
35 36
            this.gridControlSymbol = new DevExpress.XtraGrid.GridControl();
36 37
            this.gridViewSymbol = new DevExpress.XtraGrid.Views.Grid.GridView();
......
53 54
            this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
54 55
            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
55 56
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
57
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
58
            this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem();
56 59
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
57 60
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
58 61
            this.layoutControl1.SuspendLayout();
......
74 77
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
75 78
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
76 79
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
80
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
81
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit();
77 82
            this.SuspendLayout();
78 83
            // 
79 84
            // ribbonControl
......
94 99
            // 
95 100
            // layoutControl1
96 101
            // 
102
            this.layoutControl1.Controls.Add(this.labelControlToolTip);
97 103
            this.layoutControl1.Controls.Add(this.btnAddType);
98 104
            this.layoutControl1.Controls.Add(this.gridControlSymbol);
99 105
            this.layoutControl1.Controls.Add(this.gridControlType);
......
108 114
            this.layoutControl1.TabIndex = 1;
109 115
            this.layoutControl1.Text = "layoutControl1";
110 116
            // 
117
            // labelControlToolTip
118
            // 
119
            this.labelControlToolTip.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
120
            this.labelControlToolTip.ImageAlignToText = DevExpress.XtraEditors.ImageAlignToText.RightCenter;
121
            this.labelControlToolTip.ImageOptions.Alignment = System.Drawing.ContentAlignment.MiddleLeft;
122
            this.labelControlToolTip.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("labelControlToolTip.ImageOptions.Image")));
123
            this.labelControlToolTip.Location = new System.Drawing.Point(822, 12);
124
            this.labelControlToolTip.Name = "labelControlToolTip";
125
            this.labelControlToolTip.Size = new System.Drawing.Size(70, 16);
126
            this.labelControlToolTip.StyleController = this.layoutControl1;
127
            this.labelControlToolTip.TabIndex = 7;
128
            this.labelControlToolTip.Text = "Tool Tip";
129
            // 
111 130
            // btnAddType
112 131
            // 
113
            this.btnAddType.Location = new System.Drawing.Point(354, 43);
132
            this.btnAddType.Location = new System.Drawing.Point(354, 63);
114 133
            this.btnAddType.Name = "btnAddType";
115 134
            this.btnAddType.Size = new System.Drawing.Size(77, 22);
116 135
            this.btnAddType.StyleController = this.layoutControl1;
......
120 139
            // 
121 140
            // gridControlSymbol
122 141
            // 
123
            this.gridControlSymbol.Location = new System.Drawing.Point(471, 69);
142
            this.gridControlSymbol.Location = new System.Drawing.Point(471, 89);
124 143
            this.gridControlSymbol.MainView = this.gridViewSymbol;
125 144
            this.gridControlSymbol.MenuManager = this.ribbonControl;
126 145
            this.gridControlSymbol.Name = "gridControlSymbol";
127
            this.gridControlSymbol.Size = new System.Drawing.Size(409, 490);
146
            this.gridControlSymbol.Size = new System.Drawing.Size(409, 470);
128 147
            this.gridControlSymbol.TabIndex = 4;
129 148
            this.gridControlSymbol.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
130 149
            this.gridViewSymbol});
......
137 156
            // 
138 157
            // gridControlType
139 158
            // 
140
            this.gridControlType.Location = new System.Drawing.Point(24, 69);
159
            this.gridControlType.Location = new System.Drawing.Point(24, 89);
141 160
            this.gridControlType.MainView = this.gridViewType;
142 161
            this.gridControlType.MenuManager = this.ribbonControl;
143 162
            this.gridControlType.Name = "gridControlType";
144
            this.gridControlType.Size = new System.Drawing.Size(407, 490);
163
            this.gridControlType.Size = new System.Drawing.Size(407, 470);
145 164
            this.gridControlType.TabIndex = 3;
146 165
            this.gridControlType.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
147 166
            this.gridViewType});
......
178 197
            // 
179 198
            // btnAddSymbol
180 199
            // 
181
            this.btnAddSymbol.Location = new System.Drawing.Point(791, 43);
200
            this.btnAddSymbol.Location = new System.Drawing.Point(791, 63);
182 201
            this.btnAddSymbol.Name = "btnAddSymbol";
183 202
            this.btnAddSymbol.Size = new System.Drawing.Size(89, 22);
184 203
            this.btnAddSymbol.StyleController = this.layoutControl1;
......
197 216
            this.layoutControlItem5,
198 217
            this.emptySpaceItem2,
199 218
            this.layoutControlGroup1,
200
            this.layoutControlGroup2});
219
            this.layoutControlGroup2,
220
            this.layoutControlItem7,
221
            this.emptySpaceItem5});
201 222
            this.Root.Name = "Root";
202 223
            this.Root.Size = new System.Drawing.Size(904, 623);
203 224
            this.Root.TextVisible = false;
......
205 226
            // splitterItem1
206 227
            // 
207 228
            this.splitterItem1.AllowHotTrack = true;
208
            this.splitterItem1.Location = new System.Drawing.Point(435, 0);
229
            this.splitterItem1.Location = new System.Drawing.Point(435, 20);
209 230
            this.splitterItem1.Name = "splitterItem1";
210
            this.splitterItem1.Size = new System.Drawing.Size(12, 563);
231
            this.splitterItem1.Size = new System.Drawing.Size(12, 543);
211 232
            // 
212 233
            // emptySpaceItem3
213 234
            // 
......
258 279
            this.layoutControlItem2,
259 280
            this.layoutControlItem1,
260 281
            this.emptySpaceItem4});
261
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
282
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 20);
262 283
            this.layoutControlGroup1.Name = "layoutControlGroup1";
263
            this.layoutControlGroup1.Size = new System.Drawing.Size(435, 563);
284
            this.layoutControlGroup1.Size = new System.Drawing.Size(435, 543);
264 285
            this.layoutControlGroup1.Text = "Header Type";
265 286
            // 
266 287
            // layoutControlItem2
......
268 289
            this.layoutControlItem2.Control = this.gridControlType;
269 290
            this.layoutControlItem2.Location = new System.Drawing.Point(0, 26);
270 291
            this.layoutControlItem2.Name = "layoutControlItem2";
271
            this.layoutControlItem2.Size = new System.Drawing.Size(411, 494);
292
            this.layoutControlItem2.Size = new System.Drawing.Size(411, 474);
272 293
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
273 294
            this.layoutControlItem2.TextVisible = false;
274 295
            // 
......
295 316
            this.layoutControlItem6,
296 317
            this.layoutControlItem3,
297 318
            this.emptySpaceItem1});
298
            this.layoutControlGroup2.Location = new System.Drawing.Point(447, 0);
319
            this.layoutControlGroup2.Location = new System.Drawing.Point(447, 20);
299 320
            this.layoutControlGroup2.Name = "layoutControlGroup2";
300
            this.layoutControlGroup2.Size = new System.Drawing.Size(437, 563);
321
            this.layoutControlGroup2.Size = new System.Drawing.Size(437, 543);
301 322
            this.layoutControlGroup2.Text = "Type Items";
302 323
            // 
303 324
            // layoutControlItem6
......
305 326
            this.layoutControlItem6.Control = this.gridControlSymbol;
306 327
            this.layoutControlItem6.Location = new System.Drawing.Point(0, 26);
307 328
            this.layoutControlItem6.Name = "layoutControlItem6";
308
            this.layoutControlItem6.Size = new System.Drawing.Size(413, 494);
329
            this.layoutControlItem6.Size = new System.Drawing.Size(413, 474);
309 330
            this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
310 331
            this.layoutControlItem6.TextVisible = false;
311 332
            // 
......
326 347
            this.emptySpaceItem1.Size = new System.Drawing.Size(320, 26);
327 348
            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
328 349
            // 
350
            // layoutControlItem7
351
            // 
352
            this.layoutControlItem7.Control = this.labelControlToolTip;
353
            this.layoutControlItem7.Location = new System.Drawing.Point(810, 0);
354
            this.layoutControlItem7.MaxSize = new System.Drawing.Size(74, 20);
355
            this.layoutControlItem7.MinSize = new System.Drawing.Size(74, 20);
356
            this.layoutControlItem7.Name = "layoutControlItem7";
357
            this.layoutControlItem7.Size = new System.Drawing.Size(74, 20);
358
            this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
359
            this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
360
            this.layoutControlItem7.TextVisible = false;
361
            // 
362
            // emptySpaceItem5
363
            // 
364
            this.emptySpaceItem5.AllowHotTrack = false;
365
            this.emptySpaceItem5.Location = new System.Drawing.Point(0, 0);
366
            this.emptySpaceItem5.Name = "emptySpaceItem5";
367
            this.emptySpaceItem5.Size = new System.Drawing.Size(810, 20);
368
            this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0);
369
            // 
329 370
            // HeaderSettingForm
330 371
            // 
331 372
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
......
358 399
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
359 400
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
360 401
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
402
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
403
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit();
361 404
            this.ResumeLayout(false);
362 405
            this.PerformLayout();
363 406

  
......
389 432
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
390 433
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
391 434
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2;
435
        private DevExpress.XtraEditors.LabelControl labelControlToolTip;
436
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
437
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem5;
392 438
    }
393 439
}
DTI_PID/ID2PSN/Form/HeaderSettingForm.cs
17 17
using DevExpress.XtraTreeList.Columns;
18 18
using DevExpress.XtraTreeList.Nodes;
19 19
using DevExpress.Utils.Extensions;
20
using DevExpress.Utils;
20 21

  
21 22
namespace ID2PSN
22 23
{
......
36 37
            gridViewSymbol.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(gridViewSymbol_CellValueChanged);
37 38
            
38 39
            InitData();
40

  
41
            
42
            SuperToolTip sTooltip1 = new SuperToolTip();
43
            
44
            ToolTipTitleItem titleItem1 = new ToolTipTitleItem();
45
            titleItem1.Text = "Index Information";
46
            
47
            ToolTipItem item1 = new ToolTipItem();
48
            item1.ImageOptions.Image = ((Image)Properties.Resources.ResourceManager.GetObject("ToolTip1", System.Globalization.CultureInfo.CurrentCulture));
49
            //item1.Text = "Show the Edit popup menu";
50
            
51
            sTooltip1.Items.Add(titleItem1);
52
            sTooltip1.Items.Add(item1);
53

  
54

  
55
            labelControlToolTip.SuperTip = sTooltip1;
39 56
        }
40 57

  
41 58
        public void InitGridType()
......
212 229

  
213 230
            treeListLookUpEdit.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
214 231

  
232
            bool bLine = true;
215 233
            List<string> level1Index = new List<string>();
216 234
            foreach (var path in filesPath)
217 235
            {
......
227 245
                int parentId = level1Index.IndexOf(level1) + 1;
228 246
                string level2 = split[1];
229 247
                dt.Rows.Add(filesPath.ToList().IndexOf(path) + 10000, parentId, Path.GetFileNameWithoutExtension(path), 1, Image.FromFile(Path.Combine(imgPath, root)));
248

  
249
                if (Path.GetFileNameWithoutExtension(path) == "Connect To Process" && bLine)
250
                {
251
                    bLine = false;
252
                    dt.Rows.Add(filesPath.ToList().IndexOf(path) + 20000, parentId, "Primary", 1, Image.FromFile(Path.Combine(imgPath, root)));
253
                    dt.Rows.Add(filesPath.ToList().IndexOf(path) + 30000, parentId, "Secondary", 1, Image.FromFile(Path.Combine(imgPath, root)));
254
                }
230 255
            }
231 256
        }
232 257

  
DTI_PID/ID2PSN/Form/HeaderSettingForm.resx
118 118
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 119
  </resheader>
120 120
  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
121
  <data name="labelControlToolTip.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
122
    <value>
123
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
124
        YQUAAAAhdEVYdFRpdGxlAERvY3VtZW50YXRpb247SGVscDtRdWVzdGlvbuCTzJgAAAM7SURBVDhPTZNZ
125
        TBNRGIWHJSpq4ptGfNM39cHoiwsWZFEJAgJGiSh1V6RsUUBCSUGsZbE01LQEhbgEEYgbyFIUKdoCFqEV
126
        URFBWqkFlTZlE4gBj/evNnqTk/y5831nZjJzOeVdPVdU7oyBY8uFxZXFjcX9b2imPZeiij+sw2MzJ7/V
127
        wQFwhKDIo2nL8otbkgtKtfcLb7ebKAWlmke5xc9SIo+lLSPGyV9lLnflutYpu6VL7vHyr2n669R9+PBp
128
        FPbxaUdopr38Yk1/mrjSm1gWF2lJK8dJFGqHnCquCpOVaucItlh/4FGbGeKqHogre/CQzcM2VjQwClmJ
129
        di71UkU4ORJlC7mcy8HjmZ5Zska7ediOprdWnCvRQ9c7iqlZOKLWjyBW0YEG/TcQkyV7Yt/PF64ilwrc
130
        EzPuiB7Ud6PXMoWE0jdo0FkwMQMUVhgwYv2J8SmgUTeMY4Wv0GMaB7EJwrJMcqlgYVJGRefgZysUKhPO
131
        KrtQ3myEuusrTuQ0wzbxC3ZWUK0dwqG8l8i59xGDQ1YkCu92MXcRFXjEXii3TbJnTbn1DjFFBhyVdWBf
132
        ZjNqWs2wjQGVTYOIljzHwbx2nJF3gVjBhTIbcxdTweKTSTdsE5MzOCxpx4HLbYjK1SHi4nOodCO4WT+A
133
        oNQnCBO9QEh6C/aLNCCWHOYuoQKPqNOK7r6BEZxX6rE7WY2d555hh6ABoSkq+AkewzdOBf+kJvglPkV8
134
        YSeIJYduTgULgiMviq/fVqOu/Qv8ExkYr0KctA3m78B74yx4MfXwEajgHduIGq0ZxIYcyLpMLhW4rtu4
135
        Z3UEXzrW22dBivIVeGfrEJOnhYkVGPqmsfVENbafqcV5eQeIiYiWjq3dELiGXCqgb7nAKyCOH3VKPt/5
136
        ehDVL0w4JdFgb7IKAbG1iMltRY1mCHQt6qR83itAwCfH4e4Ku+QsWbRp25Eg/xCRqUBRC323EWMT0xif
137
        nIbhjRG05x8qMm3ayg9lrAc5u8KZ6xuc6TwLjidZ4bnec/MOQbZXQLLKJ0ho8QlKt7D56RYfQfbylevo
138
        73PcmRzfYBHH8QKFHG/3v7BF77WQZSkLnT4KzbTn+j/vHSjkfgPVfB2hwPZ4MwAAAABJRU5ErkJggg==
139
</value>
140
  </data>
121 141
  <data name="btnClose.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
122 142
    <value>
123 143
        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAB10RVh0VGl0
DTI_PID/ID2PSN/ID2PSN.csproj
156 156
  <ItemGroup>
157 157
    <None Include="Resources\find_16x16.png" />
158 158
  </ItemGroup>
159
  <ItemGroup>
160
    <None Include="ToolTip1.png" />
161
  </ItemGroup>
162
  <ItemGroup>
163
    <None Include="Resources\ToolTip1.png" />
164
  </ItemGroup>
159 165
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
160 166
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
161 167
    <PropertyGroup>
DTI_PID/ID2PSN/Properties/Resources.Designer.cs
79 79
                return ((System.Drawing.Bitmap)(obj));
80 80
            }
81 81
        }
82
        
83
        /// <summary>
84
        ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
85
        /// </summary>
86
        internal static System.Drawing.Bitmap ToolTip1 {
87
            get {
88
                object obj = ResourceManager.GetObject("ToolTip1", resourceCulture);
89
                return ((System.Drawing.Bitmap)(obj));
90
            }
91
        }
82 92
    }
83 93
}
DTI_PID/ID2PSN/Properties/Resources.resx
124 124
  <data name="find_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
125 125
    <value>..\Resources\find_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126 126
  </data>
127
  <data name="ToolTip1" type="System.Resources.ResXFileRef, System.Windows.Forms">
128
    <value>..\Resources\ToolTip1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
129
  </data>
127 130
</root>

내보내기 Unified diff

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