개정판 8e373ccf
issue #0000
로그인 후 Project 선택 화면 추가
ProjectGroup > ProjectList 로 구성
조회 조건 추가 :
- 선택한 ProjectGroup의 프로젝트 리스트
- 유저(Admin 제외한 유저목록)
- Document No
Place -> Project로 변경
프로젝트 정보 추가 : description, path
Change-Id: Idac81acd74d074a259027b50b9b613e174b110b1
ID2.Manager/ID2.Manager.Common/Informations.cs | ||
---|---|---|
26 | 26 |
} |
27 | 27 |
|
28 | 28 |
public UserInfo ActiveUser { get; set; } |
29 |
public UserInfo ActiveProject { get; set; }
|
|
29 |
public ProjectInfo ActiveProject { get; set; }
|
|
30 | 30 |
|
31 | 31 |
public List<UserInfo> UserList { get; set; } = new List<UserInfo>(); |
32 |
public List<ProjectInfo> ProjectList { get; set; } = new List<ProjectInfo>(); |
|
32 | 33 |
|
33 | 34 |
private readonly List<string> _JobLevel = new List<string>() { "1", "2", "3", "4", "5" }; |
34 | 35 |
public List<string> JobLevel |
ID2.Manager/ID2.Manager.Controller/Controllers/DocumentController.cs | ||
---|---|---|
11 | 11 |
{ |
12 | 12 |
public class DocumentController : BaseController |
13 | 13 |
{ |
14 |
public IEnumerable<Documents> GetAllDocuments() |
|
14 |
public IEnumerable<Documents> GetAllDocuments(string projectID, string personIncharge, string documentNo)
|
|
15 | 15 |
{ |
16 | 16 |
using (DocumentRepository rep = new DocumentRepository(this._DbConnectionStr)) |
17 | 17 |
{ |
18 |
return rep.GetAllDocuments(); |
|
18 |
return rep.GetAllDocuments(projectID, personIncharge, documentNo);
|
|
19 | 19 |
} |
20 | 20 |
} |
21 | 21 |
|
ID2.Manager/ID2.Manager.Controller/Controllers/ProjectController.cs | ||
---|---|---|
11 | 11 |
{ |
12 | 12 |
public class ProjectController : BaseController |
13 | 13 |
{ |
14 |
public IEnumerable<ProjectInfo> GetAllProjectList()
|
|
14 |
public IEnumerable<ProjectInfo> GetProjectGroupList()
|
|
15 | 15 |
{ |
16 | 16 |
using (ProjectRepository rep = new ProjectRepository(this._DbConnectionStr)) |
17 | 17 |
{ |
18 |
return rep.GetAllProjectList();
|
|
18 |
return rep.GetProjectGroupList();
|
|
19 | 19 |
} |
20 | 20 |
} |
21 | 21 |
|
ID2.Manager/ID2.Manager.Dapper/Repository/DocumentRepository.cs | ||
---|---|---|
6 | 6 |
|
7 | 7 |
using ID2.Manager.Data.Models; |
8 | 8 |
|
9 |
using Dapper; |
|
10 |
|
|
9 | 11 |
namespace ID2.Manager.Dapper.Repository |
10 | 12 |
{ |
11 | 13 |
public class DocumentRepository : BaseRepository |
12 | 14 |
{ |
13 | 15 |
public DocumentRepository(string connectionStr) : base(connectionStr) { } |
14 | 16 |
|
15 |
public IEnumerable<Documents> GetAllDocuments() |
|
17 |
public IEnumerable<Documents> GetAllDocuments(string projectID, string personIncharge, string documentNo)
|
|
16 | 18 |
{ |
19 |
StringBuilder sbWhere = new StringBuilder(); |
|
20 |
var parameters = new Dictionary<string, object>(); |
|
21 |
if (!string.IsNullOrEmpty(projectID)) |
|
22 |
{ |
|
23 |
sbWhere.Append(" and doc.RefProjectID=@RefProjectID "); |
|
24 |
parameters.Add("RefProjectID", projectID); |
|
25 |
} |
|
26 |
if (!string.IsNullOrEmpty(personIncharge)) |
|
27 |
{ |
|
28 |
sbWhere.Append(" and doc.PersonInCharge=@PersonInCharge "); |
|
29 |
parameters.Add("PersonInCharge", personIncharge); |
|
30 |
} |
|
31 |
if (!string.IsNullOrEmpty(documentNo)) |
|
32 |
{ |
|
33 |
sbWhere.Append(" and doc.DocumentNo like '%' + @DocumentNo +'%' "); |
|
34 |
parameters.Add("DocumentNo", documentNo); |
|
35 |
} |
|
36 |
|
|
17 | 37 |
string query = $@" |
18 | 38 |
select doc.* |
19 | 39 |
from dbo.Documents doc |
20 |
where IsDeleted=0 |
|
21 |
order by doc.Seq"; |
|
40 |
where doc.IsDeleted=0 {sbWhere} |
|
41 |
order by doc.Seq;"; |
|
42 |
|
|
43 |
if (parameters.Count > 0) |
|
44 |
{ |
|
45 |
var dynamicParameters = new DynamicParameters(parameters); |
|
46 |
return Query<Documents>(query, dynamicParameters); |
|
47 |
} |
|
22 | 48 |
|
23 | 49 |
return Query<Documents>(query); |
24 | 50 |
} |
ID2.Manager/ID2.Manager.Dapper/Repository/ProjectRepository.cs | ||
---|---|---|
12 | 12 |
{ |
13 | 13 |
public ProjectRepository(string connectionStr) : base(connectionStr) { } |
14 | 14 |
|
15 |
public IEnumerable<ProjectInfo> GetAllProjectList()
|
|
15 |
public IEnumerable<ProjectInfo> GetProjectGroupList()
|
|
16 | 16 |
{ |
17 | 17 |
string query = $@" |
18 | 18 |
select ProjectID |
19 | 19 |
,Code |
20 | 20 |
,[Name] |
21 |
,isnull(Description,'') Description |
|
22 |
,isnull(ID2Path,'') ID2Path |
|
21 | 23 |
,isnull(ParentID,'') GroupID |
22 | 24 |
,convert(varchar(255),'') GroupName |
23 | 25 |
,1 [Level] |
... | ... | |
36 | 38 |
select ProjectID |
37 | 39 |
,Code |
38 | 40 |
,[Name] |
41 |
,isnull(Description,'') Description |
|
42 |
,isnull(ID2Path,'') ID2Path |
|
39 | 43 |
,isnull(ParentID,'') GroupID |
40 | 44 |
,convert(varchar(255),'') GroupName |
41 | 45 |
,1 [Level] |
... | ... | |
47 | 51 |
select p.ProjectID |
48 | 52 |
,p.Code |
49 | 53 |
,p.[Name] |
54 |
,p.Description |
|
55 |
,p.ID2Path |
|
50 | 56 |
,p.ParentID GroupID |
51 | 57 |
,pp.[Name] GroupName |
52 | 58 |
,pp.[Level]+1 [Level] |
... | ... | |
77 | 83 |
select p.ProjectID |
78 | 84 |
,p.Code |
79 | 85 |
,p.[Name] |
86 |
,p.Description |
|
87 |
,p.ID2Path |
|
80 | 88 |
,p.ParentID GroupID |
81 | 89 |
,pp.[Name] GroupName |
82 | 90 |
,2 [Level] |
... | ... | |
88 | 96 |
return Query<ProjectInfo>(query, new { ProjectID }).FirstOrDefault(); |
89 | 97 |
} |
90 | 98 |
} |
91 |
} |
|
99 |
} |
ID2.Manager/ID2.Manager.Data/Models/ProjectInfo.cs | ||
---|---|---|
18 | 18 |
[DataMember] |
19 | 19 |
public string Name { get; set; } |
20 | 20 |
[DataMember] |
21 |
public string Description { get; set; } |
|
22 |
[DataMember] |
|
23 |
public string ID2Path { get; set; } |
|
24 |
[DataMember] |
|
21 | 25 |
public string GroupID { get; set; } |
22 | 26 |
[DataMember] |
23 | 27 |
public string GroupName { get; set; } |
24 | 28 |
[DataMember] |
25 | 29 |
public int Level { get; set; } |
26 | 30 |
} |
27 |
} |
|
31 |
} |
ID2.Manager/ID2.Manager/Controls/OpenProjectView.Designer.cs | ||
---|---|---|
1 |
|
|
2 |
namespace ID2.Manager.Controls |
|
1 |
namespace ID2.Manager.Controls |
|
3 | 2 |
{ |
4 | 3 |
partial class OpenProjectView |
5 | 4 |
{ |
... | ... | |
31 | 30 |
{ |
32 | 31 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
33 | 32 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
33 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
34 | 34 |
Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition(); |
35 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
36 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn5 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
37 |
Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition(); |
|
35 | 38 |
this.tableLayoutPanelProject = new System.Windows.Forms.TableLayoutPanel(); |
36 |
this.radGridViewProject = new Telerik.WinControls.UI.RadGridView(); |
|
39 |
this.radGridViewProjects = new Telerik.WinControls.UI.RadGridView(); |
|
40 |
this.radGridViewGroup = new Telerik.WinControls.UI.RadGridView(); |
|
41 |
this.tableLayoutPanelButton = new System.Windows.Forms.TableLayoutPanel(); |
|
42 |
this.radButtonOpen = new Telerik.WinControls.UI.RadButton(); |
|
43 |
this.radButtonClose = new Telerik.WinControls.UI.RadButton(); |
|
37 | 44 |
this.tableLayoutPanelProject.SuspendLayout(); |
38 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProject)).BeginInit(); |
|
39 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProject.MasterTemplate)).BeginInit(); |
|
45 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProjects)).BeginInit(); |
|
46 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProjects.MasterTemplate)).BeginInit(); |
|
47 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewGroup)).BeginInit(); |
|
48 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewGroup.MasterTemplate)).BeginInit(); |
|
49 |
this.tableLayoutPanelButton.SuspendLayout(); |
|
50 |
((System.ComponentModel.ISupportInitialize)(this.radButtonOpen)).BeginInit(); |
|
51 |
((System.ComponentModel.ISupportInitialize)(this.radButtonClose)).BeginInit(); |
|
40 | 52 |
this.SuspendLayout(); |
41 | 53 |
// |
42 | 54 |
// tableLayoutPanelProject |
43 | 55 |
// |
44 |
this.tableLayoutPanelProject.ColumnCount = 3;
|
|
56 |
this.tableLayoutPanelProject.ColumnCount = 4;
|
|
45 | 57 |
this.tableLayoutPanelProject.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
46 |
this.tableLayoutPanelProject.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
58 |
this.tableLayoutPanelProject.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
59 |
this.tableLayoutPanelProject.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
|
47 | 60 |
this.tableLayoutPanelProject.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
48 |
this.tableLayoutPanelProject.Controls.Add(this.radGridViewProject, 1, 1); |
|
49 |
this.tableLayoutPanelProject.Dock = System.Windows.Forms.DockStyle.Fill; |
|
61 |
this.tableLayoutPanelProject.Controls.Add(this.radGridViewProjects, 2, 1); |
|
62 |
this.tableLayoutPanelProject.Controls.Add(this.radGridViewGroup, 1, 1); |
|
63 |
this.tableLayoutPanelProject.Controls.Add(this.tableLayoutPanelButton, 1, 2); |
|
50 | 64 |
this.tableLayoutPanelProject.Location = new System.Drawing.Point(0, 0); |
51 | 65 |
this.tableLayoutPanelProject.Name = "tableLayoutPanelProject"; |
52 |
this.tableLayoutPanelProject.RowCount = 3;
|
|
66 |
this.tableLayoutPanelProject.RowCount = 4;
|
|
53 | 67 |
this.tableLayoutPanelProject.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
54 | 68 |
this.tableLayoutPanelProject.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
69 |
this.tableLayoutPanelProject.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); |
|
55 | 70 |
this.tableLayoutPanelProject.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
56 | 71 |
this.tableLayoutPanelProject.Size = new System.Drawing.Size(920, 549); |
57 | 72 |
this.tableLayoutPanelProject.TabIndex = 0; |
58 | 73 |
// |
59 |
// radGridViewProject |
|
74 |
// radGridViewProjects
|
|
60 | 75 |
// |
61 |
this.radGridViewProject.Dock = System.Windows.Forms.DockStyle.Fill; |
|
62 |
this.radGridViewProject.Location = new System.Drawing.Point(23, 23);
|
|
76 |
this.radGridViewProjects.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
77 |
this.radGridViewProjects.Location = new System.Drawing.Point(463, 23);
|
|
63 | 78 |
// |
64 | 79 |
// |
65 | 80 |
// |
... | ... | |
70 | 85 |
gridViewTextBoxColumn2.FieldName = "Name"; |
71 | 86 |
gridViewTextBoxColumn2.HeaderText = "Project Name"; |
72 | 87 |
gridViewTextBoxColumn2.Name = "Name"; |
73 |
gridViewTextBoxColumn2.Width = 200; |
|
74 |
this.radGridViewProject.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { |
|
88 |
gridViewTextBoxColumn2.Width = 150; |
|
89 |
gridViewTextBoxColumn3.FieldName = "ID2Path"; |
|
90 |
gridViewTextBoxColumn3.HeaderText = "Path"; |
|
91 |
gridViewTextBoxColumn3.Name = "ID2Path"; |
|
92 |
gridViewTextBoxColumn3.Width = 150; |
|
93 |
this.radGridViewProjects.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { |
|
75 | 94 |
gridViewTextBoxColumn1, |
76 |
gridViewTextBoxColumn2}); |
|
77 |
this.radGridViewProject.MasterTemplate.ViewDefinition = tableViewDefinition1; |
|
78 |
this.radGridViewProject.Name = "radGridViewProject"; |
|
79 |
this.radGridViewProject.Size = new System.Drawing.Size(874, 503); |
|
80 |
this.radGridViewProject.TabIndex = 0; |
|
95 |
gridViewTextBoxColumn2, |
|
96 |
gridViewTextBoxColumn3}); |
|
97 |
this.radGridViewProjects.MasterTemplate.ViewDefinition = tableViewDefinition1; |
|
98 |
this.radGridViewProjects.Name = "radGridViewProjects"; |
|
99 |
this.radGridViewProjects.Size = new System.Drawing.Size(434, 468); |
|
100 |
this.radGridViewProjects.TabIndex = 7; |
|
101 |
// |
|
102 |
// radGridViewGroup |
|
103 |
// |
|
104 |
this.radGridViewGroup.Dock = System.Windows.Forms.DockStyle.Fill; |
|
105 |
this.radGridViewGroup.Location = new System.Drawing.Point(23, 23); |
|
106 |
// |
|
107 |
// |
|
108 |
// |
|
109 |
gridViewTextBoxColumn4.FieldName = "Code"; |
|
110 |
gridViewTextBoxColumn4.HeaderText = "Project Code"; |
|
111 |
gridViewTextBoxColumn4.Name = "Code"; |
|
112 |
gridViewTextBoxColumn4.Width = 100; |
|
113 |
gridViewTextBoxColumn5.FieldName = "Name"; |
|
114 |
gridViewTextBoxColumn5.HeaderText = "Project Name"; |
|
115 |
gridViewTextBoxColumn5.Name = "Name"; |
|
116 |
gridViewTextBoxColumn5.Width = 200; |
|
117 |
this.radGridViewGroup.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { |
|
118 |
gridViewTextBoxColumn4, |
|
119 |
gridViewTextBoxColumn5}); |
|
120 |
this.radGridViewGroup.MasterTemplate.ViewDefinition = tableViewDefinition2; |
|
121 |
this.radGridViewGroup.Name = "radGridViewGroup"; |
|
122 |
this.radGridViewGroup.Size = new System.Drawing.Size(434, 468); |
|
123 |
this.radGridViewGroup.TabIndex = 0; |
|
124 |
// |
|
125 |
// tableLayoutPanelButton |
|
126 |
// |
|
127 |
this.tableLayoutPanelButton.ColumnCount = 3; |
|
128 |
this.tableLayoutPanelProject.SetColumnSpan(this.tableLayoutPanelButton, 2); |
|
129 |
this.tableLayoutPanelButton.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
130 |
this.tableLayoutPanelButton.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); |
|
131 |
this.tableLayoutPanelButton.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); |
|
132 |
this.tableLayoutPanelButton.Controls.Add(this.radButtonOpen, 1, 0); |
|
133 |
this.tableLayoutPanelButton.Controls.Add(this.radButtonClose, 2, 0); |
|
134 |
this.tableLayoutPanelButton.Dock = System.Windows.Forms.DockStyle.Fill; |
|
135 |
this.tableLayoutPanelButton.Location = new System.Drawing.Point(23, 497); |
|
136 |
this.tableLayoutPanelButton.Name = "tableLayoutPanelButton"; |
|
137 |
this.tableLayoutPanelButton.RowCount = 1; |
|
138 |
this.tableLayoutPanelButton.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
|
139 |
this.tableLayoutPanelButton.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); |
|
140 |
this.tableLayoutPanelButton.Size = new System.Drawing.Size(874, 29); |
|
141 |
this.tableLayoutPanelButton.TabIndex = 8; |
|
142 |
// |
|
143 |
// radButtonOpen |
|
144 |
// |
|
145 |
this.radButtonOpen.Location = new System.Drawing.Point(717, 3); |
|
146 |
this.radButtonOpen.Name = "radButtonOpen"; |
|
147 |
this.radButtonOpen.Size = new System.Drawing.Size(74, 23); |
|
148 |
this.radButtonOpen.TabIndex = 0; |
|
149 |
this.radButtonOpen.Text = "Open"; |
|
150 |
// |
|
151 |
// radButtonClose |
|
152 |
// |
|
153 |
this.radButtonClose.Location = new System.Drawing.Point(797, 3); |
|
154 |
this.radButtonClose.Name = "radButtonClose"; |
|
155 |
this.radButtonClose.Size = new System.Drawing.Size(74, 23); |
|
156 |
this.radButtonClose.TabIndex = 1; |
|
157 |
this.radButtonClose.Text = "Close"; |
|
81 | 158 |
// |
82 | 159 |
// OpenProjectView |
83 | 160 |
// |
... | ... | |
87 | 164 |
this.Name = "OpenProjectView"; |
88 | 165 |
this.Size = new System.Drawing.Size(920, 549); |
89 | 166 |
this.tableLayoutPanelProject.ResumeLayout(false); |
90 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProject.MasterTemplate)).EndInit(); |
|
91 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProject)).EndInit(); |
|
167 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProjects.MasterTemplate)).EndInit(); |
|
168 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewProjects)).EndInit(); |
|
169 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewGroup.MasterTemplate)).EndInit(); |
|
170 |
((System.ComponentModel.ISupportInitialize)(this.radGridViewGroup)).EndInit(); |
|
171 |
this.tableLayoutPanelButton.ResumeLayout(false); |
|
172 |
((System.ComponentModel.ISupportInitialize)(this.radButtonOpen)).EndInit(); |
|
173 |
((System.ComponentModel.ISupportInitialize)(this.radButtonClose)).EndInit(); |
|
92 | 174 |
this.ResumeLayout(false); |
93 | 175 |
|
94 | 176 |
} |
... | ... | |
96 | 178 |
#endregion |
97 | 179 |
|
98 | 180 |
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelProject; |
99 |
private Telerik.WinControls.UI.RadGridView radGridViewProject; |
|
181 |
private Telerik.WinControls.UI.RadGridView radGridViewGroup; |
|
182 |
private Telerik.WinControls.UI.RadGridView radGridViewProjects; |
|
183 |
private System.Windows.Forms.TableLayoutPanel tableLayoutPanelButton; |
|
184 |
private Telerik.WinControls.UI.RadButton radButtonOpen; |
|
185 |
private Telerik.WinControls.UI.RadButton radButtonClose; |
|
100 | 186 |
} |
101 |
} |
|
187 |
} |
ID2.Manager/ID2.Manager/Controls/OpenProjectView.cs | ||
---|---|---|
15 | 15 |
{ |
16 | 16 |
public partial class OpenProjectView : UserControl |
17 | 17 |
{ |
18 |
ProjectInfo ProjectGroup = null; |
|
19 |
List<ProjectInfo> Projects = new List<ProjectInfo>(); |
|
20 |
public event EventHandler OpenProjectClick; |
|
21 |
|
|
18 | 22 |
public OpenProjectView() |
19 | 23 |
{ |
20 | 24 |
InitializeComponent(); |
21 | 25 |
|
22 | 26 |
this.Load += OpenProjectView_Load; |
27 |
this.radGridViewGroup.SelectionChanged += RadGridViewGroup_SelectionChanged; |
|
28 |
this.radButtonOpen.Click += RadButtonOpen_Click; |
|
23 | 29 |
} |
24 | 30 |
|
25 | 31 |
private void OpenProjectView_Load(object sender, EventArgs e) |
26 | 32 |
{ |
27 |
this.GetProjectGroupList(); |
|
33 |
this.GetProjectGroups(); |
|
34 |
} |
|
35 |
|
|
36 |
public void GetProjectGroups() |
|
37 |
{ |
|
38 |
var projects = new ProjectController().GetProjectGroupList(); |
|
39 |
|
|
40 |
this.radGridViewGroup.DataSource = projects; |
|
28 | 41 |
} |
29 | 42 |
|
30 |
public void GetProjectGroupList()
|
|
43 |
private void RadGridViewGroup_SelectionChanged(object sender, EventArgs e)
|
|
31 | 44 |
{ |
32 |
var projects = new ProjectController().GetAllProjectList(); |
|
45 |
if (this.radGridViewGroup.SelectedRows.Count == 0) return; |
|
46 |
|
|
47 |
this.ProjectGroup = this.radGridViewGroup.SelectedRows[0].DataBoundItem as ProjectInfo; |
|
33 | 48 |
|
34 |
this.radGridViewProject.DataSource = projects; |
|
49 |
if (this.radGridViewProjects.DataSource != null) |
|
50 |
{ |
|
51 |
this.radGridViewProjects.DataSource = null; |
|
52 |
} |
|
53 |
|
|
54 |
this.Projects = new ProjectController().GetProjectList(this.ProjectGroup.ProjectID, false).ToList(); |
|
55 |
this.radGridViewProjects.DataSource = this.Projects; |
|
56 |
} |
|
57 |
|
|
58 |
private void RadButtonOpen_Click(object sender, EventArgs e) |
|
59 |
{ |
|
60 |
//OpenProjectClick(this, new CaseEventArgs(this.SelectedProject, this.SelectedCase)); |
|
61 |
OpenProjectClick?.Invoke(this, new ProjectEventArgs(this.ProjectGroup, this.Projects)); |
|
62 |
} |
|
63 |
} |
|
64 |
|
|
65 |
public class ProjectEventArgs : EventArgs |
|
66 |
{ |
|
67 |
private ProjectInfo _ProjectInfo = null; |
|
68 |
public ProjectInfo ProjectInfo |
|
69 |
{ |
|
70 |
get { return _ProjectInfo; } |
|
71 |
} |
|
72 |
|
|
73 |
private List<ProjectInfo> _ProjectList = null; |
|
74 |
public List<ProjectInfo> ProjectList |
|
75 |
{ |
|
76 |
get { return _ProjectList; } |
|
77 |
} |
|
78 |
|
|
79 |
public ProjectEventArgs(ProjectInfo projectInfo, List<ProjectInfo> projectList) |
|
80 |
{ |
|
81 |
this._ProjectInfo = projectInfo; |
|
82 |
this._ProjectList = projectList; |
|
35 | 83 |
} |
36 | 84 |
} |
37 | 85 |
} |
ID2.Manager/ID2.Manager/Forms/Login.cs | ||
---|---|---|
63 | 63 |
this.radCheckBoxRememberID.Checked = true; |
64 | 64 |
this.radTextBoxID.Text = rememeberID[1]; |
65 | 65 |
} |
66 |
|
|
67 |
if (!string.IsNullOrEmpty(this.radTextBoxID.Text)) |
|
68 |
this.ActiveControl = this.radTextBoxPW; |
|
66 | 69 |
} |
67 | 70 |
|
68 | 71 |
private void RadTextBox_KeyDown(object sender, KeyEventArgs e) |
ID2.Manager/ID2.Manager/Main.Designer.cs | ||
---|---|---|
33 | 33 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn12 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
34 | 34 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn13 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
35 | 35 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn14 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
36 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn16 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
37 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn17 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
38 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn16 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
39 | 36 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn17 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
37 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn15 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
40 | 38 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn18 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
41 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn18 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
42 | 39 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn19 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
43 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn19 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
44 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn20 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
45 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn15 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
|
46 | 40 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn20 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
41 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn16 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
47 | 42 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn21 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
48 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn21 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
49 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn22 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
50 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn16 = new Telerik.WinControls.UI.GridViewCommandColumn();
|
|
43 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn17 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
44 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn18 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
45 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn15 = new Telerik.WinControls.UI.GridViewCommandColumn();
|
|
51 | 46 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn22 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
52 | 47 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn23 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
48 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn19 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
49 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn20 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
50 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn16 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
|
51 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn24 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
52 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn25 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
53 | 53 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn17 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
54 | 54 |
Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn5 = new Telerik.WinControls.UI.GridViewDateTimeColumn(); |
55 | 55 |
Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn6 = new Telerik.WinControls.UI.GridViewDateTimeColumn(); |
56 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn23 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
57 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn24 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
|
|
58 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn24 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
56 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn21 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
57 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn26 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
|
|
58 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn22 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
59 | 59 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn18 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
60 | 60 |
Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn7 = new Telerik.WinControls.UI.GridViewDateTimeColumn(); |
61 | 61 |
Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn8 = new Telerik.WinControls.UI.GridViewDateTimeColumn(); |
62 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn25 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
|
|
63 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn25 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
62 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn27 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
|
|
63 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn23 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
|
|
64 | 64 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn19 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
65 | 65 |
Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn20 = new Telerik.WinControls.UI.GridViewCommandColumn(); |
66 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn26 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
67 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn26 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
68 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn27 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
69 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn28 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
70 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn27 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
71 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn29 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
66 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn24 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
72 | 67 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn28 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
68 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn25 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
69 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn26 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
73 | 70 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn29 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
71 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn27 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
74 | 72 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn30 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
75 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn30 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
73 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn31 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
74 |
Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn32 = new Telerik.WinControls.UI.GridViewComboBoxColumn(); |
|
75 |
Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn28 = new Telerik.WinControls.UI.GridViewTextBoxColumn(); |
|
76 | 76 |
Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition(); |
77 | 77 |
this.ID2ManagerRadRibbonBar = new Telerik.WinControls.UI.RadRibbonBar(); |
78 | 78 |
this.radRibbonBarBackstageViewID2Manager = new Telerik.WinControls.UI.RadRibbonBarBackstageView(); |
79 | 79 |
this.backstageViewPageOpenProject = new Telerik.WinControls.UI.BackstageViewPage(); |
80 | 80 |
this.backstageTabItemOpenProject = new Telerik.WinControls.UI.BackstageTabItem(); |
81 |
this.backstageButtonItemExit = new Telerik.WinControls.UI.BackstageButtonItem(); |
|
81 | 82 |
this.ribbonTabHome = new Telerik.WinControls.UI.RibbonTab(); |
82 | 83 |
this.radRibbonBarGroup1 = new Telerik.WinControls.UI.RadRibbonBarGroup(); |
83 | 84 |
this.radButtonElementSave = new Telerik.WinControls.UI.RadButtonElement(); |
... | ... | |
107 | 108 |
this.radStatusStripMain = new Telerik.WinControls.UI.RadStatusStrip(); |
108 | 109 |
this.radLabelElementSpace = new Telerik.WinControls.UI.RadLabelElement(); |
109 | 110 |
this.radLabelElementUser = new Telerik.WinControls.UI.RadLabelElement(); |
110 |
this.backstageButtonItemExit = new Telerik.WinControls.UI.BackstageButtonItem(); |
|
111 |
this.radTextBoxDocumentNo = new Telerik.WinControls.UI.RadTextBox(); |
|
112 |
this.radDropDownListPersonInCharge = new Telerik.WinControls.UI.RadDropDownList(); |
|
111 | 113 |
((System.ComponentModel.ISupportInitialize)(this.ID2ManagerRadRibbonBar)).BeginInit(); |
112 | 114 |
((System.ComponentModel.ISupportInitialize)(this.radRibbonBarBackstageViewID2Manager)).BeginInit(); |
113 | 115 |
this.radRibbonBarBackstageViewID2Manager.SuspendLayout(); |
... | ... | |
134 | 136 |
((System.ComponentModel.ISupportInitialize)(this.splitPanelRight)).BeginInit(); |
135 | 137 |
this.splitPanelRight.SuspendLayout(); |
136 | 138 |
((System.ComponentModel.ISupportInitialize)(this.radStatusStripMain)).BeginInit(); |
139 |
((System.ComponentModel.ISupportInitialize)(this.radTextBoxDocumentNo)).BeginInit(); |
|
140 |
((System.ComponentModel.ISupportInitialize)(this.radDropDownListPersonInCharge)).BeginInit(); |
|
137 | 141 |
((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); |
138 | 142 |
this.SuspendLayout(); |
139 | 143 |
// |
... | ... | |
182 | 186 |
this.backstageTabItemOpenProject.Page = this.backstageViewPageOpenProject; |
183 | 187 |
this.backstageTabItemOpenProject.Text = "Open Project"; |
184 | 188 |
// |
189 |
// backstageButtonItemExit |
|
190 |
// |
|
191 |
this.backstageButtonItemExit.Name = "backstageButtonItemExit"; |
|
192 |
this.backstageButtonItemExit.Text = "Exit"; |
|
193 |
// |
|
185 | 194 |
// ribbonTabHome |
186 | 195 |
// |
187 | 196 |
this.ribbonTabHome.IsSelected = true; |
... | ... | |
299 | 308 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F)); |
300 | 309 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
301 | 310 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); |
302 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 87F));
|
|
311 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 89F));
|
|
303 | 312 |
this.tableLayoutPanelCondition.Controls.Add(this.radLabelPlace, 0, 0); |
304 | 313 |
this.tableLayoutPanelCondition.Controls.Add(this.radButtonMapping, 5, 0); |
305 | 314 |
this.tableLayoutPanelCondition.Controls.Add(this.radButtonSearch, 4, 0); |
306 | 315 |
this.tableLayoutPanelCondition.Controls.Add(this.radLabelDocumentNo, 2, 0); |
307 | 316 |
this.tableLayoutPanelCondition.Controls.Add(this.radLabelPersonInCharge, 0, 1); |
308 | 317 |
this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListProject, 1, 0); |
318 |
this.tableLayoutPanelCondition.Controls.Add(this.radTextBoxDocumentNo, 3, 0); |
|
319 |
this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListPersonInCharge, 1, 1); |
|
309 | 320 |
this.tableLayoutPanelCondition.Dock = System.Windows.Forms.DockStyle.Fill; |
310 | 321 |
this.tableLayoutPanelCondition.Location = new System.Drawing.Point(23, 3); |
311 | 322 |
this.tableLayoutPanelCondition.Name = "tableLayoutPanelCondition"; |
... | ... | |
330 | 341 |
this.radButtonMapping.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); |
331 | 342 |
this.radButtonMapping.Cursor = System.Windows.Forms.Cursors.Hand; |
332 | 343 |
this.radButtonMapping.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
333 |
this.radButtonMapping.Location = new System.Drawing.Point(839, 4);
|
|
344 |
this.radButtonMapping.Location = new System.Drawing.Point(838, 4);
|
|
334 | 345 |
this.radButtonMapping.Name = "radButtonMapping"; |
335 | 346 |
this.tableLayoutPanelCondition.SetRowSpan(this.radButtonMapping, 2); |
336 | 347 |
this.radButtonMapping.Size = new System.Drawing.Size(74, 66); |
... | ... | |
342 | 353 |
this.radButtonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); |
343 | 354 |
this.radButtonSearch.Cursor = System.Windows.Forms.Cursors.Hand; |
344 | 355 |
this.radButtonSearch.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
345 |
this.radButtonSearch.Location = new System.Drawing.Point(754, 4);
|
|
356 |
this.radButtonSearch.Location = new System.Drawing.Point(752, 4);
|
|
346 | 357 |
this.radButtonSearch.Name = "radButtonSearch"; |
347 | 358 |
this.tableLayoutPanelCondition.SetRowSpan(this.radButtonSearch, 2); |
348 | 359 |
this.radButtonSearch.Size = new System.Drawing.Size(74, 66); |
... | ... | |
353 | 364 |
// |
354 | 365 |
this.radLabelDocumentNo.Anchor = System.Windows.Forms.AnchorStyles.Left; |
355 | 366 |
this.radLabelDocumentNo.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
356 |
this.radLabelDocumentNo.Location = new System.Drawing.Point(379, 10);
|
|
367 |
this.radLabelDocumentNo.Location = new System.Drawing.Point(378, 10);
|
|
357 | 368 |
this.radLabelDocumentNo.Name = "radLabelDocumentNo"; |
358 | 369 |
this.radLabelDocumentNo.Size = new System.Drawing.Size(68, 17); |
359 | 370 |
this.radLabelDocumentNo.TabIndex = 6; |
... | ... | |
416 | 427 |
gridViewCommandColumn14.Name = "AVEVALink"; |
417 | 428 |
gridViewCommandColumn14.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
418 | 429 |
gridViewCommandColumn14.Width = 70; |
419 |
gridViewTextBoxColumn16.FieldName = "Place"; |
|
420 |
gridViewTextBoxColumn16.HeaderText = "위치"; |
|
421 |
gridViewTextBoxColumn16.Multiline = true; |
|
422 |
gridViewTextBoxColumn16.Name = "Place"; |
|
423 |
gridViewTextBoxColumn16.Width = 150; |
|
424 |
gridViewTextBoxColumn17.FieldName = "DocumentNo"; |
|
425 |
gridViewTextBoxColumn17.HeaderText = "이름"; |
|
426 |
gridViewTextBoxColumn17.Name = "DocumentNo"; |
|
427 |
gridViewTextBoxColumn17.Width = 150; |
|
428 |
gridViewComboBoxColumn16.FieldName = "PersonInCharge"; |
|
429 |
gridViewComboBoxColumn16.HeaderText = "담당자"; |
|
430 |
gridViewComboBoxColumn16.Name = "PersonInCharge"; |
|
431 |
gridViewComboBoxColumn16.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
432 |
gridViewComboBoxColumn16.Width = 100; |
|
433 |
gridViewComboBoxColumn17.FieldName = "JobLevel"; |
|
434 |
gridViewComboBoxColumn17.HeaderText = "난이도"; |
|
435 |
gridViewComboBoxColumn17.Name = "JobLevel"; |
|
436 |
gridViewComboBoxColumn17.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
437 |
gridViewComboBoxColumn17.Width = 60; |
|
438 |
gridViewComboBoxColumn18.FieldName = "IsTypical"; |
|
439 |
gridViewComboBoxColumn18.HeaderText = "Typical"; |
|
440 |
gridViewComboBoxColumn18.Name = "IsTypical"; |
|
430 |
gridViewComboBoxColumn17.FieldName = "RefProjectID"; |
|
431 |
gridViewComboBoxColumn17.HeaderText = "위치"; |
|
432 |
gridViewComboBoxColumn17.Name = "RefProjectID"; |
|
433 |
gridViewComboBoxColumn17.Width = 150; |
|
434 |
gridViewTextBoxColumn15.FieldName = "DocumentNo"; |
|
435 |
gridViewTextBoxColumn15.HeaderText = "이름"; |
|
436 |
gridViewTextBoxColumn15.Name = "DocumentNo"; |
|
437 |
gridViewTextBoxColumn15.Width = 150; |
|
438 |
gridViewComboBoxColumn18.FieldName = "PersonInCharge"; |
|
439 |
gridViewComboBoxColumn18.HeaderText = "담당자"; |
|
440 |
gridViewComboBoxColumn18.Name = "PersonInCharge"; |
|
441 | 441 |
gridViewComboBoxColumn18.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
442 |
gridViewComboBoxColumn18.Width = 60; |
|
443 |
gridViewTextBoxColumn18.FieldName = "RevisonNo"; |
|
444 |
gridViewTextBoxColumn18.HeaderText = "Rev."; |
|
445 |
gridViewTextBoxColumn18.Name = "RevisonNo"; |
|
442 |
gridViewComboBoxColumn18.Width = 100; |
|
443 |
gridViewComboBoxColumn19.FieldName = "JobLevel"; |
|
444 |
gridViewComboBoxColumn19.HeaderText = "난이도"; |
|
445 |
gridViewComboBoxColumn19.Name = "JobLevel"; |
|
446 |
gridViewComboBoxColumn19.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
447 |
gridViewComboBoxColumn19.Width = 60; |
|
448 |
gridViewComboBoxColumn20.FieldName = "IsTypical"; |
|
449 |
gridViewComboBoxColumn20.HeaderText = "Typical"; |
|
450 |
gridViewComboBoxColumn20.Name = "IsTypical"; |
|
451 |
gridViewComboBoxColumn20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
452 |
gridViewComboBoxColumn20.Width = 60; |
|
453 |
gridViewTextBoxColumn16.FieldName = "RevisonNo"; |
|
454 |
gridViewTextBoxColumn16.HeaderText = "Rev."; |
|
455 |
gridViewTextBoxColumn16.Name = "RevisonNo"; |
|
456 |
gridViewTextBoxColumn16.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
457 |
gridViewComboBoxColumn21.FieldName = "ToIsDiscussion"; |
|
458 |
gridViewComboBoxColumn21.HeaderText = "협의사항"; |
|
459 |
gridViewComboBoxColumn21.Name = "ToIsDiscussion"; |
|
460 |
gridViewComboBoxColumn21.Width = 80; |
|
461 |
gridViewTextBoxColumn17.FieldName = "ToRemarks"; |
|
462 |
gridViewTextBoxColumn17.HeaderText = "Brief"; |
|
463 |
gridViewTextBoxColumn17.Multiline = true; |
|
464 |
gridViewTextBoxColumn17.Name = "ToRemarks"; |
|
465 |
gridViewTextBoxColumn17.Width = 150; |
|
466 |
gridViewTextBoxColumn18.FieldName = "ToModifier"; |
|
467 |
gridViewTextBoxColumn18.HeaderText = "작성자"; |
|
468 |
gridViewTextBoxColumn18.Name = "ToModifier"; |
|
446 | 469 |
gridViewTextBoxColumn18.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
447 |
gridViewComboBoxColumn19.FieldName = "ToIsDiscussion"; |
|
448 |
gridViewComboBoxColumn19.HeaderText = "협의사항"; |
|
449 |
gridViewComboBoxColumn19.Name = "ToIsDiscussion"; |
|
450 |
gridViewComboBoxColumn19.Width = 80; |
|
451 |
gridViewTextBoxColumn19.FieldName = "ToRemarks"; |
|
452 |
gridViewTextBoxColumn19.HeaderText = "Brief"; |
|
453 |
gridViewTextBoxColumn19.Multiline = true; |
|
454 |
gridViewTextBoxColumn19.Name = "ToRemarks"; |
|
455 |
gridViewTextBoxColumn19.Width = 150; |
|
456 |
gridViewTextBoxColumn20.FieldName = "ToModifier"; |
|
457 |
gridViewTextBoxColumn20.HeaderText = "작성자"; |
|
458 |
gridViewTextBoxColumn20.Name = "ToModifier"; |
|
459 |
gridViewTextBoxColumn20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
460 |
gridViewTextBoxColumn20.Width = 70; |
|
470 |
gridViewTextBoxColumn18.Width = 70; |
|
461 | 471 |
gridViewCommandColumn15.FieldName = "ToCapturePath"; |
462 | 472 |
gridViewCommandColumn15.HeaderText = "캡쳐"; |
463 | 473 |
gridViewCommandColumn15.Name = "ToCapturePath"; |
464 | 474 |
gridViewCommandColumn15.Width = 70; |
465 |
gridViewComboBoxColumn20.FieldName = "ToIsMarkup";
|
|
466 |
gridViewComboBoxColumn20.HeaderText = "마크업여부";
|
|
467 |
gridViewComboBoxColumn20.Name = "ToIsMarkup";
|
|
468 |
gridViewComboBoxColumn20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
469 |
gridViewComboBoxColumn20.Width = 80;
|
|
470 |
gridViewComboBoxColumn21.FieldName = "FrReviewStatus";
|
|
471 |
gridViewComboBoxColumn21.HeaderText = "의견Status";
|
|
472 |
gridViewComboBoxColumn21.Name = "FrReviewStatus";
|
|
473 |
gridViewComboBoxColumn21.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
474 |
gridViewComboBoxColumn21.Width = 80;
|
|
475 |
gridViewTextBoxColumn21.FieldName = "FrRemarks";
|
|
476 |
gridViewTextBoxColumn21.HeaderText = "Brief";
|
|
477 |
gridViewTextBoxColumn21.Name = "FrRemarks";
|
|
478 |
gridViewTextBoxColumn21.Width = 150;
|
|
479 |
gridViewTextBoxColumn22.FieldName = "FrModifier";
|
|
480 |
gridViewTextBoxColumn22.HeaderText = "검토자";
|
|
481 |
gridViewTextBoxColumn22.Name = "FrModifier";
|
|
482 |
gridViewTextBoxColumn22.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
483 |
gridViewTextBoxColumn22.Width = 70;
|
|
475 |
gridViewComboBoxColumn22.FieldName = "ToIsMarkup";
|
|
476 |
gridViewComboBoxColumn22.HeaderText = "마크업여부";
|
|
477 |
gridViewComboBoxColumn22.Name = "ToIsMarkup";
|
|
478 |
gridViewComboBoxColumn22.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
479 |
gridViewComboBoxColumn22.Width = 80;
|
|
480 |
gridViewComboBoxColumn23.FieldName = "FrReviewStatus";
|
|
481 |
gridViewComboBoxColumn23.HeaderText = "의견Status";
|
|
482 |
gridViewComboBoxColumn23.Name = "FrReviewStatus";
|
|
483 |
gridViewComboBoxColumn23.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
484 |
gridViewComboBoxColumn23.Width = 80;
|
|
485 |
gridViewTextBoxColumn19.FieldName = "FrRemarks";
|
|
486 |
gridViewTextBoxColumn19.HeaderText = "Brief";
|
|
487 |
gridViewTextBoxColumn19.Name = "FrRemarks";
|
|
488 |
gridViewTextBoxColumn19.Width = 150;
|
|
489 |
gridViewTextBoxColumn20.FieldName = "FrModifier";
|
|
490 |
gridViewTextBoxColumn20.HeaderText = "검토자";
|
|
491 |
gridViewTextBoxColumn20.Name = "FrModifier";
|
|
492 |
gridViewTextBoxColumn20.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
493 |
gridViewTextBoxColumn20.Width = 70;
|
|
484 | 494 |
gridViewCommandColumn16.FieldName = "FrCapturePath"; |
485 | 495 |
gridViewCommandColumn16.HeaderText = "캡쳐"; |
486 | 496 |
gridViewCommandColumn16.Name = "FrCapturePath"; |
487 | 497 |
gridViewCommandColumn16.Width = 70; |
488 |
gridViewComboBoxColumn22.FieldName = "FrIsMarkup";
|
|
489 |
gridViewComboBoxColumn22.HeaderText = "마크업여부";
|
|
490 |
gridViewComboBoxColumn22.Name = "FrIsMarkup";
|
|
491 |
gridViewComboBoxColumn22.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
492 |
gridViewComboBoxColumn22.Width = 80;
|
|
493 |
gridViewComboBoxColumn23.FieldName = "IsID2Work";
|
|
494 |
gridViewComboBoxColumn23.HeaderText = "ID2 작업가능";
|
|
495 |
gridViewComboBoxColumn23.Name = "IsID2Work";
|
|
496 |
gridViewComboBoxColumn23.Width = 90;
|
|
498 |
gridViewComboBoxColumn24.FieldName = "FrIsMarkup";
|
|
499 |
gridViewComboBoxColumn24.HeaderText = "마크업여부";
|
|
500 |
gridViewComboBoxColumn24.Name = "FrIsMarkup";
|
|
501 |
gridViewComboBoxColumn24.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
502 |
gridViewComboBoxColumn24.Width = 80;
|
|
503 |
gridViewComboBoxColumn25.FieldName = "IsID2Work";
|
|
504 |
gridViewComboBoxColumn25.HeaderText = "ID2 작업가능";
|
|
505 |
gridViewComboBoxColumn25.Name = "IsID2Work";
|
|
506 |
gridViewComboBoxColumn25.Width = 90;
|
|
497 | 507 |
gridViewCommandColumn17.FieldName = "ID2Connection"; |
498 | 508 |
gridViewCommandColumn17.HeaderText = "연결"; |
499 | 509 |
gridViewCommandColumn17.Name = "ID2Connection"; |
... | ... | |
512 | 522 |
gridViewDateTimeColumn6.Name = "ID2EndDate"; |
513 | 523 |
gridViewDateTimeColumn6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
514 | 524 |
gridViewDateTimeColumn6.Width = 80; |
515 |
gridViewTextBoxColumn23.FieldName = "ID2JobTime";
|
|
516 |
gridViewTextBoxColumn23.HeaderText = "작업시간";
|
|
517 |
gridViewTextBoxColumn23.Name = "ID2JobTime";
|
|
518 |
gridViewTextBoxColumn23.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
519 |
gridViewTextBoxColumn23.Width = 80;
|
|
520 |
gridViewComboBoxColumn24.FieldName = "ID2Status";
|
|
521 |
gridViewComboBoxColumn24.HeaderText = "Status";
|
|
522 |
gridViewComboBoxColumn24.Name = "ID2Status";
|
|
523 |
gridViewComboBoxColumn24.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
524 |
gridViewComboBoxColumn24.Width = 70;
|
|
525 |
gridViewTextBoxColumn24.FieldName = "ID2Issues";
|
|
526 |
gridViewTextBoxColumn24.HeaderText = "이슈사항";
|
|
527 |
gridViewTextBoxColumn24.Name = "ID2Issues";
|
|
528 |
gridViewTextBoxColumn24.Width = 150;
|
|
525 |
gridViewTextBoxColumn21.FieldName = "ID2JobTime";
|
|
526 |
gridViewTextBoxColumn21.HeaderText = "작업시간";
|
|
527 |
gridViewTextBoxColumn21.Name = "ID2JobTime";
|
|
528 |
gridViewTextBoxColumn21.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
529 |
gridViewTextBoxColumn21.Width = 80;
|
|
530 |
gridViewComboBoxColumn26.FieldName = "ID2Status";
|
|
531 |
gridViewComboBoxColumn26.HeaderText = "Status";
|
|
532 |
gridViewComboBoxColumn26.Name = "ID2Status";
|
|
533 |
gridViewComboBoxColumn26.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
534 |
gridViewComboBoxColumn26.Width = 70;
|
|
535 |
gridViewTextBoxColumn22.FieldName = "ID2Issues";
|
|
536 |
gridViewTextBoxColumn22.HeaderText = "이슈사항";
|
|
537 |
gridViewTextBoxColumn22.Name = "ID2Issues";
|
|
538 |
gridViewTextBoxColumn22.Width = 150;
|
|
529 | 539 |
gridViewCommandColumn18.FieldName = "AVEVAConnection"; |
530 | 540 |
gridViewCommandColumn18.HeaderText = "연결"; |
531 | 541 |
gridViewCommandColumn18.Name = "AVEVAConnection"; |
... | ... | |
544 | 554 |
gridViewDateTimeColumn8.Name = "AVEVAReviewDate"; |
545 | 555 |
gridViewDateTimeColumn8.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
546 | 556 |
gridViewDateTimeColumn8.Width = 70; |
547 |
gridViewComboBoxColumn25.FieldName = "AVEVAStatus";
|
|
548 |
gridViewComboBoxColumn25.HeaderText = "Status";
|
|
549 |
gridViewComboBoxColumn25.Name = "AVEVAStatus";
|
|
550 |
gridViewComboBoxColumn25.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
551 |
gridViewComboBoxColumn25.Width = 70;
|
|
552 |
gridViewTextBoxColumn25.FieldName = "AVEVAIssues";
|
|
553 |
gridViewTextBoxColumn25.HeaderText = "이슈사항";
|
|
554 |
gridViewTextBoxColumn25.Name = "AVEVAIssues";
|
|
555 |
gridViewTextBoxColumn25.Width = 150;
|
|
557 |
gridViewComboBoxColumn27.FieldName = "AVEVAStatus";
|
|
558 |
gridViewComboBoxColumn27.HeaderText = "Status";
|
|
559 |
gridViewComboBoxColumn27.Name = "AVEVAStatus";
|
|
560 |
gridViewComboBoxColumn27.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
561 |
gridViewComboBoxColumn27.Width = 70;
|
|
562 |
gridViewTextBoxColumn23.FieldName = "AVEVAIssues";
|
|
563 |
gridViewTextBoxColumn23.HeaderText = "이슈사항";
|
|
564 |
gridViewTextBoxColumn23.Name = "AVEVAIssues";
|
|
565 |
gridViewTextBoxColumn23.Width = 150;
|
|
556 | 566 |
gridViewCommandColumn19.FieldName = "ReviewFileName"; |
557 | 567 |
gridViewCommandColumn19.HeaderText = "PDF"; |
558 | 568 |
gridViewCommandColumn19.Name = "ReviewFileName"; |
... | ... | |
560 | 570 |
gridViewCommandColumn20.HeaderText = "시스템"; |
561 | 571 |
gridViewCommandColumn20.Name = "SystemLink"; |
562 | 572 |
gridViewCommandColumn20.Width = 70; |
563 |
gridViewTextBoxColumn26.FieldName = "ProdReviewer"; |
|
573 |
gridViewTextBoxColumn24.FieldName = "ProdReviewer"; |
|
574 |
gridViewTextBoxColumn24.HeaderText = "검토자"; |
|
575 |
gridViewTextBoxColumn24.Name = "ProdReviewer"; |
|
576 |
gridViewTextBoxColumn24.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
577 |
gridViewTextBoxColumn24.Width = 70; |
|
578 |
gridViewComboBoxColumn28.FieldName = "ProdIsResult"; |
|
579 |
gridViewComboBoxColumn28.HeaderText = "결과"; |
|
580 |
gridViewComboBoxColumn28.Name = "ProdIsResult"; |
|
581 |
gridViewComboBoxColumn28.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
582 |
gridViewComboBoxColumn28.Width = 70; |
|
583 |
gridViewTextBoxColumn25.FieldName = "ProdRemarks"; |
|
584 |
gridViewTextBoxColumn25.HeaderText = "비고"; |
|
585 |
gridViewTextBoxColumn25.Name = "ProdRemarks"; |
|
586 |
gridViewTextBoxColumn25.Width = 150; |
|
587 |
gridViewTextBoxColumn26.FieldName = "ClientReviewer"; |
|
564 | 588 |
gridViewTextBoxColumn26.HeaderText = "검토자"; |
565 |
gridViewTextBoxColumn26.Name = "ProdReviewer";
|
|
589 |
gridViewTextBoxColumn26.Name = "ClientReviewer";
|
|
566 | 590 |
gridViewTextBoxColumn26.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
567 | 591 |
gridViewTextBoxColumn26.Width = 70; |
568 |
gridViewComboBoxColumn26.FieldName = "ProdIsResult";
|
|
569 |
gridViewComboBoxColumn26.HeaderText = "결과";
|
|
570 |
gridViewComboBoxColumn26.Name = "ProdIsResult";
|
|
571 |
gridViewComboBoxColumn26.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
572 |
gridViewComboBoxColumn26.Width = 70;
|
|
573 |
gridViewTextBoxColumn27.FieldName = "ProdRemarks";
|
|
592 |
gridViewComboBoxColumn29.FieldName = "ClientIsResult";
|
|
593 |
gridViewComboBoxColumn29.HeaderText = "결과";
|
|
594 |
gridViewComboBoxColumn29.Name = "ClientIsResult";
|
|
595 |
gridViewComboBoxColumn29.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
596 |
gridViewComboBoxColumn29.Width = 70;
|
|
597 |
gridViewTextBoxColumn27.FieldName = "ClientRemarks";
|
|
574 | 598 |
gridViewTextBoxColumn27.HeaderText = "비고"; |
575 |
gridViewTextBoxColumn27.Name = "ProdRemarks";
|
|
599 |
gridViewTextBoxColumn27.Name = "ClientRemarks";
|
|
576 | 600 |
gridViewTextBoxColumn27.Width = 150; |
577 |
gridViewTextBoxColumn28.FieldName = "ClientReviewer"; |
|
578 |
gridViewTextBoxColumn28.HeaderText = "검토자"; |
|
579 |
gridViewTextBoxColumn28.Name = "ClientReviewer"; |
|
580 |
gridViewTextBoxColumn28.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
581 |
gridViewTextBoxColumn28.Width = 70; |
|
582 |
gridViewComboBoxColumn27.FieldName = "ClientIsResult"; |
|
583 |
gridViewComboBoxColumn27.HeaderText = "결과"; |
|
584 |
gridViewComboBoxColumn27.Name = "ClientIsResult"; |
|
585 |
gridViewComboBoxColumn27.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
586 |
gridViewComboBoxColumn27.Width = 70; |
|
587 |
gridViewTextBoxColumn29.FieldName = "ClientRemarks"; |
|
588 |
gridViewTextBoxColumn29.HeaderText = "비고"; |
|
589 |
gridViewTextBoxColumn29.Name = "ClientRemarks"; |
|
590 |
gridViewTextBoxColumn29.Width = 150; |
|
591 |
gridViewComboBoxColumn28.FieldName = "DTIsGateWay"; |
|
592 |
gridViewComboBoxColumn28.HeaderText = "GateWay"; |
|
593 |
gridViewComboBoxColumn28.Name = "DTIsGateWay"; |
|
594 |
gridViewComboBoxColumn28.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
595 |
gridViewComboBoxColumn28.Width = 80; |
|
596 |
gridViewComboBoxColumn29.FieldName = "DTIsImport"; |
|
597 |
gridViewComboBoxColumn29.HeaderText = "Import 성공여부"; |
|
598 |
gridViewComboBoxColumn29.Name = "DTIsImport"; |
|
599 |
gridViewComboBoxColumn29.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
600 |
gridViewComboBoxColumn29.Width = 80; |
|
601 |
gridViewComboBoxColumn30.FieldName = "DTIsRegSystem"; |
|
602 |
gridViewComboBoxColumn30.HeaderText = "시스템등록"; |
|
603 |
gridViewComboBoxColumn30.Name = "DTIsRegSystem"; |
|
601 |
gridViewComboBoxColumn30.FieldName = "DTIsGateWay"; |
|
602 |
gridViewComboBoxColumn30.HeaderText = "GateWay"; |
|
603 |
gridViewComboBoxColumn30.Name = "DTIsGateWay"; |
|
604 | 604 |
gridViewComboBoxColumn30.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
605 | 605 |
gridViewComboBoxColumn30.Width = 80; |
606 |
gridViewTextBoxColumn30.FieldName = "DTRemarks"; |
|
607 |
gridViewTextBoxColumn30.HeaderText = "비고"; |
|
608 |
gridViewTextBoxColumn30.Name = "DTRemarks"; |
|
609 |
gridViewTextBoxColumn30.Width = 150; |
|
606 |
gridViewComboBoxColumn31.FieldName = "DTIsImport"; |
|
607 |
gridViewComboBoxColumn31.HeaderText = "Import 성공여부"; |
|
608 |
gridViewComboBoxColumn31.Name = "DTIsImport"; |
|
609 |
gridViewComboBoxColumn31.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
610 |
gridViewComboBoxColumn31.Width = 80; |
|
611 |
gridViewComboBoxColumn32.FieldName = "DTIsRegSystem"; |
|
612 |
gridViewComboBoxColumn32.HeaderText = "시스템등록"; |
|
613 |
gridViewComboBoxColumn32.Name = "DTIsRegSystem"; |
|
614 |
gridViewComboBoxColumn32.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
|
615 |
gridViewComboBoxColumn32.Width = 80; |
|
616 |
gridViewTextBoxColumn28.FieldName = "DTRemarks"; |
|
617 |
gridViewTextBoxColumn28.HeaderText = "비고"; |
|
618 |
gridViewTextBoxColumn28.Name = "DTRemarks"; |
|
619 |
gridViewTextBoxColumn28.Width = 150; |
|
610 | 620 |
this.radGridViewDocuments.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] { |
611 | 621 |
gridViewCommandColumn11, |
612 | 622 |
gridViewCommandColumn12, |
613 | 623 |
gridViewCommandColumn13, |
614 | 624 |
gridViewCommandColumn14, |
615 |
gridViewTextBoxColumn16, |
|
616 |
gridViewTextBoxColumn17, |
|
617 |
gridViewComboBoxColumn16, |
|
618 | 625 |
gridViewComboBoxColumn17, |
626 |
gridViewTextBoxColumn15, |
|
619 | 627 |
gridViewComboBoxColumn18, |
620 |
gridViewTextBoxColumn18, |
|
621 | 628 |
gridViewComboBoxColumn19, |
622 |
gridViewTextBoxColumn19, |
|
623 |
gridViewTextBoxColumn20, |
|
624 |
gridViewCommandColumn15, |
|
625 | 629 |
gridViewComboBoxColumn20, |
630 |
gridViewTextBoxColumn16, |
|
626 | 631 |
gridViewComboBoxColumn21, |
627 |
gridViewTextBoxColumn21,
|
|
628 |
gridViewTextBoxColumn22,
|
|
629 |
gridViewCommandColumn16,
|
|
632 |
gridViewTextBoxColumn17,
|
|
633 |
gridViewTextBoxColumn18,
|
|
634 |
gridViewCommandColumn15,
|
|
630 | 635 |
gridViewComboBoxColumn22, |
631 | 636 |
gridViewComboBoxColumn23, |
637 |
gridViewTextBoxColumn19, |
|
638 |
gridViewTextBoxColumn20, |
|
639 |
gridViewCommandColumn16, |
|
640 |
gridViewComboBoxColumn24, |
|
641 |
gridViewComboBoxColumn25, |
|
632 | 642 |
gridViewCommandColumn17, |
633 | 643 |
gridViewDateTimeColumn5, |
634 | 644 |
gridViewDateTimeColumn6, |
635 |
gridViewTextBoxColumn23,
|
|
636 |
gridViewComboBoxColumn24,
|
|
637 |
gridViewTextBoxColumn24,
|
|
645 |
gridViewTextBoxColumn21,
|
|
646 |
gridViewComboBoxColumn26,
|
|
647 |
gridViewTextBoxColumn22,
|
|
638 | 648 |
gridViewCommandColumn18, |
639 | 649 |
gridViewDateTimeColumn7, |
640 | 650 |
gridViewDateTimeColumn8, |
641 |
gridViewComboBoxColumn25,
|
|
642 |
gridViewTextBoxColumn25,
|
|
651 |
gridViewComboBoxColumn27,
|
|
652 |
gridViewTextBoxColumn23,
|
|
643 | 653 |
gridViewCommandColumn19, |
644 | 654 |
gridViewCommandColumn20, |
645 |
gridViewTextBoxColumn26, |
|
646 |
gridViewComboBoxColumn26, |
|
647 |
gridViewTextBoxColumn27, |
|
648 |
gridViewTextBoxColumn28, |
|
649 |
gridViewComboBoxColumn27, |
|
650 |
gridViewTextBoxColumn29, |
|
655 |
gridViewTextBoxColumn24, |
|
651 | 656 |
gridViewComboBoxColumn28, |
657 |
gridViewTextBoxColumn25, |
|
658 |
gridViewTextBoxColumn26, |
|
652 | 659 |
gridViewComboBoxColumn29, |
660 |
gridViewTextBoxColumn27, |
|
653 | 661 |
gridViewComboBoxColumn30, |
654 |
gridViewTextBoxColumn30}); |
|
662 |
gridViewComboBoxColumn31, |
|
663 |
gridViewComboBoxColumn32, |
|
664 |
gridViewTextBoxColumn28}); |
|
655 | 665 |
this.radGridViewDocuments.MasterTemplate.EnableAlternatingRowColor = true; |
656 | 666 |
this.radGridViewDocuments.MasterTemplate.EnableFiltering = true; |
657 | 667 |
this.radGridViewDocuments.MasterTemplate.ShowFilteringRow = false; |
... | ... | |
801 | 811 |
this.radLabelElementUser.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; |
802 | 812 |
this.radLabelElementUser.TextWrap = true; |
803 | 813 |
// |
804 |
// backstageButtonItemExit
|
|
814 |
// radTextBoxDocumentNo
|
|
805 | 815 |
// |
806 |
this.backstageButtonItemExit.Name = "backstageButtonItemExit"; |
|
807 |
this.backstageButtonItemExit.Text = "Exit"; |
|
816 |
this.radTextBoxDocumentNo.Anchor = System.Windows.Forms.AnchorStyles.Left; |
|
817 |
this.radTextBoxDocumentNo.Location = new System.Drawing.Point(464, 8); |
|
818 |
this.radTextBoxDocumentNo.Name = "radTextBoxDocumentNo"; |
|
819 |
this.radTextBoxDocumentNo.Size = new System.Drawing.Size(250, 20); |
|
820 |
this.radTextBoxDocumentNo.TabIndex = 8; |
|
821 |
// |
|
822 |
// radDropDownListPersonInCharge |
|
823 |
// |
|
824 |
this.radDropDownListPersonInCharge.Anchor = System.Windows.Forms.AnchorStyles.Left; |
|
825 |
this.radDropDownListPersonInCharge.DropDownAnimationEnabled = true; |
|
826 |
this.radDropDownListPersonInCharge.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
|
827 |
this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(90, 45); |
|
828 |
this.radDropDownListPersonInCharge.Name = "radDropDownListPersonInCharge"; |
|
829 |
this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(125, 20); |
|
830 |
this.radDropDownListPersonInCharge.TabIndex = 9; |
|
808 | 831 |
// |
809 | 832 |
// Main |
810 | 833 |
// |
... | ... | |
848 | 871 |
((System.ComponentModel.ISupportInitialize)(this.splitPanelRight)).EndInit(); |
849 | 872 |
this.splitPanelRight.ResumeLayout(false); |
850 | 873 |
((System.ComponentModel.ISupportInitialize)(this.radStatusStripMain)).EndInit(); |
874 |
((System.ComponentModel.ISupportInitialize)(this.radTextBoxDocumentNo)).EndInit(); |
|
875 |
((System.ComponentModel.ISupportInitialize)(this.radDropDownListPersonInCharge)).EndInit(); |
|
851 | 876 |
((System.ComponentModel.ISupportInitialize)(this)).EndInit(); |
852 | 877 |
this.ResumeLayout(false); |
853 | 878 |
this.PerformLayout(); |
... | ... | |
890 | 915 |
private Telerik.WinControls.UI.BackstageViewPage backstageViewPageOpenProject; |
891 | 916 |
private Telerik.WinControls.UI.BackstageTabItem backstageTabItemOpenProject; |
892 | 917 |
private Telerik.WinControls.UI.BackstageButtonItem backstageButtonItemExit; |
918 |
private Telerik.WinControls.UI.RadTextBox radTextBoxDocumentNo; |
|
919 |
private Telerik.WinControls.UI.RadDropDownList radDropDownListPersonInCharge; |
|
893 | 920 |
} |
894 | 921 |
} |
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
56 | 56 |
this.radCheckBox3.CheckStateChanged += RadCheckBox_CheckStateChanged; |
57 | 57 |
this.radCheckBox4.CheckStateChanged += RadCheckBox_CheckStateChanged; |
58 | 58 |
|
59 |
this.radTextBoxDocumentNo.KeyDown += RadTextBoxDocumentNo_KeyDown; |
|
59 | 60 |
this.radButtonSearch.Click += RadButtonSearch_Click; |
60 | 61 |
this.radButtonMapping.Click += RadButtonMapping_Click; |
61 | 62 |
|
... | ... | |
66 | 67 |
this.radGridViewDocuments.MasterView.TableHeaderRow.MinHeight = 36; |
67 | 68 |
this.radGridViewDocuments.TableElement.RowHeaderColumnWidth = 36; |
68 | 69 |
|
69 |
//this.backstageViewPageOpenProject.Controls.Add(ID2.Manager.Controls.openProjectView); |
|
70 |
var openProjectView = new OpenProjectView() |
|
71 |
{ |
|
72 |
Dock = DockStyle.Fill |
|
73 |
}; |
|
74 |
this.backstageViewPageOpenProject.Controls.Add(openProjectView); |
|
75 |
openProjectView.OpenProjectClick += OpenProjectView_OpenProjectClick; |
|
70 | 76 |
this.backstageButtonItemExit.Click += BackstageButtonItemExit_Click; |
77 |
this.radRibbonBarBackstageViewID2Manager.BackstageViewOpened += RadRibbonBarBackstageViewID2Manager_BackstageViewOpened; |
|
78 |
this.radRibbonBarBackstageViewID2Manager.BackstageViewClosed += RadRibbonBarBackstageViewID2Manager_BackstageViewClosed; |
|
71 | 79 |
|
72 | 80 |
this.InitColumnGroupsViewDefinition(this.radGridViewDocuments); |
73 | 81 |
} |
... | ... | |
88 | 96 |
base.OnLoad(e); |
89 | 97 |
} |
90 | 98 |
|
91 |
public System.Drawing.Point GetBackstageLocation()
|
|
99 |
public Point GetBackstageLocation() |
|
92 | 100 |
{ |
93 |
System.Drawing.Point location = this.ID2ManagerRadRibbonBar.RibbonBarElement.ApplicationButtonElement.ControlBoundingRectangle.Location;
|
|
94 |
location.Offset(new System.Drawing.Point(0, this.ID2ManagerRadRibbonBar.RibbonBarElement.ApplicationButtonElement.ControlBoundingRectangle.Height));
|
|
101 |
Point location = this.ID2ManagerRadRibbonBar.RibbonBarElement.ApplicationButtonElement.ControlBoundingRectangle.Location; |
|
102 |
location.Offset(new Point(0, this.ID2ManagerRadRibbonBar.RibbonBarElement.ApplicationButtonElement.ControlBoundingRectangle.Height)); |
|
95 | 103 |
location.Offset(this.ID2ManagerRadRibbonBar.Location); |
96 | 104 |
|
97 | 105 |
return location; |
... | ... | |
103 | 111 |
} |
104 | 112 |
#endregion |
105 | 113 |
|
114 |
private void OpenProjectView_OpenProjectClick(object sender, EventArgs e) |
|
115 |
{ |
|
116 |
//if (e is ProjectEventArgs) |
|
117 |
//{ |
|
118 |
// var projectGroup = (e as ProjectEventArgs).ProjectInfo; |
|
119 |
// var projects = (e as ProjectEventArgs).ProjectList; |
|
120 |
|
|
121 |
// if (projectGroup != null) |
|
122 |
// { |
|
123 |
// informations.ActiveProject = projectGroup; |
|
124 |
// } |
|
125 |
|
|
126 |
// if (projects != null) |
|
127 |
// { |
|
128 |
// informations.ProjectList = projects; |
|
129 |
// } |
|
130 |
//} |
|
131 |
|
|
132 |
this.radRibbonBarBackstageViewID2Manager.Tag = e; |
|
133 |
this.radRibbonBarBackstageViewID2Manager.HidePopup(); |
|
134 |
} |
|
135 |
|
|
136 |
private void RadRibbonBarBackstageViewID2Manager_BackstageViewOpened(object sender, EventArgs e) |
|
137 |
{ |
|
138 |
this.radRibbonBarBackstageViewID2Manager.SelectedItem = this.backstageTabItemOpenProject; |
|
139 |
|
|
140 |
foreach ( Control ctrl in this.backstageViewPageOpenProject.Controls) |
|
141 |
{ |
|
142 |
if (ctrl is OpenProjectView) |
|
143 |
{ |
|
144 |
var openProjectView = ctrl as OpenProjectView; |
|
145 |
openProjectView.GetProjectGroups(); |
|
146 |
break; |
|
147 |
} |
|
148 |
} |
|
149 |
} |
|
150 |
|
|
151 |
private void RadRibbonBarBackstageViewID2Manager_BackstageViewClosed(object sender, EventArgs e) |
|
152 |
{ |
|
153 |
if (this.radRibbonBarBackstageViewID2Manager.Tag is ProjectEventArgs) |
|
154 |
{ |
|
155 |
var prjArgs = this.radRibbonBarBackstageViewID2Manager.Tag as ProjectEventArgs; |
|
156 |
|
|
157 |
informations.ActiveProject = prjArgs.ProjectInfo; |
|
158 |
informations.ProjectList = prjArgs.ProjectList; |
|
159 |
|
|
160 |
//Project List |
|
161 |
if (this.radDropDownListProject.Items.Count > 0) |
|
162 |
this.radDropDownListProject.Items.Clear(); |
|
163 |
informations.ProjectList.ForEach(x => |
|
164 |
{ |
|
165 |
this.radDropDownListProject.Items.Add(new RadListDataItem(x.Name, x.ProjectID)); |
|
166 |
}); |
|
167 |
var allProject = new RadListDataItem("== 전체 ==", string.Empty); |
|
168 |
this.radDropDownListProject.Items.Insert(0, allProject); |
|
169 |
allProject.Selected = true; |
|
170 |
|
|
171 |
//문서번호 조회조건 |
|
172 |
this.radTextBoxDocumentNo.Text = string.Empty; |
|
173 |
|
|
174 |
//담당자 List |
|
175 |
if (this.radDropDownListPersonInCharge.Items.Count > 0) |
|
176 |
this.radDropDownListPersonInCharge.Items.Clear(); |
|
177 |
informations.UserList.ForEach(x => |
|
178 |
{ |
|
179 |
if (!x.Role.Equals("Admin")) |
|
180 |
this.radDropDownListPersonInCharge.Items.Add(new RadListDataItem(x.Name, x.ID)); |
|
181 |
}); |
|
182 |
var allUser = new RadListDataItem("== 전체 ==", string.Empty); |
|
183 |
this.radDropDownListPersonInCharge.Items.Insert(0, allUser); |
|
184 |
allUser.Selected = true; |
|
185 |
|
|
186 |
this.GetDocList(); |
|
187 |
this.DocumentListBinding(); |
|
188 |
} |
|
189 |
} |
|
190 |
|
|
106 | 191 |
#region Document List 조회 |
192 |
public void GetDocList() |
|
193 |
{ |
|
194 |
string projectId = this.radDropDownListProject.SelectedValue.ToString(); |
|
195 |
string personIncharge = this.radDropDownListPersonInCharge.SelectedValue.ToString(); |
|
196 |
string documentNo = this.radTextBoxDocumentNo.Text.Trim(); |
|
197 |
|
|
198 |
this.documents = new DocumentController().GetAllDocuments(projectId, personIncharge, documentNo).ToList(); |
|
199 |
this.orgDocuments = JsonConvert.DeserializeObject<List<Documents>>(JsonConvert.SerializeObject(this.documents)); |
|
200 |
} |
|
201 |
|
|
107 | 202 |
public void DocumentListBinding() |
108 | 203 |
{ |
109 | 204 |
GridViewComboBoxColumn ColUserList = this.radGridViewDocuments.Columns["PersonInCharge"] as GridViewComboBoxColumn; |
... | ... | |
111 | 206 |
ColUserList.DisplayMember = "Name"; |
112 | 207 |
ColUserList.ValueMember = "ID"; |
113 | 208 |
|
209 |
GridViewComboBoxColumn ColProjects = this.radGridViewDocuments.Columns["RefProjectID"] as GridViewComboBoxColumn; |
|
210 |
ColProjects.DataSource = informations.ProjectList; |
|
211 |
ColProjects.DisplayMember = "Name"; |
|
212 |
ColProjects.ValueMember = "ProjectID"; |
|
213 |
|
|
114 | 214 |
//Data |
115 | 215 |
if (this.radGridViewDocuments.DataSource != null) |
116 | 216 |
this.radGridViewDocuments.DataSource = null; |
... | ... | |
130 | 230 |
this.radGridViewDocuments.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Top; |
131 | 231 |
this.radGridViewDocuments.MasterTemplate.BottomPinnedRowsMode = GridViewBottomPinnedRowsMode.Fixed; |
132 | 232 |
} |
133 |
|
|
134 |
public void GetDocList() |
|
135 |
{ |
|
136 |
this.documents = new DocumentController().GetAllDocuments().ToList(); |
|
137 |
this.orgDocuments = JsonConvert.DeserializeObject<List<Documents>>(JsonConvert.SerializeObject(this.documents)); |
|
138 |
} |
|
139 | 233 |
#endregion |
140 | 234 |
|
141 | 235 |
#region Button, Checkbox event |
... | ... | |
157 | 251 |
//ColumnGroupsViewDefinition columnGroupsView = this.radGridViewDocuments.MasterTemplate.ViewDefinition = columnGroupsView; |
158 | 252 |
} |
159 | 253 |
|
254 |
private void RadTextBoxDocumentNo_KeyDown(object sender, KeyEventArgs e) |
|
255 |
{ |
|
256 |
if (e.KeyCode == Keys.Enter) |
|
257 |
{ |
|
258 |
this.radButtonSearch.Focus(); |
|
259 |
this.radButtonSearch.PerformClick(); |
|
260 |
} |
|
261 |
} |
|
262 |
|
|
160 | 263 |
private void RadButtonSearch_Click(object sender, EventArgs e) |
161 | 264 |
{ |
162 | 265 |
this.GetDocList(); |
... | ... | |
220 | 323 |
{ |
221 | 324 |
if (e.Row.DataBoundItem is Documents doc) |
222 | 325 |
{ |
223 |
if (!string.IsNullOrWhiteSpace(doc.Place) && !string.IsNullOrWhiteSpace(doc.DocumentNo) && !string.IsNullOrWhiteSpace(doc.PersonInCharge))
|
|
326 |
if (!string.IsNullOrWhiteSpace(this.GetProject(doc.RefProjectID).Code) && !string.IsNullOrWhiteSpace(doc.DocumentNo) && !string.IsNullOrWhiteSpace(doc.PersonInCharge))
|
|
224 | 327 |
{ |
225 |
bool result = MarkusHelper.Start(doc.Place, doc.DocumentNo, doc.PersonInCharge);
|
|
328 |
bool result = MarkusHelper.Start(this.GetProject(doc.RefProjectID).Code, doc.DocumentNo, doc.PersonInCharge);
|
|
226 | 329 |
} |
227 | 330 |
} |
228 | 331 |
} |
... | ... | |
430 | 533 |
return userInfo ?? new UserInfo(); |
431 | 534 |
} |
432 | 535 |
|
536 |
private ProjectInfo GetProject(string project) |
|
537 |
{ |
|
538 |
ProjectInfo prjInfo = informations.ProjectList.Where(x => x.ProjectID.Equals(project)).FirstOrDefault(); |
|
539 |
if (prjInfo != null) return prjInfo; |
|
540 |
|
|
541 |
prjInfo = informations.ProjectList.FirstOrDefault(x => x.Name.Equals(project)); |
|
542 |
if (prjInfo != null) return prjInfo; |
|
543 |
|
|
544 |
return prjInfo ?? new ProjectInfo(); |
|
545 |
} |
|
546 |
|
|
433 | 547 |
private void RadButtonElementExcelImport_Click(object sender, EventArgs e) |
434 | 548 |
{ |
435 | 549 |
using (OpenFileDialog ofd = new OpenFileDialog() |
... | ... | |
522 | 636 |
//NPS = ws.Rows[p.Row.Index].Cells[0].Value == null ? 0 : Convert.ToSingle(ws.Rows[p.Row.Index].Cells[0].Value), |
523 | 637 |
//Thickness = p.Value == null ? 0 : Convert.ToSingle(p.Value) |
524 | 638 |
|
525 |
Place = ws.Rows[p.Index].Cells[5].Value == null ? string.Empty : ws.Rows[p.Index].Cells[5].Value.ToString(), |
|
639 |
RefProjectID = ws.Rows[p.Index].Cells[5].Value == null ? string.Empty : this.GetProject(ws.Rows[p.Index].Cells[5].Value.ToString()).Name, |
|
640 |
//Place = ws.Rows[p.Index].Cells[5].Value == null ? string.Empty : ws.Rows[p.Index].Cells[5].Value.ToString(), |
|
526 | 641 |
DocumentNo = ws.Rows[p.Index].Cells[6].Value == null ? string.Empty : ws.Rows[p.Index].Cells[6].Value.ToString(), |
527 | 642 |
PersonInCharge = ws.Rows[p.Index].Cells[7].Value == null ? string.Empty : this.GetUser(ws.Rows[p.Index].Cells[7].Value.ToString()).ID, |
528 | 643 |
JobLevel = ws.Rows[p.Index].Cells[8].Value == null ? string.Empty : ws.Rows[p.Index].Cells[8].Value.ToString(), |
... | ... | |
631 | 746 |
//templateWorksheet.Cells[rowIndex, 2].Value = doc.DocumentNo; |
632 | 747 |
//templateWorksheet.Cells[rowIndex, 3].Value = doc.DocumentNo; |
633 | 748 |
//templateWorksheet.Cells[rowIndex, 4].Value = doc.DocumentNo; |
634 |
templateWorksheet.Cells[rowIndex, 5].Value = doc.Place; |
|
749 |
//templateWorksheet.Cells[rowIndex, 5].Value = doc.Place; |
|
750 |
templateWorksheet.Cells[rowIndex, 5].Value = this.GetProject(doc.RefProjectID).Name; |
|
635 | 751 |
templateWorksheet.Cells[rowIndex, 6].Value = doc.DocumentNo; |
636 | 752 |
templateWorksheet.Cells[rowIndex, 7].Value = this.GetUser(doc.PersonInCharge).ID; |
637 | 753 |
templateWorksheet.Cells[rowIndex, 8].Value = doc.JobLevel; |
... | ... | |
720 | 836 |
ColumnGroupsViewDefinition columnGroupsView = new ColumnGroupsViewDefinition(); |
721 | 837 |
|
722 | 838 |
List<string> docLinkColNames = new List<string>() { "AutoCADLink", "PDFLink", "MarkupLink", "AVEVALink" }; |
723 |
List<string> docInfoColNames = new List<string>() { "Place", "DocumentNo", "PersonInCharge", "JobLevel", "IsTypical", "RevisonNo" };
|
|
839 |
List<string> docInfoColNames = new List<string>() { "RefProjectID", "DocumentNo", "PersonInCharge", "JobLevel", "IsTypical", "RevisonNo" };
|
|
724 | 840 |
List<string> rvToColNames = new List<string>() { "ToIsDiscussion", "ToRemarks", "ToModifier", "ToCapturePath", "ToIsMarkup" }; |
725 | 841 |
List<string> rvFrColNames = new List<string>() { "FrReviewStatus", "FrRemarks", "FrModifier", "FrCapturePath", "FrIsMarkup" }; |
726 | 842 |
List<string> rvEtcColNames = new List<string>() { "IsID2Work" }; |
내보내기 Unified diff