개정판 cf91d23c
Feature: 유사도 평가 시 텍스트를 무시하는 옵션 제공
Change-Id: I9af99b7aee5161cec2d0669a76613e28729a6a19
ID2.Manager/ID2.Manager/Classes/CompareModelWorkUnit.cs | ||
---|---|---|
33 | 33 |
private string dwgExtension { get; } = ".dwg"; |
34 | 34 |
private bool _FieldName { get; set; } |
35 | 35 | |
36 |
private bool IgnoreText = false; |
|
37 | ||
36 | 38 |
public CompareModelWorkUnit(Workspace FirstWorkspace, Workspace SecondWorkspace, List<ID2.Manager.Data.Models.Documents> docs, bool bFieldName) |
37 | 39 |
{ |
38 | 40 |
_FirstWorkspace = FirstWorkspace; |
... | ... | |
81 | 83 |
} |
82 | 84 |
#endregion |
83 | 85 | |
86 |
#region 텍스트 비교 옵션을 읽음 |
|
87 |
string Value = Classes.ID2Helper.IniReadValue(Program.IniFilePath, "Verification", "Ignore Text"); |
|
88 |
bool.TryParse(Value, out IgnoreText); |
|
89 |
#endregion |
|
90 | ||
84 | 91 |
int count = 0; |
85 | 92 |
for (int i = 0; i < _Docs.Count - 1; ++i) |
86 | 93 |
{ |
... | ... | |
101 | 108 | |
102 | 109 |
OpenDrawing(_FirstWorkspace, FirstFilePath); |
103 | 110 |
#endregion |
104 |
var FirstEntities = _FirstWorkspace.Entities.ToList(); |
|
111 |
var FirstEntities = IgnoreText ? _FirstWorkspace.Entities.Where(x => !(x is Text)).ToList() : _FirstWorkspace.Entities.ToList();
|
|
105 | 112 |
for (int j = i + 1; j < _Docs.Count; ++j) |
106 | 113 |
{ |
107 | 114 |
if (Cancelled(worker, doWorkEventArgs)) break; |
... | ... | |
123 | 130 |
OpenDrawing(_SecondWorkspace, SecondFilePath); |
124 | 131 |
#endregion |
125 | 132 | |
126 |
var SecondEntities = _SecondWorkspace.Entities.ToList(); |
|
133 |
var SecondEntities = IgnoreText ? _SecondWorkspace.Entities.Where(x => !(x is Text)).ToList() : _SecondWorkspace.Entities.ToList();
|
|
127 | 134 |
if (FirstEntities.Any() && SecondEntities.Any()) |
128 | 135 |
{ |
129 | 136 |
double simularity = 100 - CompareDrawing(_FirstWorkspace, _SecondWorkspace, FirstEntities, SecondEntities); |
... | ... | |
617 | 624 |
int equalCurvesInEntityList = 0; |
618 | 625 | |
619 | 626 |
#region Point, Attribute, Text 제거 |
620 |
var entities1 = blkref1.Explode(design1.Blocks).Where(x => !(x is devDept.Eyeshot.Entities.Point) |
|
621 |
&& !(x is devDept.Eyeshot.Entities.Attribute) |
|
622 |
/*&& !(x is devDept.Eyeshot.Entities.Text)*/).ToList(); |
|
627 |
List<Entity> entities1 = null; |
|
628 |
if (IgnoreText) |
|
629 |
{ |
|
630 |
entities1 = blkref1.Explode(design1.Blocks).Where(x => !(x is devDept.Eyeshot.Entities.Point) |
|
631 |
&& !(x is devDept.Eyeshot.Entities.Attribute) |
|
632 |
&& !(x is devDept.Eyeshot.Entities.Text)).ToList(); |
|
633 |
} |
|
634 |
else |
|
635 |
{ |
|
636 |
entities1 = blkref1.Explode(design1.Blocks).Where(x => !(x is devDept.Eyeshot.Entities.Point)).ToList(); |
|
637 |
} |
|
623 | 638 |
var coll1 = new List<Entity>(); |
624 | 639 |
entities1.ForEach(x => |
625 | 640 |
{ |
... | ... | |
638 | 653 |
#endregion |
639 | 654 | |
640 | 655 |
#region Point, Attribute, Text 제거 |
641 |
var entities2 = blkref2.Explode(design2.Blocks).Where(x => !(x is devDept.Eyeshot.Entities.Point) |
|
642 |
&& !(x is devDept.Eyeshot.Entities.Attribute) |
|
643 |
/*&& !(x is devDept.Eyeshot.Entities.Text)*/).ToList(); |
|
656 |
List<Entity> entities2 = null; |
|
657 |
if (IgnoreText) |
|
658 |
{ |
|
659 |
entities2 = blkref2.Explode(design2.Blocks).Where(x => !(x is devDept.Eyeshot.Entities.Point) |
|
660 |
&& !(x is devDept.Eyeshot.Entities.Attribute) |
|
661 |
&& !(x is devDept.Eyeshot.Entities.Text)).ToList(); |
|
662 |
} |
|
663 |
else |
|
664 |
{ |
|
665 |
entities2 = blkref2.Explode(design2.Blocks).Where(x => !(x is devDept.Eyeshot.Entities.Point)).ToList(); |
|
666 |
} |
|
644 | 667 |
var coll2 = new List<Entity>(); |
645 | 668 |
entities2.ForEach(x => |
646 | 669 |
{ |
... | ... | |
748 | 771 |
if (!equalEntitiesInV2[j]) differents[1]++; |
749 | 772 |
} |
750 | 773 | |
751 |
double a = Math.Abs(FirstEntities.Count - SecondEntities.Count) / ((FirstEntities.Count + SecondEntities.Count) * 0.5) * 100; |
|
752 |
double b = FirstEntities.Count > 0 ? ((double)differents[0] / (double)FirstEntities.Count) * 100 : 100; |
|
753 |
double c = SecondEntities.Count > 0 ? ((double)differents[1] / (double)SecondEntities.Count) * 100 : 100; |
|
754 | ||
755 |
return (a + b + c) / 3; |
|
774 |
var sum = (double)(FirstEntities.Count + SecondEntities.Count); |
|
775 |
return sum > 0 ? ((double)(differents[0] + differents[1]) / sum) * 100 : 0; |
|
756 | 776 |
} |
757 | 777 |
catch (Exception ex) |
758 | 778 |
{ |
ID2.Manager/ID2.Manager/Controls/OpenProjectView.cs | ||
---|---|---|
58 | 58 |
{ |
59 | 59 |
this.radGridViewGroup.DataSource = null; |
60 | 60 |
} |
61 |
informations.ProjectList = new ProjectController().GetAllProjectList().ToList(); |
|
62 |
this.radGridViewGroup.DataSource = informations.ProjectList.Where(x => x.Level.Equals(1)); |
|
63 | 61 | |
64 |
if (informations.ActiveProjects.Count > 0) |
|
62 |
///var worker = new Classes.LoadProjectsWorker(this.radGridViewProjects); |
|
63 |
///worker.OnWorkCompletedHandler += (_e) => |
|
65 | 64 |
{ |
66 |
//foreach (var actPrj in informations.ActiveProjects) |
|
67 |
//{ |
|
68 |
// var selectedRow = this.radGridViewGroup.Rows.FirstOrDefault(o => (o.DataBoundItem as ProjectInfo).ProjectID.Equals(actPrj.ProjectID)); |
|
69 |
// if (selectedRow != null) |
|
70 |
// { |
|
71 |
// this.radGridViewGroup.CurrentRow = selectedRow; |
|
72 |
// this.radGridViewGroup.CurrentRow.IsSelected = true; |
|
73 |
// } |
|
74 |
//} |
|
75 |
var selectedRows = (from selPrjRow in this.radGridViewGroup.Rows |
|
76 |
join actPrj in informations.ActiveProjects on (selPrjRow.DataBoundItem as ProjectInfo).ProjectID equals actPrj.ProjectID |
|
77 |
select selPrjRow).ToList(); |
|
78 |
if (selectedRows.Count > 0) |
|
65 |
informations.ProjectList = new ProjectController().GetAllProjectList().ToList(); |
|
66 |
this.radGridViewGroup.DataSource = informations.ProjectList.Where(x => x.Level.Equals(1)); |
|
67 | ||
68 |
if (informations.ActiveProjects.Count > 0) |
|
79 | 69 |
{ |
80 |
if (selectedRows.Count == 1) |
|
70 |
//foreach (var actPrj in informations.ActiveProjects) |
|
71 |
//{ |
|
72 |
// var selectedRow = this.radGridViewGroup.Rows.FirstOrDefault(o => (o.DataBoundItem as ProjectInfo).ProjectID.Equals(actPrj.ProjectID)); |
|
73 |
// if (selectedRow != null) |
|
74 |
// { |
|
75 |
// this.radGridViewGroup.CurrentRow = selectedRow; |
|
76 |
// this.radGridViewGroup.CurrentRow.IsSelected = true; |
|
77 |
// } |
|
78 |
//} |
|
79 |
var selectedRows = (from selPrjRow in this.radGridViewGroup.Rows |
|
80 |
join actPrj in informations.ActiveProjects on (selPrjRow.DataBoundItem as ProjectInfo).ProjectID equals actPrj.ProjectID |
|
81 |
select selPrjRow).ToList(); |
|
82 |
if (selectedRows.Count > 0) |
|
81 | 83 |
{ |
82 |
var selectedRow = selectedRows[0]; |
|
84 |
if (selectedRows.Count == 1) |
|
85 |
{ |
|
86 |
var selectedRow = selectedRows[0]; |
|
83 | 87 | |
84 |
this.radGridViewGroup.CurrentRow = selectedRow; |
|
85 |
this.radGridViewGroup.CurrentRow.IsSelected = true; |
|
86 |
} |
|
87 |
else |
|
88 |
{ |
|
89 |
foreach (var selectedRow in selectedRows) |
|
88 |
this.radGridViewGroup.CurrentRow = selectedRow; |
|
89 |
this.radGridViewGroup.CurrentRow.IsSelected = true; |
|
90 |
} |
|
91 |
else |
|
90 | 92 |
{ |
91 |
selectedRow.IsSelected = true; |
|
93 |
foreach (var selectedRow in selectedRows) |
|
94 |
{ |
|
95 |
selectedRow.IsSelected = true; |
|
96 |
} |
|
92 | 97 |
} |
93 | 98 |
} |
94 | 99 |
} |
95 |
} |
|
100 |
}; |
|
101 | ||
102 |
///worker.StartWork(); |
|
96 | 103 |
} |
97 | 104 | |
98 | 105 |
private void RadGridViewGroup_SelectionChanged(object sender, EventArgs e) |
ID2.Manager/ID2.Manager/Forms/ExceptLayer.Designer.cs | ||
---|---|---|
36 | 36 |
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); |
37 | 37 |
this.radButtonOK = new Telerik.WinControls.UI.RadButton(); |
38 | 38 |
this.radButtonCancel = new Telerik.WinControls.UI.RadButton(); |
39 |
this.radGridViewExceptLayer = new Telerik.WinControls.UI.RadGridView(); |
|
40 | 39 |
this.radPageViewExceptLayer = new Telerik.WinControls.UI.RadPageView(); |
41 | 40 |
this.radPageViewPageExceptLayer = new Telerik.WinControls.UI.RadPageViewPage(); |
41 |
this.radGridViewExceptLayer = new Telerik.WinControls.UI.RadGridView(); |
|
42 | 42 |
this.radPageViewPageTitleBlock = new Telerik.WinControls.UI.RadPageViewPage(); |
43 | 43 |
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); |
44 | 44 |
this.radLabel1 = new Telerik.WinControls.UI.RadLabel(); |
45 | 45 |
this.radTextBoxBlockName = new Telerik.WinControls.UI.RadTextBox(); |
46 | 46 |
this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); |
47 | 47 |
this.radGridViewAttributes = new Telerik.WinControls.UI.RadGridView(); |
48 |
this.radPageViewPage1 = new Telerik.WinControls.UI.RadPageViewPage(); |
|
49 |
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); |
|
50 |
this.radCheckBoxIgnoreText = new Telerik.WinControls.UI.RadCheckBox(); |
|
48 | 51 |
this.tableLayoutPanel1.SuspendLayout(); |
49 | 52 |
this.tableLayoutPanel2.SuspendLayout(); |
50 | 53 |
((System.ComponentModel.ISupportInitialize)(this.radButtonOK)).BeginInit(); |
51 | 54 |
((System.ComponentModel.ISupportInitialize)(this.radButtonCancel)).BeginInit(); |
52 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer)).BeginInit(); |
|
53 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer.MasterTemplate)).BeginInit(); |
|
54 | 55 |
((System.ComponentModel.ISupportInitialize)(this.radPageViewExceptLayer)).BeginInit(); |
55 | 56 |
this.radPageViewExceptLayer.SuspendLayout(); |
56 | 57 |
this.radPageViewPageExceptLayer.SuspendLayout(); |
58 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer)).BeginInit(); |
|
59 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer.MasterTemplate)).BeginInit(); |
|
57 | 60 |
this.radPageViewPageTitleBlock.SuspendLayout(); |
58 | 61 |
this.tableLayoutPanel3.SuspendLayout(); |
59 | 62 |
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit(); |
... | ... | |
62 | 65 |
this.radGroupBox1.SuspendLayout(); |
63 | 66 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewAttributes)).BeginInit(); |
64 | 67 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewAttributes.MasterTemplate)).BeginInit(); |
68 |
this.radPageViewPage1.SuspendLayout(); |
|
69 |
this.tableLayoutPanel4.SuspendLayout(); |
|
70 |
((System.ComponentModel.ISupportInitialize)(this.radCheckBoxIgnoreText)).BeginInit(); |
|
65 | 71 |
((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); |
66 | 72 |
this.SuspendLayout(); |
67 | 73 |
// |
... | ... | |
115 | 121 |
this.radButtonCancel.TabIndex = 1; |
116 | 122 |
this.radButtonCancel.Text = "Cancel"; |
117 | 123 |
// |
118 |
// radGridViewExceptLayer |
|
119 |
// |
|
120 |
this.radGridViewExceptLayer.Dock = System.Windows.Forms.DockStyle.Fill; |
|
121 |
this.radGridViewExceptLayer.Location = new System.Drawing.Point(0, 0); |
|
122 |
// |
|
123 |
// |
|
124 |
// |
|
125 |
this.radGridViewExceptLayer.MasterTemplate.ViewDefinition = tableViewDefinition1; |
|
126 |
this.radGridViewExceptLayer.Name = "radGridViewExceptLayer"; |
|
127 |
this.radGridViewExceptLayer.Size = new System.Drawing.Size(254, 210); |
|
128 |
this.radGridViewExceptLayer.TabIndex = 1; |
|
129 |
// |
|
130 | 124 |
// radPageViewExceptLayer |
131 | 125 |
// |
132 | 126 |
this.radPageViewExceptLayer.Controls.Add(this.radPageViewPageExceptLayer); |
133 | 127 |
this.radPageViewExceptLayer.Controls.Add(this.radPageViewPageTitleBlock); |
128 |
this.radPageViewExceptLayer.Controls.Add(this.radPageViewPage1); |
|
134 | 129 |
this.radPageViewExceptLayer.Dock = System.Windows.Forms.DockStyle.Fill; |
135 | 130 |
this.radPageViewExceptLayer.Location = new System.Drawing.Point(3, 3); |
136 | 131 |
this.radPageViewExceptLayer.Name = "radPageViewExceptLayer"; |
137 | 132 |
this.radPageViewExceptLayer.SelectedPage = this.radPageViewPageExceptLayer; |
138 | 133 |
this.radPageViewExceptLayer.Size = new System.Drawing.Size(275, 258); |
139 | 134 |
this.radPageViewExceptLayer.TabIndex = 1; |
135 |
((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageViewExceptLayer.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.Scroll; |
|
136 |
((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageViewExceptLayer.GetChildAt(0))).ShowItemCloseButton = false; |
|
140 | 137 |
// |
141 | 138 |
// radPageViewPageExceptLayer |
142 | 139 |
// |
143 | 140 |
this.radPageViewPageExceptLayer.Controls.Add(this.radGridViewExceptLayer); |
144 |
this.radPageViewPageExceptLayer.ItemSize = new System.Drawing.SizeF(78F, 28F);
|
|
145 |
this.radPageViewPageExceptLayer.Location = new System.Drawing.Point(10, 37);
|
|
141 |
this.radPageViewPageExceptLayer.ItemSize = new System.Drawing.SizeF(82F, 29F);
|
|
142 |
this.radPageViewPageExceptLayer.Location = new System.Drawing.Point(6, 36);
|
|
146 | 143 |
this.radPageViewPageExceptLayer.Name = "radPageViewPageExceptLayer"; |
147 |
this.radPageViewPageExceptLayer.Size = new System.Drawing.Size(254, 210);
|
|
144 |
this.radPageViewPageExceptLayer.Size = new System.Drawing.Size(263, 216);
|
|
148 | 145 |
this.radPageViewPageExceptLayer.Text = "Except Layer"; |
149 | 146 |
// |
147 |
// radGridViewExceptLayer |
|
148 |
// |
|
149 |
this.radGridViewExceptLayer.Dock = System.Windows.Forms.DockStyle.Fill; |
|
150 |
this.radGridViewExceptLayer.Location = new System.Drawing.Point(0, 0); |
|
151 |
// |
|
152 |
// |
|
153 |
// |
|
154 |
this.radGridViewExceptLayer.MasterTemplate.ViewDefinition = tableViewDefinition1; |
|
155 |
this.radGridViewExceptLayer.Name = "radGridViewExceptLayer"; |
|
156 |
this.radGridViewExceptLayer.Size = new System.Drawing.Size(263, 216); |
|
157 |
this.radGridViewExceptLayer.TabIndex = 1; |
|
158 |
// |
|
150 | 159 |
// radPageViewPageTitleBlock |
151 | 160 |
// |
152 | 161 |
this.radPageViewPageTitleBlock.Controls.Add(this.tableLayoutPanel3); |
153 |
this.radPageViewPageTitleBlock.ItemSize = new System.Drawing.SizeF(64F, 28F);
|
|
154 |
this.radPageViewPageTitleBlock.Location = new System.Drawing.Point(10, 37);
|
|
162 |
this.radPageViewPageTitleBlock.ItemSize = new System.Drawing.SizeF(67F, 29F);
|
|
163 |
this.radPageViewPageTitleBlock.Location = new System.Drawing.Point(6, 36);
|
|
155 | 164 |
this.radPageViewPageTitleBlock.Name = "radPageViewPageTitleBlock"; |
156 |
this.radPageViewPageTitleBlock.Size = new System.Drawing.Size(254, 210);
|
|
165 |
this.radPageViewPageTitleBlock.Size = new System.Drawing.Size(263, 216);
|
|
157 | 166 |
this.radPageViewPageTitleBlock.Text = "TitleBlock"; |
158 | 167 |
// |
159 | 168 |
// tableLayoutPanel3 |
... | ... | |
170 | 179 |
this.tableLayoutPanel3.RowCount = 2; |
171 | 180 |
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); |
172 | 181 |
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
173 |
this.tableLayoutPanel3.Size = new System.Drawing.Size(254, 210);
|
|
182 |
this.tableLayoutPanel3.Size = new System.Drawing.Size(263, 216);
|
|
174 | 183 |
this.tableLayoutPanel3.TabIndex = 0; |
175 | 184 |
// |
176 | 185 |
// radLabel1 |
... | ... | |
178 | 187 |
this.radLabel1.Anchor = System.Windows.Forms.AnchorStyles.Left; |
179 | 188 |
this.radLabel1.Location = new System.Drawing.Point(3, 6); |
180 | 189 |
this.radLabel1.Name = "radLabel1"; |
181 |
this.radLabel1.Size = new System.Drawing.Size(75, 18);
|
|
190 |
this.radLabel1.Size = new System.Drawing.Size(74, 18);
|
|
182 | 191 |
this.radLabel1.TabIndex = 0; |
183 | 192 |
this.radLabel1.Text = "Block Name : "; |
184 | 193 |
// |
185 | 194 |
// radTextBoxBlockName |
186 | 195 |
// |
187 | 196 |
this.radTextBoxBlockName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
188 |
this.radTextBoxBlockName.Location = new System.Drawing.Point(83, 5);
|
|
197 |
this.radTextBoxBlockName.Location = new System.Drawing.Point(83, 3);
|
|
189 | 198 |
this.radTextBoxBlockName.Name = "radTextBoxBlockName"; |
190 |
this.radTextBoxBlockName.Size = new System.Drawing.Size(168, 20);
|
|
199 |
this.radTextBoxBlockName.Size = new System.Drawing.Size(177, 24);
|
|
191 | 200 |
this.radTextBoxBlockName.TabIndex = 1; |
192 | 201 |
// |
193 | 202 |
// radGroupBox1 |
... | ... | |
196 | 205 |
this.tableLayoutPanel3.SetColumnSpan(this.radGroupBox1, 2); |
197 | 206 |
this.radGroupBox1.Controls.Add(this.radGridViewAttributes); |
198 | 207 |
this.radGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill; |
208 |
this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(1); |
|
199 | 209 |
this.radGroupBox1.HeaderText = "Attributes"; |
200 | 210 |
this.radGroupBox1.Location = new System.Drawing.Point(3, 33); |
201 | 211 |
this.radGroupBox1.Name = "radGroupBox1"; |
202 |
this.radGroupBox1.Size = new System.Drawing.Size(248, 174);
|
|
212 |
this.radGroupBox1.Size = new System.Drawing.Size(257, 180);
|
|
203 | 213 |
this.radGroupBox1.TabIndex = 2; |
204 | 214 |
this.radGroupBox1.Text = "Attributes"; |
205 | 215 |
// |
... | ... | |
212 | 222 |
// |
213 | 223 |
this.radGridViewAttributes.MasterTemplate.ViewDefinition = tableViewDefinition2; |
214 | 224 |
this.radGridViewAttributes.Name = "radGridViewAttributes"; |
215 |
this.radGridViewAttributes.Size = new System.Drawing.Size(244, 154);
|
|
225 |
this.radGridViewAttributes.Size = new System.Drawing.Size(253, 160);
|
|
216 | 226 |
this.radGridViewAttributes.TabIndex = 0; |
217 | 227 |
// |
228 |
// radPageViewPage1 |
|
229 |
// |
|
230 |
this.radPageViewPage1.Controls.Add(this.tableLayoutPanel4); |
|
231 |
this.radPageViewPage1.ItemSize = new System.Drawing.SizeF(35F, 29F); |
|
232 |
this.radPageViewPage1.Location = new System.Drawing.Point(6, 36); |
|
233 |
this.radPageViewPage1.Name = "radPageViewPage1"; |
|
234 |
this.radPageViewPage1.Size = new System.Drawing.Size(263, 216); |
|
235 |
this.radPageViewPage1.Text = "ETC"; |
|
236 |
// |
|
237 |
// tableLayoutPanel4 |
|
238 |
// |
|
239 |
this.tableLayoutPanel4.ColumnCount = 2; |
|
240 |
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 140F)); |
|
241 |
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
242 |
this.tableLayoutPanel4.Controls.Add(this.radCheckBoxIgnoreText, 0, 0); |
|
243 |
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; |
|
244 |
this.tableLayoutPanel4.Location = new System.Drawing.Point(0, 0); |
|
245 |
this.tableLayoutPanel4.Name = "tableLayoutPanel4"; |
|
246 |
this.tableLayoutPanel4.RowCount = 2; |
|
247 |
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); |
|
248 |
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
249 |
this.tableLayoutPanel4.Size = new System.Drawing.Size(263, 216); |
|
250 |
this.tableLayoutPanel4.TabIndex = 0; |
|
251 |
// |
|
252 |
// radCheckBoxIgnoreText |
|
253 |
// |
|
254 |
this.radCheckBoxIgnoreText.Anchor = System.Windows.Forms.AnchorStyles.Left; |
|
255 |
this.radCheckBoxIgnoreText.Location = new System.Drawing.Point(3, 6); |
|
256 |
this.radCheckBoxIgnoreText.Name = "radCheckBoxIgnoreText"; |
|
257 |
this.radCheckBoxIgnoreText.Size = new System.Drawing.Size(80, 18); |
|
258 |
this.radCheckBoxIgnoreText.TabIndex = 0; |
|
259 |
this.radCheckBoxIgnoreText.Text = "Ignore Text"; |
|
260 |
// |
|
218 | 261 |
// ExceptLayer |
219 | 262 |
// |
220 | 263 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |
... | ... | |
226 | 269 |
this.MinimizeBox = false; |
227 | 270 |
this.Name = "ExceptLayer"; |
228 | 271 |
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
229 |
this.Text = "Except Layers";
|
|
272 |
this.Text = "Configuration";
|
|
230 | 273 |
this.tableLayoutPanel1.ResumeLayout(false); |
231 | 274 |
this.tableLayoutPanel2.ResumeLayout(false); |
232 | 275 |
((System.ComponentModel.ISupportInitialize)(this.radButtonOK)).EndInit(); |
233 | 276 |
((System.ComponentModel.ISupportInitialize)(this.radButtonCancel)).EndInit(); |
234 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer.MasterTemplate)).EndInit(); |
|
235 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer)).EndInit(); |
|
236 | 277 |
((System.ComponentModel.ISupportInitialize)(this.radPageViewExceptLayer)).EndInit(); |
237 | 278 |
this.radPageViewExceptLayer.ResumeLayout(false); |
238 | 279 |
this.radPageViewPageExceptLayer.ResumeLayout(false); |
280 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer.MasterTemplate)).EndInit(); |
|
281 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewExceptLayer)).EndInit(); |
|
239 | 282 |
this.radPageViewPageTitleBlock.ResumeLayout(false); |
240 | 283 |
this.tableLayoutPanel3.ResumeLayout(false); |
241 | 284 |
this.tableLayoutPanel3.PerformLayout(); |
... | ... | |
245 | 288 |
this.radGroupBox1.ResumeLayout(false); |
246 | 289 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewAttributes.MasterTemplate)).EndInit(); |
247 | 290 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewAttributes)).EndInit(); |
291 |
this.radPageViewPage1.ResumeLayout(false); |
|
292 |
this.tableLayoutPanel4.ResumeLayout(false); |
|
293 |
this.tableLayoutPanel4.PerformLayout(); |
|
294 |
((System.ComponentModel.ISupportInitialize)(this.radCheckBoxIgnoreText)).EndInit(); |
|
248 | 295 |
((System.ComponentModel.ISupportInitialize)(this)).EndInit(); |
249 | 296 |
this.ResumeLayout(false); |
250 | 297 | |
... | ... | |
265 | 312 |
private Telerik.WinControls.UI.RadTextBox radTextBoxBlockName; |
266 | 313 |
private Telerik.WinControls.UI.RadGroupBox radGroupBox1; |
267 | 314 |
private Telerik.WinControls.UI.RadGridView radGridViewAttributes; |
315 |
private Telerik.WinControls.UI.RadPageViewPage radPageViewPage1; |
|
316 |
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; |
|
317 |
private Telerik.WinControls.UI.RadCheckBox radCheckBoxIgnoreText; |
|
268 | 318 |
} |
269 | 319 |
} |
ID2.Manager/ID2.Manager/Forms/ExceptLayer.cs | ||
---|---|---|
52 | 52 |
public static List<BlockAttribute> TitleBlockAttribute { get; } = new List<BlockAttribute>(); |
53 | 53 |
private BindingList<BlockAttribute> _TitleBlockAttribute { get; } = new BindingList<BlockAttribute>(); |
54 | 54 | |
55 |
public bool IgnoreText { get; set; } = false; |
|
56 | ||
55 | 57 |
public ExceptLayer() |
56 | 58 |
{ |
57 | 59 |
InitializeComponent(); |
... | ... | |
68 | 70 | |
69 | 71 |
this.radButtonOK.Click += RadButtonOK_Click; |
70 | 72 |
this.radButtonCancel.Click += RadButtonCancel_Click; |
73 | ||
74 |
this.Load += ExceptLayer_Load; |
|
75 |
} |
|
76 | ||
77 |
private void ExceptLayer_Load(object sender, EventArgs e) |
|
78 |
{ |
|
79 |
var value = Classes.ID2Helper.IniReadValue(Program.IniFilePath, "Verification", "Ignore Text"); |
|
80 |
bool _IgnoreText = false; |
|
81 |
bool.TryParse(value, out _IgnoreText); |
|
82 |
IgnoreText = _IgnoreText; |
|
83 |
this.radCheckBoxIgnoreText.Checked = IgnoreText; |
|
71 | 84 |
} |
72 | 85 | |
73 | 86 |
private void RadGridViewAttributes_DataBindingComplete(object sender, GridViewBindingCompleteEventArgs e) |
... | ... | |
89 | 102 |
TitleBlockAttribute.AddRange(_TitleBlockAttribute); |
90 | 103 |
TitleBlockAttribute.ForEach(x => x.BlockName = this.radTextBoxBlockName.Text); |
91 | 104 | |
105 |
this.IgnoreText = this.radCheckBoxIgnoreText.Checked; |
|
106 |
Classes.ID2Helper.IniWriteValue(Program.IniFilePath, "Verification", "Ignore Text", this.IgnoreText.ToString()); |
|
107 | ||
92 | 108 |
this.DialogResult = DialogResult.OK; |
93 | 109 |
} |
94 | 110 |
ID2.Manager/ID2.Manager/ID2.Manager.csproj | ||
---|---|---|
102 | 102 |
<ItemGroup> |
103 | 103 |
<Compile Include="Classes\BaseWorker.cs" /> |
104 | 104 |
<Compile Include="Classes\CompareModelWorkUnit.cs" /> |
105 |
<Compile Include="Classes\LoadProjectsWorker.cs" /> |
|
105 | 106 |
<Compile Include="Classes\ID2SymbolWorker.cs" /> |
106 | 107 |
<Compile Include="Classes\DocumentsWorker.cs" /> |
107 | 108 |
<Compile Include="Classes\ID2Helper.cs" /> |
ID2.Manager/ID2.Manager/Main.Designer.cs | ||
---|---|---|
87 | 87 |
devDept.Eyeshot.CancelToolBarButton cancelToolBarButton1 = new devDept.Eyeshot.CancelToolBarButton("Cancel", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true); |
88 | 88 |
devDept.Eyeshot.ProgressBar progressBar1 = new devDept.Eyeshot.ProgressBar(devDept.Eyeshot.ProgressBar.styleType.Circular, 0, "Idle", System.Drawing.Color.Black, System.Drawing.Color.Transparent, System.Drawing.Color.Green, 1D, true, cancelToolBarButton1, false, 0.1D, 0.333D, true); |
89 | 89 |
devDept.Graphics.BackgroundSettings backgroundSettings1 = new devDept.Graphics.BackgroundSettings(devDept.Graphics.backgroundStyleType.Solid, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.DodgerBlue, System.Drawing.Color.Black, 0.75D, null, devDept.Graphics.colorThemeType.Auto, 0.33D); |
90 |
devDept.Eyeshot.Camera camera1 = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(-4.5374030325107811E-16D, 2.0434646606445308D, 47.596564948558793D), 97.257904648780823D, new devDept.Geometry.Quaternion(0.49999999999999989D, 0.5D, 0.5D, 0.50000000000000011D), devDept.Graphics.projectionType.Orthographic, 40D, 1.1893551251321324D, false, 0.001D);
|
|
90 |
devDept.Eyeshot.Camera camera1 = new devDept.Eyeshot.Camera(new devDept.Geometry.Point3D(-4.5374030325107811E-16D, 2.0434646606445308D, 47.596564948558793D), 97.257904648780823D, new devDept.Geometry.Quaternion(0.49999999999999989D, 0.5D, 0.5D, 0.50000000000000011D), devDept.Graphics.projectionType.Orthographic, 40D, 1.1893552962580967D, false, 0.001D);
|
|
91 | 91 |
devDept.Eyeshot.MagnifyingGlassToolBarButton magnifyingGlassToolBarButton1 = new devDept.Eyeshot.MagnifyingGlassToolBarButton("Magnifying Glass", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true); |
92 | 92 |
devDept.Eyeshot.ZoomWindowToolBarButton zoomWindowToolBarButton1 = new devDept.Eyeshot.ZoomWindowToolBarButton("Zoom Window", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true); |
93 | 93 |
devDept.Eyeshot.ZoomToolBarButton zoomToolBarButton1 = new devDept.Eyeshot.ZoomToolBarButton("Zoom", devDept.Eyeshot.ToolBarButton.styleType.ToggleButton, true, true); |
... | ... | |
386 | 386 |
this.backstageTabItemOpenProject, |
387 | 387 |
this.backstageButtonItemUserRegistration, |
388 | 388 |
this.backstageButtonItemExit}); |
389 |
this.radRibbonBarBackstageViewID2Manager.Location = new System.Drawing.Point(0, 58);
|
|
389 |
this.radRibbonBarBackstageViewID2Manager.Location = new System.Drawing.Point(0, 56);
|
|
390 | 390 |
this.radRibbonBarBackstageViewID2Manager.Name = "radRibbonBarBackstageViewID2Manager"; |
391 | 391 |
this.radRibbonBarBackstageViewID2Manager.RightToLeft = System.Windows.Forms.RightToLeft.No; |
392 | 392 |
this.radRibbonBarBackstageViewID2Manager.SelectedItem = this.backstageTabItemOpenProject; |
393 |
this.radRibbonBarBackstageViewID2Manager.Size = new System.Drawing.Size(1334, 776);
|
|
393 |
this.radRibbonBarBackstageViewID2Manager.Size = new System.Drawing.Size(1334, 778);
|
|
394 | 394 |
this.radRibbonBarBackstageViewID2Manager.TabIndex = 3; |
395 | 395 |
// |
396 | 396 |
// backstageViewPageOpenProject |
397 | 397 |
// |
398 | 398 |
this.backstageViewPageOpenProject.BackColor = System.Drawing.Color.Transparent; |
399 | 399 |
this.backstageViewPageOpenProject.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
400 |
this.backstageViewPageOpenProject.Location = new System.Drawing.Point(138, 1);
|
|
400 |
this.backstageViewPageOpenProject.Location = new System.Drawing.Point(136, 3);
|
|
401 | 401 |
this.backstageViewPageOpenProject.Name = "backstageViewPageOpenProject"; |
402 |
this.backstageViewPageOpenProject.Size = new System.Drawing.Size(1196, 775);
|
|
402 |
this.backstageViewPageOpenProject.Size = new System.Drawing.Size(1198, 775);
|
|
403 | 403 |
this.backstageViewPageOpenProject.TabIndex = 1; |
404 | 404 |
// |
405 | 405 |
// backstageButtonItemSelectDB |
... | ... | |
1460 | 1460 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); |
1461 | 1461 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F)); |
1462 | 1462 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); |
1463 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 76F));
|
|
1463 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 96F));
|
|
1464 | 1464 |
this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListFrReviewStatus, 4, 2); |
1465 | 1465 |
this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListToIsDiscussion, 2, 2); |
1466 | 1466 |
this.tableLayoutPanelCondition.Controls.Add(this.radLabelFrReviewStatus, 3, 2); |
... | ... | |
1517 | 1517 |
this.radDropDownListFrReviewStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1518 | 1518 |
this.radDropDownListFrReviewStatus.DropDownAnimationEnabled = true; |
1519 | 1519 |
this.radDropDownListFrReviewStatus.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1520 |
this.radDropDownListFrReviewStatus.Location = new System.Drawing.Point(319, 64);
|
|
1520 |
this.radDropDownListFrReviewStatus.Location = new System.Drawing.Point(315, 64);
|
|
1521 | 1521 |
this.radDropDownListFrReviewStatus.Name = "radDropDownListFrReviewStatus"; |
1522 |
this.radDropDownListFrReviewStatus.Size = new System.Drawing.Size(80, 24);
|
|
1522 |
this.radDropDownListFrReviewStatus.Size = new System.Drawing.Size(76, 24);
|
|
1523 | 1523 |
this.radDropDownListFrReviewStatus.TabIndex = 18; |
1524 | 1524 |
// |
1525 | 1525 |
// radDropDownListToIsDiscussion |
... | ... | |
1529 | 1529 |
this.radDropDownListToIsDiscussion.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1530 | 1530 |
this.radDropDownListToIsDiscussion.Location = new System.Drawing.Point(146, 64); |
1531 | 1531 |
this.radDropDownListToIsDiscussion.Name = "radDropDownListToIsDiscussion"; |
1532 |
this.radDropDownListToIsDiscussion.Size = new System.Drawing.Size(80, 24);
|
|
1532 |
this.radDropDownListToIsDiscussion.Size = new System.Drawing.Size(76, 24);
|
|
1533 | 1533 |
this.radDropDownListToIsDiscussion.TabIndex = 17; |
1534 | 1534 |
// |
1535 | 1535 |
// radLabelFrReviewStatus |
1536 | 1536 |
// |
1537 | 1537 |
this.radLabelFrReviewStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1538 | 1538 |
this.radLabelFrReviewStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1539 |
this.radLabelFrReviewStatus.Location = new System.Drawing.Point(233, 67);
|
|
1539 |
this.radLabelFrReviewStatus.Location = new System.Drawing.Point(229, 67);
|
|
1540 | 1540 |
this.radLabelFrReviewStatus.Name = "radLabelFrReviewStatus"; |
1541 | 1541 |
this.radLabelFrReviewStatus.Size = new System.Drawing.Size(59, 17); |
1542 | 1542 |
this.radLabelFrReviewStatus.TabIndex = 7; |
... | ... | |
1566 | 1566 |
// |
1567 | 1567 |
this.radLabelAVEVAStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1568 | 1568 |
this.radLabelAVEVAStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1569 |
this.radLabelAVEVAStatus.Location = new System.Drawing.Point(406, 97);
|
|
1569 |
this.radLabelAVEVAStatus.Location = new System.Drawing.Point(398, 97);
|
|
1570 | 1570 |
this.radLabelAVEVAStatus.Name = "radLabelAVEVAStatus"; |
1571 | 1571 |
this.radLabelAVEVAStatus.Size = new System.Drawing.Size(86, 17); |
1572 | 1572 |
this.radLabelAVEVAStatus.TabIndex = 8; |
... | ... | |
1576 | 1576 |
// |
1577 | 1577 |
this.radLabelJobLevel.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1578 | 1578 |
this.radLabelJobLevel.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1579 |
this.radLabelJobLevel.Location = new System.Drawing.Point(579, 37);
|
|
1579 |
this.radLabelJobLevel.Location = new System.Drawing.Point(567, 37);
|
|
1580 | 1580 |
this.radLabelJobLevel.Name = "radLabelJobLevel"; |
1581 | 1581 |
this.radLabelJobLevel.Size = new System.Drawing.Size(47, 17); |
1582 | 1582 |
this.radLabelJobLevel.TabIndex = 7; |
... | ... | |
1627 | 1627 |
this.radButtonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); |
1628 | 1628 |
this.radButtonSearch.Cursor = System.Windows.Forms.Cursors.Default; |
1629 | 1629 |
this.radButtonSearch.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1630 |
this.radButtonSearch.Location = new System.Drawing.Point(935, 34);
|
|
1630 |
this.radButtonSearch.Location = new System.Drawing.Point(925, 34);
|
|
1631 | 1631 |
this.radButtonSearch.Name = "radButtonSearch"; |
1632 | 1632 |
this.tableLayoutPanelCondition.SetRowSpan(this.radButtonSearch, 5); |
1633 | 1633 |
this.radButtonSearch.Size = new System.Drawing.Size(54, 147); |
... | ... | |
1639 | 1639 |
this.radDropDownListProject.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1640 | 1640 |
this.radDropDownListProject.DropDownAnimationEnabled = true; |
1641 | 1641 |
this.radDropDownListProject.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1642 |
this.radDropDownListProject.Location = new System.Drawing.Point(319, 34);
|
|
1642 |
this.radDropDownListProject.Location = new System.Drawing.Point(315, 34);
|
|
1643 | 1643 |
this.radDropDownListProject.Name = "radDropDownListProject"; |
1644 |
this.radDropDownListProject.Size = new System.Drawing.Size(80, 24);
|
|
1644 |
this.radDropDownListProject.Size = new System.Drawing.Size(76, 24);
|
|
1645 | 1645 |
this.radDropDownListProject.TabIndex = 7; |
1646 | 1646 |
// |
1647 | 1647 |
// radLabelDocumentNo |
1648 | 1648 |
// |
1649 | 1649 |
this.radLabelDocumentNo.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1650 | 1650 |
this.radLabelDocumentNo.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1651 |
this.radLabelDocumentNo.Location = new System.Drawing.Point(752, 37);
|
|
1651 |
this.radLabelDocumentNo.Location = new System.Drawing.Point(736, 37);
|
|
1652 | 1652 |
this.radLabelDocumentNo.Name = "radLabelDocumentNo"; |
1653 | 1653 |
this.radLabelDocumentNo.Size = new System.Drawing.Size(52, 17); |
1654 | 1654 |
this.radLabelDocumentNo.TabIndex = 6; |
... | ... | |
1657 | 1657 |
// radTextBoxDocumentNo |
1658 | 1658 |
// |
1659 | 1659 |
this.radTextBoxDocumentNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1660 |
this.radTextBoxDocumentNo.Location = new System.Drawing.Point(838, 34);
|
|
1660 |
this.radTextBoxDocumentNo.Location = new System.Drawing.Point(822, 34);
|
|
1661 | 1661 |
this.radTextBoxDocumentNo.Name = "radTextBoxDocumentNo"; |
1662 |
this.radTextBoxDocumentNo.Size = new System.Drawing.Size(80, 24);
|
|
1662 |
this.radTextBoxDocumentNo.Size = new System.Drawing.Size(76, 24);
|
|
1663 | 1663 |
this.radTextBoxDocumentNo.TabIndex = 8; |
1664 | 1664 |
// |
1665 | 1665 |
// radLabelPersonInCharge |
1666 | 1666 |
// |
1667 | 1667 |
this.radLabelPersonInCharge.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1668 | 1668 |
this.radLabelPersonInCharge.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1669 |
this.radLabelPersonInCharge.Location = new System.Drawing.Point(406, 37);
|
|
1669 |
this.radLabelPersonInCharge.Location = new System.Drawing.Point(398, 37);
|
|
1670 | 1670 |
this.radLabelPersonInCharge.Name = "radLabelPersonInCharge"; |
1671 | 1671 |
this.radLabelPersonInCharge.Size = new System.Drawing.Size(47, 17); |
1672 | 1672 |
this.radLabelPersonInCharge.TabIndex = 6; |
... | ... | |
1677 | 1677 |
this.radDropDownListPersonInCharge.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1678 | 1678 |
this.radDropDownListPersonInCharge.DropDownAnimationEnabled = true; |
1679 | 1679 |
this.radDropDownListPersonInCharge.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1680 |
this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(492, 34);
|
|
1680 |
this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(484, 34);
|
|
1681 | 1681 |
this.radDropDownListPersonInCharge.Name = "radDropDownListPersonInCharge"; |
1682 |
this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(80, 24);
|
|
1682 |
this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(76, 24);
|
|
1683 | 1683 |
this.radDropDownListPersonInCharge.TabIndex = 9; |
1684 | 1684 |
// |
1685 | 1685 |
// radLabel1 |
... | ... | |
1697 | 1697 |
this.radDropDownListJobLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1698 | 1698 |
this.radDropDownListJobLevel.DropDownAnimationEnabled = true; |
1699 | 1699 |
this.radDropDownListJobLevel.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1700 |
this.radDropDownListJobLevel.Location = new System.Drawing.Point(665, 34);
|
|
1700 |
this.radDropDownListJobLevel.Location = new System.Drawing.Point(653, 34);
|
|
1701 | 1701 |
this.radDropDownListJobLevel.Name = "radDropDownListJobLevel"; |
1702 |
this.radDropDownListJobLevel.Size = new System.Drawing.Size(80, 24);
|
|
1702 |
this.radDropDownListJobLevel.Size = new System.Drawing.Size(76, 24);
|
|
1703 | 1703 |
this.radDropDownListJobLevel.TabIndex = 11; |
1704 | 1704 |
// |
1705 | 1705 |
// radLabelID2Status |
... | ... | |
1716 | 1716 |
// |
1717 | 1717 |
this.radLabel10.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1718 | 1718 |
this.radLabel10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1719 |
this.radLabel10.Location = new System.Drawing.Point(233, 127);
|
|
1719 |
this.radLabel10.Location = new System.Drawing.Point(229, 127);
|
|
1720 | 1720 |
this.radLabel10.Name = "radLabel10"; |
1721 | 1721 |
this.radLabel10.Size = new System.Drawing.Size(61, 17); |
1722 | 1722 |
this.radLabel10.TabIndex = 9; |
... | ... | |
1729 | 1729 |
this.radDropDownListID2Status.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1730 | 1730 |
this.radDropDownListID2Status.Location = new System.Drawing.Point(146, 94); |
1731 | 1731 |
this.radDropDownListID2Status.Name = "radDropDownListID2Status"; |
1732 |
this.radDropDownListID2Status.Size = new System.Drawing.Size(80, 24);
|
|
1732 |
this.radDropDownListID2Status.Size = new System.Drawing.Size(76, 24);
|
|
1733 | 1733 |
this.radDropDownListID2Status.TabIndex = 13; |
1734 | 1734 |
// |
1735 | 1735 |
// radDropDownListAVEVAStatus |
... | ... | |
1737 | 1737 |
this.radDropDownListAVEVAStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1738 | 1738 |
this.radDropDownListAVEVAStatus.DropDownAnimationEnabled = true; |
1739 | 1739 |
this.radDropDownListAVEVAStatus.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1740 |
this.radDropDownListAVEVAStatus.Location = new System.Drawing.Point(492, 94);
|
|
1740 |
this.radDropDownListAVEVAStatus.Location = new System.Drawing.Point(484, 94);
|
|
1741 | 1741 |
this.radDropDownListAVEVAStatus.Name = "radDropDownListAVEVAStatus"; |
1742 |
this.radDropDownListAVEVAStatus.Size = new System.Drawing.Size(80, 24);
|
|
1742 |
this.radDropDownListAVEVAStatus.Size = new System.Drawing.Size(76, 24);
|
|
1743 | 1743 |
this.radDropDownListAVEVAStatus.TabIndex = 14; |
1744 | 1744 |
// |
1745 | 1745 |
// radDropDownListProdIsResult |
... | ... | |
1749 | 1749 |
this.radDropDownListProdIsResult.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1750 | 1750 |
this.radDropDownListProdIsResult.Location = new System.Drawing.Point(146, 124); |
1751 | 1751 |
this.radDropDownListProdIsResult.Name = "radDropDownListProdIsResult"; |
1752 |
this.radDropDownListProdIsResult.Size = new System.Drawing.Size(80, 24);
|
|
1752 |
this.radDropDownListProdIsResult.Size = new System.Drawing.Size(76, 24);
|
|
1753 | 1753 |
this.radDropDownListProdIsResult.TabIndex = 15; |
1754 | 1754 |
// |
1755 | 1755 |
// radDropDownListClientIsResult |
... | ... | |
1757 | 1757 |
this.radDropDownListClientIsResult.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1758 | 1758 |
this.radDropDownListClientIsResult.DropDownAnimationEnabled = true; |
1759 | 1759 |
this.radDropDownListClientIsResult.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1760 |
this.radDropDownListClientIsResult.Location = new System.Drawing.Point(319, 124);
|
|
1760 |
this.radDropDownListClientIsResult.Location = new System.Drawing.Point(315, 124);
|
|
1761 | 1761 |
this.radDropDownListClientIsResult.Name = "radDropDownListClientIsResult"; |
1762 |
this.radDropDownListClientIsResult.Size = new System.Drawing.Size(80, 24);
|
|
1762 |
this.radDropDownListClientIsResult.Size = new System.Drawing.Size(76, 24);
|
|
1763 | 1763 |
this.radDropDownListClientIsResult.TabIndex = 16; |
1764 | 1764 |
// |
1765 | 1765 |
// radLabel6 |
... | ... | |
1776 | 1776 |
// |
1777 | 1777 |
this.radLabel7.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1778 | 1778 |
this.radLabel7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1779 |
this.radLabel7.Location = new System.Drawing.Point(233, 159);
|
|
1779 |
this.radLabel7.Location = new System.Drawing.Point(229, 159);
|
|
1780 | 1780 |
this.radLabel7.Name = "radLabel7"; |
1781 | 1781 |
this.radLabel7.Size = new System.Drawing.Size(72, 17); |
1782 | 1782 |
this.radLabel7.TabIndex = 12; |
... | ... | |
1799 | 1799 |
this.radDropDownListGateway.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1800 | 1800 |
this.radDropDownListGateway.Location = new System.Drawing.Point(146, 155); |
1801 | 1801 |
this.radDropDownListGateway.Name = "radDropDownListGateway"; |
1802 |
this.radDropDownListGateway.Size = new System.Drawing.Size(80, 24);
|
|
1802 |
this.radDropDownListGateway.Size = new System.Drawing.Size(76, 24);
|
|
1803 | 1803 |
this.radDropDownListGateway.TabIndex = 19; |
1804 | 1804 |
// |
1805 | 1805 |
// radDropDownListRegistration |
... | ... | |
1807 | 1807 |
this.radDropDownListRegistration.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1808 | 1808 |
this.radDropDownListRegistration.DropDownAnimationEnabled = true; |
1809 | 1809 |
this.radDropDownListRegistration.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1810 |
this.radDropDownListRegistration.Location = new System.Drawing.Point(319, 155);
|
|
1810 |
this.radDropDownListRegistration.Location = new System.Drawing.Point(315, 155);
|
|
1811 | 1811 |
this.radDropDownListRegistration.Name = "radDropDownListRegistration"; |
1812 |
this.radDropDownListRegistration.Size = new System.Drawing.Size(80, 24);
|
|
1812 |
this.radDropDownListRegistration.Size = new System.Drawing.Size(76, 24);
|
|
1813 | 1813 |
this.radDropDownListRegistration.TabIndex = 20; |
1814 | 1814 |
// |
1815 | 1815 |
// radLabel8 |
... | ... | |
1903 | 1903 |
// |
1904 | 1904 |
this.radLabelID2Issues.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1905 | 1905 |
this.radLabelID2Issues.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1906 |
this.radLabelID2Issues.Location = new System.Drawing.Point(233, 97);
|
|
1906 |
this.radLabelID2Issues.Location = new System.Drawing.Point(229, 97);
|
|
1907 | 1907 |
this.radLabelID2Issues.Name = "radLabelID2Issues"; |
1908 | 1908 |
this.radLabelID2Issues.Size = new System.Drawing.Size(59, 17); |
1909 | 1909 |
this.radLabelID2Issues.TabIndex = 23; |
... | ... | |
1913 | 1913 |
// |
1914 | 1914 |
this.radLabelAVEVAIssues.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1915 | 1915 |
this.radLabelAVEVAIssues.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1916 |
this.radLabelAVEVAIssues.Location = new System.Drawing.Point(579, 97);
|
|
1916 |
this.radLabelAVEVAIssues.Location = new System.Drawing.Point(567, 97);
|
|
1917 | 1917 |
this.radLabelAVEVAIssues.Name = "radLabelAVEVAIssues"; |
1918 | 1918 |
this.radLabelAVEVAIssues.Size = new System.Drawing.Size(81, 17); |
1919 | 1919 |
this.radLabelAVEVAIssues.TabIndex = 24; |
... | ... | |
1924 | 1924 |
this.radDropDownListID2Issues.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1925 | 1925 |
this.radDropDownListID2Issues.DropDownAnimationEnabled = true; |
1926 | 1926 |
this.radDropDownListID2Issues.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1927 |
this.radDropDownListID2Issues.Location = new System.Drawing.Point(319, 94);
|
|
1927 |
this.radDropDownListID2Issues.Location = new System.Drawing.Point(315, 94);
|
|
1928 | 1928 |
this.radDropDownListID2Issues.Name = "radDropDownListID2Issues"; |
1929 |
this.radDropDownListID2Issues.Size = new System.Drawing.Size(80, 24);
|
|
1929 |
this.radDropDownListID2Issues.Size = new System.Drawing.Size(76, 24);
|
|
1930 | 1930 |
this.radDropDownListID2Issues.TabIndex = 25; |
1931 | 1931 |
// |
1932 | 1932 |
// radDropDownListAVEVAIssues |
... | ... | |
1934 | 1934 |
this.radDropDownListAVEVAIssues.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
1935 | 1935 |
this.radDropDownListAVEVAIssues.DropDownAnimationEnabled = true; |
1936 | 1936 |
this.radDropDownListAVEVAIssues.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1937 |
this.radDropDownListAVEVAIssues.Location = new System.Drawing.Point(665, 94);
|
|
1937 |
this.radDropDownListAVEVAIssues.Location = new System.Drawing.Point(653, 94);
|
|
1938 | 1938 |
this.radDropDownListAVEVAIssues.Name = "radDropDownListAVEVAIssues"; |
1939 |
this.radDropDownListAVEVAIssues.Size = new System.Drawing.Size(80, 24);
|
|
1939 |
this.radDropDownListAVEVAIssues.Size = new System.Drawing.Size(76, 24);
|
|
1940 | 1940 |
this.radDropDownListAVEVAIssues.TabIndex = 26; |
1941 | 1941 |
// |
1942 | 1942 |
// radLabelProject |
1943 | 1943 |
// |
1944 | 1944 |
this.radLabelProject.Anchor = System.Windows.Forms.AnchorStyles.Left; |
1945 | 1945 |
this.radLabelProject.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
1946 |
this.radLabelProject.Location = new System.Drawing.Point(233, 37);
|
|
1946 |
this.radLabelProject.Location = new System.Drawing.Point(229, 37);
|
|
1947 | 1947 |
this.radLabelProject.Name = "radLabelProject"; |
1948 | 1948 |
this.radLabelProject.Size = new System.Drawing.Size(68, 17); |
1949 | 1949 |
this.radLabelProject.TabIndex = 27; |
... | ... | |
1956 | 1956 |
this.radDropDownListTeam.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
1957 | 1957 |
this.radDropDownListTeam.Location = new System.Drawing.Point(146, 34); |
1958 | 1958 |
this.radDropDownListTeam.Name = "radDropDownListTeam"; |
1959 |
this.radDropDownListTeam.Size = new System.Drawing.Size(80, 24);
|
|
1959 |
this.radDropDownListTeam.Size = new System.Drawing.Size(76, 24);
|
|
1960 | 1960 |
this.radDropDownListTeam.TabIndex = 28; |
1961 | 1961 |
// |
1962 | 1962 |
// radLabelProjectGroupNm |
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
159 | 159 |
//this.radGridViewDocuments.MasterView.TableSearchRow.InitialSearchResultsTreshold = ; |
160 | 160 |
this.radGridViewDocuments.MasterView.TableSearchRow.IsVisible = false; |
161 | 161 |
this.radGridViewDocuments.GroupSummaryEvaluate += RadGridViewDocuments_GroupSummaryEvaluate; |
162 | ||
162 | 163 |
this.radGridViewID2Symbols.GroupSummaryEvaluate += RadGridViewDocuments_GroupSummaryEvaluate; |
163 | 164 | |
164 | 165 |
var openProjectView = new OpenProjectView() |
... | ... | |
667 | 668 |
} |
668 | 669 |
else |
669 | 670 |
{ |
670 |
var worker = new BackgroundWorker(); |
|
671 |
worker.DoWork += (sender, _e) => |
|
672 |
{ |
|
673 |
informations.ProjectList = new ProjectController().GetAllProjectList().ToList(); |
|
674 |
}; |
|
675 |
worker.RunWorkerCompleted += (sender, _e) => |
|
671 |
this.radRibbonBarBackstageViewID2Manager.ShowPopup(this.GetBackstageLocation(), this.ID2ManagerRadRibbonBar.RibbonBarElement); |
|
672 |
/* |
|
673 |
foreach (Control ctrl in this.backstageViewPageOpenProject.Controls) |
|
676 | 674 |
{ |
677 |
foreach (Control ctrl in this.backstageViewPageOpenProject.Controls)
|
|
675 |
if (ctrl is OpenProjectView)
|
|
678 | 676 |
{ |
679 |
if (ctrl is OpenProjectView) |
|
680 |
{ |
|
681 |
var openProjectView = ctrl as OpenProjectView; |
|
682 |
openProjectView.GetProjectGroups(); |
|
683 |
break; |
|
684 |
} |
|
677 |
var openProjectView = ctrl as OpenProjectView; |
|
678 |
openProjectView.GetProjectGroups(); |
|
679 |
break; |
|
685 | 680 |
} |
686 | ||
687 |
this.radRibbonBarBackstageViewID2Manager.ShowPopup(this.GetBackstageLocation(), this.ID2ManagerRadRibbonBar.RibbonBarElement); |
|
688 |
}; |
|
689 | ||
690 |
worker.RunWorkerAsync(); |
|
691 |
} |
|
681 |
} |
|
682 |
*/ |
|
683 |
}; |
|
692 | 684 |
} |
693 | 685 |
else |
694 | 686 |
{ |
... | ... | |
2149 | 2141 |
e.GridViewTemplate.DataView[0].IsSelected = true; |
2150 | 2142 |
} |
2151 | 2143 | |
2144 |
#region 현재 화면에 보이는 Document만 Classify 화면에 표시 |
|
2145 |
var docs = ((GridDataView)radGridViewDocuments.MasterTemplate.DataView).Indexer.Items.Select(x => x.DataBoundItem as Documents).ToList(); |
|
2146 |
var classify = this.LayoutValidation.Controls[0] as Classify; |
|
2147 |
classify.DocumentListBinding(docs); |
|
2148 |
#endregion |
|
2149 | ||
2152 | 2150 |
this.lbSelectAndTotal.Text = $"{e.GridViewTemplate.DataView.Count} / {this.SearchCount} / {this.TotalCount} (Filter / Search / Total)"; |
2153 | 2151 |
this.lbChecked.Text = $"Checked : {this.GetCheckedRows(true).Count()}"; |
2154 | 2152 |
} |
내보내기 Unified diff