프로젝트

일반

사용자정보

개정판 6c0afa20

ID6c0afa208705e63d0b020a04802ddc79cfea8783
상위 53fde692
하위 354fe2b1

유성호이(가) 일년 이상 전에 추가함

issue #0000
worker 추가
save 시 worker 호출
group 관련 체크박스 추가

Change-Id: Ic1aa50305f0c98552d68bd27c1d70413436c4d7b

차이점 보기:

ID2.Manager/ID2.Manager/Classes/BaseWorker.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6

  
7
using System.ComponentModel;
8

  
9
using Telerik.WinControls.UI;
10

  
11
namespace ID2.Manager.Classes
12
{
13
    public class BaseWorker
14
    {
15
        protected System.Windows.Forms.Control _parent = null;
16
        private BackgroundWorker worker = new BackgroundWorker() { WorkerReportsProgress = true, WorkerSupportsCancellation = true };
17
        private RadWaitingBar waiting = null;
18

  
19
        public BaseWorker(System.Windows.Forms.Control control = null)
20
        {
21
            this._parent = control;
22
        }
23

  
24
        public virtual void StartWork()
25
        {
26
            if (_parent != null)
27
            {
28
                _parent.Invoke(new Action(() =>
29
                {
30
                    waiting = new RadWaitingBar()
31
                    {
32
                        Size = new System.Drawing.Size(200, 200),
33
                        WaitingStyle = Telerik.WinControls.Enumerations.WaitingBarStyles.DotsSpinner,
34
                        BackColor = System.Drawing.Color.Transparent,
35
                        Parent = _parent
36
                    };
37
                    waiting.Location = new System.Drawing.Point(
38
                        _parent.Location.X + (_parent.Width - waiting.Width) / 2,
39
                        _parent.Location.Y + (_parent.Height - waiting.Height) / 2);
40
                    _parent.Controls.Add(waiting);
41
                }));
42
            }
43

  
44
            worker.DoWork += Worker_DoWork;
45
            worker.ProgressChanged += Worker_ProgressChanged;
46
            worker.RunWorkerCompleted += Worker_RunWorkerCompleted;
47
            if (!worker.IsBusy)
48
            {
49
                if (this.waiting != null) this.waiting.StartWaiting();
50
                worker.RunWorkerAsync();
51
            }
52
        }
53

  
54
        public virtual void CancelWork()
55
        {
56
            this.worker.CancelAsync();
57
        }
58

  
59
        private void Worker_ProgressChanged(object sender, ProgressChangedEventArgs e)
60
        {
61
            this.UpdateProgress(e.ProgressPercentage);
62
        }
63

  
64
        private void Worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
65
        {
66
            if (this.waiting != null)
67
            {
68
                try
69
                {
70
                    this.waiting.StopWaiting();
71
                    if (this._parent != null)
72
                    {
73
                        this._parent.Invoke(new Action(() => this._parent.Controls.Remove(this.waiting)));
74

  
75
                    }
76
                    this.waiting.Dispose();
77
                }
78
                catch (Exception ex)
79
                {
80
                    Console.WriteLine(ex.Message);
81
                }
82
            }
83
            this.WorkCompleted();
84
        }
85

  
86
        private void Worker_DoWork(object sender, DoWorkEventArgs e)
87
        {
88
            this.DoWork(sender as BackgroundWorker);
89
        }
90

  
91
        protected virtual void DoWork(System.ComponentModel.BackgroundWorker worker) { throw new NotImplementedException(); }
92
        protected virtual void UpdateProgress(int precent) { }
93
        protected virtual void WorkCompleted() { }
94
    }
95
}
ID2.Manager/ID2.Manager/ID2.Manager.csproj
47 47
    <Reference Include="System.Xml" />
48 48
  </ItemGroup>
49 49
  <ItemGroup>
50
    <Compile Include="Classes\BaseWorker.cs" />
50 51
    <Compile Include="Controls\AutoCADViewer.cs">
51 52
      <SubType>UserControl</SubType>
52 53
    </Compile>
ID2.Manager/ID2.Manager/Main.Designer.cs
29 29
        /// </summary>
30 30
        private void InitializeComponent()
31 31
        {
32
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn61 = new Telerik.WinControls.UI.GridViewCommandColumn();
33
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn62 = new Telerik.WinControls.UI.GridViewCommandColumn();
34
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn63 = new Telerik.WinControls.UI.GridViewCommandColumn();
35
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn64 = new Telerik.WinControls.UI.GridViewCommandColumn();
36
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn91 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
37
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn92 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
38
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn91 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
39
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn92 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
40
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn93 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
41
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn93 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
42
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn94 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
43
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn94 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
44
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn95 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
45
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn65 = new Telerik.WinControls.UI.GridViewCommandColumn();
46
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn95 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
47
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn96 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
48
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn96 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
49
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn97 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
50
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn66 = new Telerik.WinControls.UI.GridViewCommandColumn();
51
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn97 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
52
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn98 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
53
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn67 = new Telerik.WinControls.UI.GridViewCommandColumn();
54
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn25 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
55
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn26 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
56
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn98 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
57
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn99 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
58
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn99 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
59
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn68 = new Telerik.WinControls.UI.GridViewCommandColumn();
60
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn27 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
61
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn28 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
62
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn100 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
63
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn100 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
64
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn69 = new Telerik.WinControls.UI.GridViewCommandColumn();
65
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn70 = new Telerik.WinControls.UI.GridViewCommandColumn();
66
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn101 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
67
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn101 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
68
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn102 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
69
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn103 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
70
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn102 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
71
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn104 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
72
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn103 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
73
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn104 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
74
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn105 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
75
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn105 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
76
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition7 = new Telerik.WinControls.UI.TableViewDefinition();
32
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn91 = new Telerik.WinControls.UI.GridViewCommandColumn();
33
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn92 = new Telerik.WinControls.UI.GridViewCommandColumn();
34
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn93 = new Telerik.WinControls.UI.GridViewCommandColumn();
35
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn94 = new Telerik.WinControls.UI.GridViewCommandColumn();
36
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn136 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
37
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn137 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
38
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn136 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
39
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn137 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
40
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn138 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
41
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn138 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
42
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn139 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
43
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn139 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
44
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn140 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
45
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn95 = new Telerik.WinControls.UI.GridViewCommandColumn();
46
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn140 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
47
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn141 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
48
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn141 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
49
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn142 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
50
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn96 = new Telerik.WinControls.UI.GridViewCommandColumn();
51
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn142 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
52
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn143 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
53
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn97 = new Telerik.WinControls.UI.GridViewCommandColumn();
54
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn37 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
55
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn38 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
56
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn143 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
57
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn144 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
58
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn144 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
59
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn98 = new Telerik.WinControls.UI.GridViewCommandColumn();
60
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn39 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
61
            Telerik.WinControls.UI.GridViewDateTimeColumn gridViewDateTimeColumn40 = new Telerik.WinControls.UI.GridViewDateTimeColumn();
62
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn145 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
63
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn145 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
64
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn99 = new Telerik.WinControls.UI.GridViewCommandColumn();
65
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn100 = new Telerik.WinControls.UI.GridViewCommandColumn();
66
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn146 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
67
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn146 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
68
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn147 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
69
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn148 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
70
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn147 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
71
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn149 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
72
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn148 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
73
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn149 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
74
            Telerik.WinControls.UI.GridViewComboBoxColumn gridViewComboBoxColumn150 = new Telerik.WinControls.UI.GridViewComboBoxColumn();
75
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn150 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
76
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition10 = new Telerik.WinControls.UI.TableViewDefinition();
77 77
            this.ID2ManagerRadRibbonBar = new Telerik.WinControls.UI.RadRibbonBar();
78 78
            this.ribbonTabHome = new Telerik.WinControls.UI.RibbonTab();
79 79
            this.radRibbonBarGroup1 = new Telerik.WinControls.UI.RadRibbonBarGroup();
......
91 91
            this.splitPanelRight = new Telerik.WinControls.UI.SplitPanel();
92 92
            this.tableLayoutPanelRight = new System.Windows.Forms.TableLayoutPanel();
93 93
            this.radButtonMapping = new Telerik.WinControls.UI.RadButton();
94
            this.tableLayoutPanelGroup = new System.Windows.Forms.TableLayoutPanel();
95
            this.radCheckBox1 = new Telerik.WinControls.UI.RadCheckBox();
96
            this.radCheckBox2 = new Telerik.WinControls.UI.RadCheckBox();
97
            this.radCheckBox3 = new Telerik.WinControls.UI.RadCheckBox();
98
            this.radCheckBox4 = new Telerik.WinControls.UI.RadCheckBox();
94 99
            ((System.ComponentModel.ISupportInitialize)(this.ID2ManagerRadRibbonBar)).BeginInit();
95 100
            ((System.ComponentModel.ISupportInitialize)(this.radSplitContainerWrap)).BeginInit();
96 101
            this.radSplitContainerWrap.SuspendLayout();
......
104 109
            ((System.ComponentModel.ISupportInitialize)(this.splitPanelRight)).BeginInit();
105 110
            this.splitPanelRight.SuspendLayout();
106 111
            ((System.ComponentModel.ISupportInitialize)(this.radButtonMapping)).BeginInit();
112
            this.tableLayoutPanelGroup.SuspendLayout();
113
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).BeginInit();
114
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox2)).BeginInit();
115
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox3)).BeginInit();
116
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox4)).BeginInit();
107 117
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
108 118
            this.SuspendLayout();
109 119
            // 
......
213 223
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
214 224
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
215 225
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanelCondition, 1, 0);
216
            this.tableLayoutPanel1.Controls.Add(this.radGridViewDocuments, 1, 1);
226
            this.tableLayoutPanel1.Controls.Add(this.radGridViewDocuments, 1, 2);
227
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanelGroup, 1, 1);
217 228
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
218 229
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
219 230
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
220
            this.tableLayoutPanel1.RowCount = 3;
221
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F));
231
            this.tableLayoutPanel1.RowCount = 4;
232
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F));
233
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
222 234
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
223 235
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
224 236
            this.tableLayoutPanel1.Size = new System.Drawing.Size(967, 552);
......
239 251
            this.tableLayoutPanelCondition.RowCount = 2;
240 252
            this.tableLayoutPanelCondition.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
241 253
            this.tableLayoutPanelCondition.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
242
            this.tableLayoutPanelCondition.Size = new System.Drawing.Size(921, 94);
254
            this.tableLayoutPanelCondition.Size = new System.Drawing.Size(921, 74);
243 255
            this.tableLayoutPanelCondition.TabIndex = 6;
244 256
            // 
245 257
            // radButtonSearch
......
250 262
            this.radButtonSearch.Location = new System.Drawing.Point(764, 3);
251 263
            this.radButtonSearch.Name = "radButtonSearch";
252 264
            this.tableLayoutPanelCondition.SetRowSpan(this.radButtonSearch, 2);
253
            this.radButtonSearch.Size = new System.Drawing.Size(74, 88);
265
            this.radButtonSearch.Size = new System.Drawing.Size(74, 68);
254 266
            this.radButtonSearch.TabIndex = 3;
255 267
            this.radButtonSearch.Text = "Search";
256 268
            // 
......
259 271
            this.radGridViewDocuments.AutoScroll = true;
260 272
            this.radGridViewDocuments.AutoSizeRows = true;
261 273
            this.radGridViewDocuments.Dock = System.Windows.Forms.DockStyle.Fill;
262
            this.radGridViewDocuments.Location = new System.Drawing.Point(23, 103);
274
            this.radGridViewDocuments.Location = new System.Drawing.Point(23, 113);
263 275
            // 
264 276
            // 
265 277
            // 
......
267 279
            this.radGridViewDocuments.MasterTemplate.AllowSearchRow = true;
268 280
            this.radGridViewDocuments.MasterTemplate.AutoGenerateColumns = false;
269 281
            this.radGridViewDocuments.MasterTemplate.ChildViewTabsPosition = Telerik.WinControls.UI.TabPositions.Left;
270
            gridViewCommandColumn61.FieldName = "AutoCADLink";
271
            gridViewCommandColumn61.HeaderText = "AutoCAD";
272
            gridViewCommandColumn61.ImageLayout = System.Windows.Forms.ImageLayout.Center;
273
            gridViewCommandColumn61.Name = "AutoCADLink";
274
            gridViewCommandColumn61.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
275
            gridViewCommandColumn61.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
276
            gridViewCommandColumn61.Width = 70;
277
            gridViewCommandColumn62.FieldName = "PDFLink";
278
            gridViewCommandColumn62.HeaderText = "PDF";
279
            gridViewCommandColumn62.ImageLayout = System.Windows.Forms.ImageLayout.Center;
280
            gridViewCommandColumn62.Name = "PDFLink";
281
            gridViewCommandColumn62.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
282
            gridViewCommandColumn62.Width = 70;
283
            gridViewCommandColumn63.FieldName = "MarkupLink";
284
            gridViewCommandColumn63.HeaderText = "Markus";
285
            gridViewCommandColumn63.ImageLayout = System.Windows.Forms.ImageLayout.Center;
286
            gridViewCommandColumn63.Name = "MarkupLink";
287
            gridViewCommandColumn63.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
288
            gridViewCommandColumn63.Width = 70;
289
            gridViewCommandColumn64.FieldName = "AVEVALink";
290
            gridViewCommandColumn64.HeaderText = "AVEVA";
291
            gridViewCommandColumn64.ImageLayout = System.Windows.Forms.ImageLayout.Center;
292
            gridViewCommandColumn64.Name = "AVEVALink";
293
            gridViewCommandColumn64.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
294
            gridViewCommandColumn64.Width = 70;
295
            gridViewTextBoxColumn91.FieldName = "Place";
296
            gridViewTextBoxColumn91.HeaderText = "위치";
297
            gridViewTextBoxColumn91.Multiline = true;
298
            gridViewTextBoxColumn91.Name = "Place";
299
            gridViewTextBoxColumn91.Width = 150;
300
            gridViewTextBoxColumn92.FieldName = "DocumentNo";
301
            gridViewTextBoxColumn92.HeaderText = "이름";
302
            gridViewTextBoxColumn92.Name = "DocumentNo";
303
            gridViewTextBoxColumn92.Width = 150;
304
            gridViewComboBoxColumn91.FieldName = "PersonInCharge";
305
            gridViewComboBoxColumn91.HeaderText = "담당자";
306
            gridViewComboBoxColumn91.Name = "PersonInCharge";
307
            gridViewComboBoxColumn91.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
308
            gridViewComboBoxColumn91.Width = 100;
309
            gridViewComboBoxColumn92.FieldName = "JobLevel";
310
            gridViewComboBoxColumn92.HeaderText = "난이도";
311
            gridViewComboBoxColumn92.Name = "JobLevel";
312
            gridViewComboBoxColumn92.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
313
            gridViewComboBoxColumn92.Width = 60;
314
            gridViewComboBoxColumn93.FieldName = "IsTypical";
315
            gridViewComboBoxColumn93.HeaderText = "Typical";
316
            gridViewComboBoxColumn93.Name = "IsTypical";
317
            gridViewComboBoxColumn93.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
318
            gridViewComboBoxColumn93.Width = 60;
319
            gridViewTextBoxColumn93.FieldName = "RevisonNo";
320
            gridViewTextBoxColumn93.HeaderText = "Rev.";
321
            gridViewTextBoxColumn93.Name = "RevisonNo";
322
            gridViewTextBoxColumn93.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
323
            gridViewComboBoxColumn94.FieldName = "ToIsDiscussion";
324
            gridViewComboBoxColumn94.HeaderText = "협의사항";
325
            gridViewComboBoxColumn94.Name = "ToIsDiscussion";
326
            gridViewComboBoxColumn94.Width = 80;
327
            gridViewTextBoxColumn94.FieldName = "ToRemarks";
328
            gridViewTextBoxColumn94.HeaderText = "Brief";
329
            gridViewTextBoxColumn94.Multiline = true;
330
            gridViewTextBoxColumn94.Name = "ToRemarks";
331
            gridViewTextBoxColumn94.Width = 150;
332
            gridViewTextBoxColumn95.FieldName = "ToModifier";
333
            gridViewTextBoxColumn95.HeaderText = "작성자";
334
            gridViewTextBoxColumn95.Name = "ToModifier";
335
            gridViewTextBoxColumn95.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
336
            gridViewTextBoxColumn95.Width = 70;
337
            gridViewCommandColumn65.FieldName = "ToCapturePath";
338
            gridViewCommandColumn65.HeaderText = "캡쳐";
339
            gridViewCommandColumn65.Name = "ToCapturePath";
340
            gridViewCommandColumn65.Width = 70;
341
            gridViewComboBoxColumn95.FieldName = "ToIsMarkup";
342
            gridViewComboBoxColumn95.HeaderText = "마크업여부";
343
            gridViewComboBoxColumn95.Name = "ToIsMarkup";
344
            gridViewComboBoxColumn95.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
345
            gridViewComboBoxColumn95.Width = 80;
346
            gridViewComboBoxColumn96.FieldName = "FrReviewStatus";
347
            gridViewComboBoxColumn96.HeaderText = "의견Status";
348
            gridViewComboBoxColumn96.Name = "FrReviewStatus";
349
            gridViewComboBoxColumn96.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
350
            gridViewComboBoxColumn96.Width = 80;
351
            gridViewTextBoxColumn96.FieldName = "FrRemarks";
352
            gridViewTextBoxColumn96.HeaderText = "Brief";
353
            gridViewTextBoxColumn96.Name = "FrRemarks";
354
            gridViewTextBoxColumn96.Width = 150;
355
            gridViewTextBoxColumn97.FieldName = "FrModifier";
356
            gridViewTextBoxColumn97.HeaderText = "검토자";
357
            gridViewTextBoxColumn97.Name = "FrModifier";
358
            gridViewTextBoxColumn97.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
359
            gridViewTextBoxColumn97.Width = 70;
360
            gridViewCommandColumn66.FieldName = "FrCapturePath";
361
            gridViewCommandColumn66.HeaderText = "캡쳐";
362
            gridViewCommandColumn66.Name = "FrCapturePath";
363
            gridViewCommandColumn66.Width = 70;
364
            gridViewComboBoxColumn97.FieldName = "FrIsMarkup";
365
            gridViewComboBoxColumn97.HeaderText = "마크업여부";
366
            gridViewComboBoxColumn97.Name = "FrIsMarkup";
367
            gridViewComboBoxColumn97.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
368
            gridViewComboBoxColumn97.Width = 80;
369
            gridViewComboBoxColumn98.FieldName = "IsID2Work";
370
            gridViewComboBoxColumn98.HeaderText = "ID2 작업가능";
371
            gridViewComboBoxColumn98.Name = "IsID2Work";
372
            gridViewComboBoxColumn98.Width = 90;
373
            gridViewCommandColumn67.FieldName = "ID2Connection";
374
            gridViewCommandColumn67.HeaderText = "연결";
375
            gridViewCommandColumn67.Name = "ID2Connection";
376
            gridViewCommandColumn67.Width = 70;
377
            gridViewDateTimeColumn25.FieldName = "ID2StartDate";
378
            gridViewDateTimeColumn25.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
379
            gridViewDateTimeColumn25.FormatString = "{0: yyyy/MM/dd hh:mm:ss}";
380
            gridViewDateTimeColumn25.HeaderText = "시작일";
381
            gridViewDateTimeColumn25.Name = "ID2StartDate";
382
            gridViewDateTimeColumn25.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
383
            gridViewDateTimeColumn25.Width = 80;
384
            gridViewDateTimeColumn26.FieldName = "ID2EndDate";
385
            gridViewDateTimeColumn26.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
386
            gridViewDateTimeColumn26.FormatString = "{0: yyyy/MM/dd hh:mm:ss}";
387
            gridViewDateTimeColumn26.HeaderText = "완료일";
388
            gridViewDateTimeColumn26.Name = "ID2EndDate";
389
            gridViewDateTimeColumn26.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
390
            gridViewDateTimeColumn26.Width = 80;
391
            gridViewTextBoxColumn98.FieldName = "ID2JobTime";
392
            gridViewTextBoxColumn98.HeaderText = "작업시간";
393
            gridViewTextBoxColumn98.Name = "ID2JobTime";
394
            gridViewTextBoxColumn98.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
395
            gridViewTextBoxColumn98.Width = 80;
396
            gridViewComboBoxColumn99.FieldName = "ID2Status";
397
            gridViewComboBoxColumn99.HeaderText = "Status";
398
            gridViewComboBoxColumn99.Name = "ID2Status";
399
            gridViewComboBoxColumn99.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
400
            gridViewComboBoxColumn99.Width = 70;
401
            gridViewTextBoxColumn99.FieldName = "ID2Issues";
402
            gridViewTextBoxColumn99.HeaderText = "이슈사항";
403
            gridViewTextBoxColumn99.Name = "ID2Issues";
404
            gridViewTextBoxColumn99.Width = 150;
405
            gridViewCommandColumn68.FieldName = "AVEVAConnection";
406
            gridViewCommandColumn68.HeaderText = "연결";
407
            gridViewCommandColumn68.Name = "AVEVAConnection";
408
            gridViewCommandColumn68.Width = 70;
409
            gridViewDateTimeColumn27.FieldName = "AVEVAConvertDate";
410
            gridViewDateTimeColumn27.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
411
            gridViewDateTimeColumn27.FormatString = "{0: yyyy/MM/dd}";
412
            gridViewDateTimeColumn27.HeaderText = "변환일";
413
            gridViewDateTimeColumn27.Name = "AVEVAConvertDate";
414
            gridViewDateTimeColumn27.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
415
            gridViewDateTimeColumn27.Width = 70;
416
            gridViewDateTimeColumn28.FieldName = "AVEVAReviewDate";
417
            gridViewDateTimeColumn28.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
418
            gridViewDateTimeColumn28.FormatString = "{0: yyyy/MM/dd}";
419
            gridViewDateTimeColumn28.HeaderText = "검토일";
420
            gridViewDateTimeColumn28.Name = "AVEVAReviewDate";
421
            gridViewDateTimeColumn28.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
422
            gridViewDateTimeColumn28.Width = 70;
423
            gridViewComboBoxColumn100.FieldName = "AVEVAStatus";
424
            gridViewComboBoxColumn100.HeaderText = "Status";
425
            gridViewComboBoxColumn100.Name = "AVEVAStatus";
426
            gridViewComboBoxColumn100.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
427
            gridViewComboBoxColumn100.Width = 70;
428
            gridViewTextBoxColumn100.FieldName = "AVEVAIssues";
429
            gridViewTextBoxColumn100.HeaderText = "이슈사항";
430
            gridViewTextBoxColumn100.Name = "AVEVAIssues";
431
            gridViewTextBoxColumn100.Width = 150;
432
            gridViewCommandColumn69.FieldName = "ReviewFileName";
433
            gridViewCommandColumn69.HeaderText = "PDF";
434
            gridViewCommandColumn69.Name = "ReviewFileName";
435
            gridViewCommandColumn69.Width = 70;
436
            gridViewCommandColumn70.HeaderText = "시스템";
437
            gridViewCommandColumn70.Name = "SystemLink";
438
            gridViewCommandColumn70.Width = 70;
439
            gridViewTextBoxColumn101.FieldName = "ProdReviewer";
440
            gridViewTextBoxColumn101.HeaderText = "검토자";
441
            gridViewTextBoxColumn101.Name = "ProdReviewer";
442
            gridViewTextBoxColumn101.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
443
            gridViewTextBoxColumn101.Width = 70;
444
            gridViewComboBoxColumn101.FieldName = "ProdIsResult";
445
            gridViewComboBoxColumn101.HeaderText = "결과";
446
            gridViewComboBoxColumn101.Name = "ProdIsResult";
447
            gridViewComboBoxColumn101.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
448
            gridViewComboBoxColumn101.Width = 70;
449
            gridViewTextBoxColumn102.FieldName = "ProdRemarks";
450
            gridViewTextBoxColumn102.HeaderText = "비고";
451
            gridViewTextBoxColumn102.Name = "ProdRemarks";
452
            gridViewTextBoxColumn102.Width = 150;
453
            gridViewTextBoxColumn103.FieldName = "ClientReviewer";
454
            gridViewTextBoxColumn103.HeaderText = "검토자";
455
            gridViewTextBoxColumn103.Name = "ClientReviewer";
456
            gridViewTextBoxColumn103.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
457
            gridViewTextBoxColumn103.Width = 70;
458
            gridViewComboBoxColumn102.FieldName = "ClientIsResult";
459
            gridViewComboBoxColumn102.HeaderText = "결과";
460
            gridViewComboBoxColumn102.Name = "ClientIsResult";
461
            gridViewComboBoxColumn102.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
462
            gridViewComboBoxColumn102.Width = 70;
463
            gridViewTextBoxColumn104.FieldName = "ClientRemarks";
464
            gridViewTextBoxColumn104.HeaderText = "비고";
465
            gridViewTextBoxColumn104.Name = "ClientRemarks";
466
            gridViewTextBoxColumn104.Width = 150;
467
            gridViewComboBoxColumn103.FieldName = "DTIsGateWay";
468
            gridViewComboBoxColumn103.HeaderText = "GateWay";
469
            gridViewComboBoxColumn103.Name = "DTIsGateWay";
470
            gridViewComboBoxColumn103.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
471
            gridViewComboBoxColumn103.Width = 80;
472
            gridViewComboBoxColumn104.FieldName = "DTIsImport";
473
            gridViewComboBoxColumn104.HeaderText = "Import 성공여부";
474
            gridViewComboBoxColumn104.Name = "DTIsImport";
475
            gridViewComboBoxColumn104.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
476
            gridViewComboBoxColumn104.Width = 80;
477
            gridViewComboBoxColumn105.FieldName = "DTIsRegSystem";
478
            gridViewComboBoxColumn105.HeaderText = "시스템등록";
479
            gridViewComboBoxColumn105.Name = "DTIsRegSystem";
480
            gridViewComboBoxColumn105.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
481
            gridViewComboBoxColumn105.Width = 80;
482
            gridViewTextBoxColumn105.FieldName = "DTRemarks";
483
            gridViewTextBoxColumn105.HeaderText = "비고";
484
            gridViewTextBoxColumn105.Name = "DTRemarks";
485
            gridViewTextBoxColumn105.Width = 150;
282
            gridViewCommandColumn91.FieldName = "AutoCADLink";
283
            gridViewCommandColumn91.HeaderText = "AutoCAD";
284
            gridViewCommandColumn91.ImageLayout = System.Windows.Forms.ImageLayout.Center;
285
            gridViewCommandColumn91.Name = "AutoCADLink";
286
            gridViewCommandColumn91.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
287
            gridViewCommandColumn91.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
288
            gridViewCommandColumn91.Width = 70;
289
            gridViewCommandColumn92.FieldName = "PDFLink";
290
            gridViewCommandColumn92.HeaderText = "PDF";
291
            gridViewCommandColumn92.ImageLayout = System.Windows.Forms.ImageLayout.Center;
292
            gridViewCommandColumn92.Name = "PDFLink";
293
            gridViewCommandColumn92.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
294
            gridViewCommandColumn92.Width = 70;
295
            gridViewCommandColumn93.FieldName = "MarkupLink";
296
            gridViewCommandColumn93.HeaderText = "Markus";
297
            gridViewCommandColumn93.ImageLayout = System.Windows.Forms.ImageLayout.Center;
298
            gridViewCommandColumn93.Name = "MarkupLink";
299
            gridViewCommandColumn93.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
300
            gridViewCommandColumn93.Width = 70;
301
            gridViewCommandColumn94.FieldName = "AVEVALink";
302
            gridViewCommandColumn94.HeaderText = "AVEVA";
303
            gridViewCommandColumn94.ImageLayout = System.Windows.Forms.ImageLayout.Center;
304
            gridViewCommandColumn94.Name = "AVEVALink";
305
            gridViewCommandColumn94.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
306
            gridViewCommandColumn94.Width = 70;
307
            gridViewTextBoxColumn136.FieldName = "Place";
308
            gridViewTextBoxColumn136.HeaderText = "위치";
309
            gridViewTextBoxColumn136.Multiline = true;
310
            gridViewTextBoxColumn136.Name = "Place";
311
            gridViewTextBoxColumn136.Width = 150;
312
            gridViewTextBoxColumn137.FieldName = "DocumentNo";
313
            gridViewTextBoxColumn137.HeaderText = "이름";
314
            gridViewTextBoxColumn137.Name = "DocumentNo";
315
            gridViewTextBoxColumn137.Width = 150;
316
            gridViewComboBoxColumn136.FieldName = "PersonInCharge";
317
            gridViewComboBoxColumn136.HeaderText = "담당자";
318
            gridViewComboBoxColumn136.Name = "PersonInCharge";
319
            gridViewComboBoxColumn136.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
320
            gridViewComboBoxColumn136.Width = 100;
321
            gridViewComboBoxColumn137.FieldName = "JobLevel";
322
            gridViewComboBoxColumn137.HeaderText = "난이도";
323
            gridViewComboBoxColumn137.Name = "JobLevel";
324
            gridViewComboBoxColumn137.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
325
            gridViewComboBoxColumn137.Width = 60;
326
            gridViewComboBoxColumn138.FieldName = "IsTypical";
327
            gridViewComboBoxColumn138.HeaderText = "Typical";
328
            gridViewComboBoxColumn138.Name = "IsTypical";
329
            gridViewComboBoxColumn138.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
330
            gridViewComboBoxColumn138.Width = 60;
331
            gridViewTextBoxColumn138.FieldName = "RevisonNo";
332
            gridViewTextBoxColumn138.HeaderText = "Rev.";
333
            gridViewTextBoxColumn138.Name = "RevisonNo";
334
            gridViewTextBoxColumn138.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
335
            gridViewComboBoxColumn139.FieldName = "ToIsDiscussion";
336
            gridViewComboBoxColumn139.HeaderText = "협의사항";
337
            gridViewComboBoxColumn139.Name = "ToIsDiscussion";
338
            gridViewComboBoxColumn139.Width = 80;
339
            gridViewTextBoxColumn139.FieldName = "ToRemarks";
340
            gridViewTextBoxColumn139.HeaderText = "Brief";
341
            gridViewTextBoxColumn139.Multiline = true;
342
            gridViewTextBoxColumn139.Name = "ToRemarks";
343
            gridViewTextBoxColumn139.Width = 150;
344
            gridViewTextBoxColumn140.FieldName = "ToModifier";
345
            gridViewTextBoxColumn140.HeaderText = "작성자";
346
            gridViewTextBoxColumn140.Name = "ToModifier";
347
            gridViewTextBoxColumn140.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
348
            gridViewTextBoxColumn140.Width = 70;
349
            gridViewCommandColumn95.FieldName = "ToCapturePath";
350
            gridViewCommandColumn95.HeaderText = "캡쳐";
351
            gridViewCommandColumn95.Name = "ToCapturePath";
352
            gridViewCommandColumn95.Width = 70;
353
            gridViewComboBoxColumn140.FieldName = "ToIsMarkup";
354
            gridViewComboBoxColumn140.HeaderText = "마크업여부";
355
            gridViewComboBoxColumn140.Name = "ToIsMarkup";
356
            gridViewComboBoxColumn140.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
357
            gridViewComboBoxColumn140.Width = 80;
358
            gridViewComboBoxColumn141.FieldName = "FrReviewStatus";
359
            gridViewComboBoxColumn141.HeaderText = "의견Status";
360
            gridViewComboBoxColumn141.Name = "FrReviewStatus";
361
            gridViewComboBoxColumn141.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
362
            gridViewComboBoxColumn141.Width = 80;
363
            gridViewTextBoxColumn141.FieldName = "FrRemarks";
364
            gridViewTextBoxColumn141.HeaderText = "Brief";
365
            gridViewTextBoxColumn141.Name = "FrRemarks";
366
            gridViewTextBoxColumn141.Width = 150;
367
            gridViewTextBoxColumn142.FieldName = "FrModifier";
368
            gridViewTextBoxColumn142.HeaderText = "검토자";
369
            gridViewTextBoxColumn142.Name = "FrModifier";
370
            gridViewTextBoxColumn142.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
371
            gridViewTextBoxColumn142.Width = 70;
372
            gridViewCommandColumn96.FieldName = "FrCapturePath";
373
            gridViewCommandColumn96.HeaderText = "캡쳐";
374
            gridViewCommandColumn96.Name = "FrCapturePath";
375
            gridViewCommandColumn96.Width = 70;
376
            gridViewComboBoxColumn142.FieldName = "FrIsMarkup";
377
            gridViewComboBoxColumn142.HeaderText = "마크업여부";
378
            gridViewComboBoxColumn142.Name = "FrIsMarkup";
379
            gridViewComboBoxColumn142.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
380
            gridViewComboBoxColumn142.Width = 80;
381
            gridViewComboBoxColumn143.FieldName = "IsID2Work";
382
            gridViewComboBoxColumn143.HeaderText = "ID2 작업가능";
383
            gridViewComboBoxColumn143.Name = "IsID2Work";
384
            gridViewComboBoxColumn143.Width = 90;
385
            gridViewCommandColumn97.FieldName = "ID2Connection";
386
            gridViewCommandColumn97.HeaderText = "연결";
387
            gridViewCommandColumn97.Name = "ID2Connection";
388
            gridViewCommandColumn97.Width = 70;
389
            gridViewDateTimeColumn37.FieldName = "ID2StartDate";
390
            gridViewDateTimeColumn37.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
391
            gridViewDateTimeColumn37.FormatString = "{0: yyyy/MM/dd hh:mm:ss}";
392
            gridViewDateTimeColumn37.HeaderText = "시작일";
393
            gridViewDateTimeColumn37.Name = "ID2StartDate";
394
            gridViewDateTimeColumn37.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
395
            gridViewDateTimeColumn37.Width = 80;
396
            gridViewDateTimeColumn38.FieldName = "ID2EndDate";
397
            gridViewDateTimeColumn38.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
398
            gridViewDateTimeColumn38.FormatString = "{0: yyyy/MM/dd hh:mm:ss}";
399
            gridViewDateTimeColumn38.HeaderText = "완료일";
400
            gridViewDateTimeColumn38.Name = "ID2EndDate";
401
            gridViewDateTimeColumn38.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
402
            gridViewDateTimeColumn38.Width = 80;
403
            gridViewTextBoxColumn143.FieldName = "ID2JobTime";
404
            gridViewTextBoxColumn143.HeaderText = "작업시간";
405
            gridViewTextBoxColumn143.Name = "ID2JobTime";
406
            gridViewTextBoxColumn143.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
407
            gridViewTextBoxColumn143.Width = 80;
408
            gridViewComboBoxColumn144.FieldName = "ID2Status";
409
            gridViewComboBoxColumn144.HeaderText = "Status";
410
            gridViewComboBoxColumn144.Name = "ID2Status";
411
            gridViewComboBoxColumn144.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
412
            gridViewComboBoxColumn144.Width = 70;
413
            gridViewTextBoxColumn144.FieldName = "ID2Issues";
414
            gridViewTextBoxColumn144.HeaderText = "이슈사항";
415
            gridViewTextBoxColumn144.Name = "ID2Issues";
416
            gridViewTextBoxColumn144.Width = 150;
417
            gridViewCommandColumn98.FieldName = "AVEVAConnection";
418
            gridViewCommandColumn98.HeaderText = "연결";
419
            gridViewCommandColumn98.Name = "AVEVAConnection";
420
            gridViewCommandColumn98.Width = 70;
421
            gridViewDateTimeColumn39.FieldName = "AVEVAConvertDate";
422
            gridViewDateTimeColumn39.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
423
            gridViewDateTimeColumn39.FormatString = "{0: yyyy/MM/dd}";
424
            gridViewDateTimeColumn39.HeaderText = "변환일";
425
            gridViewDateTimeColumn39.Name = "AVEVAConvertDate";
426
            gridViewDateTimeColumn39.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
427
            gridViewDateTimeColumn39.Width = 70;
428
            gridViewDateTimeColumn40.FieldName = "AVEVAReviewDate";
429
            gridViewDateTimeColumn40.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
430
            gridViewDateTimeColumn40.FormatString = "{0: yyyy/MM/dd}";
431
            gridViewDateTimeColumn40.HeaderText = "검토일";
432
            gridViewDateTimeColumn40.Name = "AVEVAReviewDate";
433
            gridViewDateTimeColumn40.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
434
            gridViewDateTimeColumn40.Width = 70;
435
            gridViewComboBoxColumn145.FieldName = "AVEVAStatus";
436
            gridViewComboBoxColumn145.HeaderText = "Status";
437
            gridViewComboBoxColumn145.Name = "AVEVAStatus";
438
            gridViewComboBoxColumn145.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
439
            gridViewComboBoxColumn145.Width = 70;
440
            gridViewTextBoxColumn145.FieldName = "AVEVAIssues";
441
            gridViewTextBoxColumn145.HeaderText = "이슈사항";
442
            gridViewTextBoxColumn145.Name = "AVEVAIssues";
443
            gridViewTextBoxColumn145.Width = 150;
444
            gridViewCommandColumn99.FieldName = "ReviewFileName";
445
            gridViewCommandColumn99.HeaderText = "PDF";
446
            gridViewCommandColumn99.Name = "ReviewFileName";
447
            gridViewCommandColumn99.Width = 70;
448
            gridViewCommandColumn100.HeaderText = "시스템";
449
            gridViewCommandColumn100.Name = "SystemLink";
450
            gridViewCommandColumn100.Width = 70;
451
            gridViewTextBoxColumn146.FieldName = "ProdReviewer";
452
            gridViewTextBoxColumn146.HeaderText = "검토자";
453
            gridViewTextBoxColumn146.Name = "ProdReviewer";
454
            gridViewTextBoxColumn146.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
455
            gridViewTextBoxColumn146.Width = 70;
456
            gridViewComboBoxColumn146.FieldName = "ProdIsResult";
457
            gridViewComboBoxColumn146.HeaderText = "결과";
458
            gridViewComboBoxColumn146.Name = "ProdIsResult";
459
            gridViewComboBoxColumn146.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
460
            gridViewComboBoxColumn146.Width = 70;
461
            gridViewTextBoxColumn147.FieldName = "ProdRemarks";
462
            gridViewTextBoxColumn147.HeaderText = "비고";
463
            gridViewTextBoxColumn147.Name = "ProdRemarks";
464
            gridViewTextBoxColumn147.Width = 150;
465
            gridViewTextBoxColumn148.FieldName = "ClientReviewer";
466
            gridViewTextBoxColumn148.HeaderText = "검토자";
467
            gridViewTextBoxColumn148.Name = "ClientReviewer";
468
            gridViewTextBoxColumn148.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
469
            gridViewTextBoxColumn148.Width = 70;
470
            gridViewComboBoxColumn147.FieldName = "ClientIsResult";
471
            gridViewComboBoxColumn147.HeaderText = "결과";
472
            gridViewComboBoxColumn147.Name = "ClientIsResult";
473
            gridViewComboBoxColumn147.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
474
            gridViewComboBoxColumn147.Width = 70;
475
            gridViewTextBoxColumn149.FieldName = "ClientRemarks";
476
            gridViewTextBoxColumn149.HeaderText = "비고";
477
            gridViewTextBoxColumn149.Name = "ClientRemarks";
478
            gridViewTextBoxColumn149.Width = 150;
479
            gridViewComboBoxColumn148.FieldName = "DTIsGateWay";
480
            gridViewComboBoxColumn148.HeaderText = "GateWay";
481
            gridViewComboBoxColumn148.Name = "DTIsGateWay";
482
            gridViewComboBoxColumn148.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
483
            gridViewComboBoxColumn148.Width = 80;
484
            gridViewComboBoxColumn149.FieldName = "DTIsImport";
485
            gridViewComboBoxColumn149.HeaderText = "Import 성공여부";
486
            gridViewComboBoxColumn149.Name = "DTIsImport";
487
            gridViewComboBoxColumn149.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
488
            gridViewComboBoxColumn149.Width = 80;
489
            gridViewComboBoxColumn150.FieldName = "DTIsRegSystem";
490
            gridViewComboBoxColumn150.HeaderText = "시스템등록";
491
            gridViewComboBoxColumn150.Name = "DTIsRegSystem";
492
            gridViewComboBoxColumn150.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
493
            gridViewComboBoxColumn150.Width = 80;
494
            gridViewTextBoxColumn150.FieldName = "DTRemarks";
495
            gridViewTextBoxColumn150.HeaderText = "비고";
496
            gridViewTextBoxColumn150.Name = "DTRemarks";
497
            gridViewTextBoxColumn150.Width = 150;
486 498
            this.radGridViewDocuments.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
487
            gridViewCommandColumn61,
488
            gridViewCommandColumn62,
489
            gridViewCommandColumn63,
490
            gridViewCommandColumn64,
491
            gridViewTextBoxColumn91,
492
            gridViewTextBoxColumn92,
493
            gridViewComboBoxColumn91,
494
            gridViewComboBoxColumn92,
495
            gridViewComboBoxColumn93,
496
            gridViewTextBoxColumn93,
497
            gridViewComboBoxColumn94,
498
            gridViewTextBoxColumn94,
499
            gridViewTextBoxColumn95,
500
            gridViewCommandColumn65,
501
            gridViewComboBoxColumn95,
502
            gridViewComboBoxColumn96,
503
            gridViewTextBoxColumn96,
504
            gridViewTextBoxColumn97,
505
            gridViewCommandColumn66,
506
            gridViewComboBoxColumn97,
507
            gridViewComboBoxColumn98,
508
            gridViewCommandColumn67,
509
            gridViewDateTimeColumn25,
510
            gridViewDateTimeColumn26,
511
            gridViewTextBoxColumn98,
512
            gridViewComboBoxColumn99,
513
            gridViewTextBoxColumn99,
514
            gridViewCommandColumn68,
515
            gridViewDateTimeColumn27,
516
            gridViewDateTimeColumn28,
517
            gridViewComboBoxColumn100,
518
            gridViewTextBoxColumn100,
519
            gridViewCommandColumn69,
520
            gridViewCommandColumn70,
521
            gridViewTextBoxColumn101,
522
            gridViewComboBoxColumn101,
523
            gridViewTextBoxColumn102,
524
            gridViewTextBoxColumn103,
525
            gridViewComboBoxColumn102,
526
            gridViewTextBoxColumn104,
527
            gridViewComboBoxColumn103,
528
            gridViewComboBoxColumn104,
529
            gridViewComboBoxColumn105,
530
            gridViewTextBoxColumn105});
499
            gridViewCommandColumn91,
500
            gridViewCommandColumn92,
501
            gridViewCommandColumn93,
502
            gridViewCommandColumn94,
503
            gridViewTextBoxColumn136,
504
            gridViewTextBoxColumn137,
505
            gridViewComboBoxColumn136,
506
            gridViewComboBoxColumn137,
507
            gridViewComboBoxColumn138,
508
            gridViewTextBoxColumn138,
509
            gridViewComboBoxColumn139,
510
            gridViewTextBoxColumn139,
511
            gridViewTextBoxColumn140,
512
            gridViewCommandColumn95,
513
            gridViewComboBoxColumn140,
514
            gridViewComboBoxColumn141,
515
            gridViewTextBoxColumn141,
516
            gridViewTextBoxColumn142,
517
            gridViewCommandColumn96,
518
            gridViewComboBoxColumn142,
519
            gridViewComboBoxColumn143,
520
            gridViewCommandColumn97,
521
            gridViewDateTimeColumn37,
522
            gridViewDateTimeColumn38,
523
            gridViewTextBoxColumn143,
524
            gridViewComboBoxColumn144,
525
            gridViewTextBoxColumn144,
526
            gridViewCommandColumn98,
527
            gridViewDateTimeColumn39,
528
            gridViewDateTimeColumn40,
529
            gridViewComboBoxColumn145,
530
            gridViewTextBoxColumn145,
531
            gridViewCommandColumn99,
532
            gridViewCommandColumn100,
533
            gridViewTextBoxColumn146,
534
            gridViewComboBoxColumn146,
535
            gridViewTextBoxColumn147,
536
            gridViewTextBoxColumn148,
537
            gridViewComboBoxColumn147,
538
            gridViewTextBoxColumn149,
539
            gridViewComboBoxColumn148,
540
            gridViewComboBoxColumn149,
541
            gridViewComboBoxColumn150,
542
            gridViewTextBoxColumn150});
531 543
            this.radGridViewDocuments.MasterTemplate.EnableAlternatingRowColor = true;
532 544
            this.radGridViewDocuments.MasterTemplate.EnableFiltering = true;
533 545
            this.radGridViewDocuments.MasterTemplate.ShowFilteringRow = false;
534 546
            this.radGridViewDocuments.MasterTemplate.ShowHeaderCellButtons = true;
535
            this.radGridViewDocuments.MasterTemplate.ViewDefinition = tableViewDefinition7;
547
            this.radGridViewDocuments.MasterTemplate.ViewDefinition = tableViewDefinition10;
536 548
            this.radGridViewDocuments.Name = "radGridViewDocuments";
537 549
            this.radGridViewDocuments.ShowHeaderCellButtons = true;
538
            this.radGridViewDocuments.Size = new System.Drawing.Size(921, 396);
550
            this.radGridViewDocuments.Size = new System.Drawing.Size(921, 386);
539 551
            this.radGridViewDocuments.TabIndex = 0;
540 552
            // 
541 553
            // splitPanelRight
......
575 587
            this.radButtonMapping.Location = new System.Drawing.Point(844, 3);
576 588
            this.radButtonMapping.Name = "radButtonMapping";
577 589
            this.tableLayoutPanelCondition.SetRowSpan(this.radButtonMapping, 2);
578
            this.radButtonMapping.Size = new System.Drawing.Size(74, 88);
590
            this.radButtonMapping.Size = new System.Drawing.Size(74, 68);
579 591
            this.radButtonMapping.TabIndex = 4;
580 592
            this.radButtonMapping.Text = "Mapping";
581 593
            // 
594
            // tableLayoutPanelGroup
595
            // 
596
            this.tableLayoutPanelGroup.ColumnCount = 6;
597
            this.tableLayoutPanelGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
598
            this.tableLayoutPanelGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
599
            this.tableLayoutPanelGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
600
            this.tableLayoutPanelGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
601
            this.tableLayoutPanelGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
602
            this.tableLayoutPanelGroup.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
603
            this.tableLayoutPanelGroup.Controls.Add(this.radCheckBox4, 4, 0);
604
            this.tableLayoutPanelGroup.Controls.Add(this.radCheckBox3, 3, 0);
605
            this.tableLayoutPanelGroup.Controls.Add(this.radCheckBox2, 2, 0);
606
            this.tableLayoutPanelGroup.Controls.Add(this.radCheckBox1, 1, 0);
607
            this.tableLayoutPanelGroup.Dock = System.Windows.Forms.DockStyle.Fill;
608
            this.tableLayoutPanelGroup.Location = new System.Drawing.Point(23, 83);
609
            this.tableLayoutPanelGroup.Name = "tableLayoutPanelGroup";
610
            this.tableLayoutPanelGroup.RowCount = 1;
611
            this.tableLayoutPanelGroup.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
612
            this.tableLayoutPanelGroup.Size = new System.Drawing.Size(921, 24);
613
            this.tableLayoutPanelGroup.TabIndex = 7;
614
            // 
615
            // radCheckBox1
616
            // 
617
            this.radCheckBox1.CheckState = System.Windows.Forms.CheckState.Checked;
618
            this.radCheckBox1.Location = new System.Drawing.Point(83, 3);
619
            this.radCheckBox1.Name = "radCheckBox1";
620
            this.radCheckBox1.Size = new System.Drawing.Size(43, 18);
621
            this.radCheckBox1.TabIndex = 0;
622
            this.radCheckBox1.Text = "검토";
623
            this.radCheckBox1.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
624
            // 
625
            // radCheckBox2
626
            // 
627
            this.radCheckBox2.CheckState = System.Windows.Forms.CheckState.Checked;
628
            this.radCheckBox2.Location = new System.Drawing.Point(183, 3);
629
            this.radCheckBox2.Name = "radCheckBox2";
630
            this.radCheckBox2.Size = new System.Drawing.Size(43, 18);
631
            this.radCheckBox2.TabIndex = 1;
632
            this.radCheckBox2.Text = "작업";
633
            this.radCheckBox2.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
634
            // 
635
            // radCheckBox3
636
            // 
637
            this.radCheckBox3.CheckState = System.Windows.Forms.CheckState.Checked;
638
            this.radCheckBox3.Location = new System.Drawing.Point(283, 3);
639
            this.radCheckBox3.Name = "radCheckBox3";
640
            this.radCheckBox3.Size = new System.Drawing.Size(71, 18);
641
            this.radCheckBox3.TabIndex = 1;
642
            this.radCheckBox3.Text = "Validation";
643
            this.radCheckBox3.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
644
            // 
645
            // radCheckBox4
646
            // 
647
            this.radCheckBox4.CheckState = System.Windows.Forms.CheckState.Checked;
648
            this.radCheckBox4.Location = new System.Drawing.Point(383, 3);
649
            this.radCheckBox4.Name = "radCheckBox4";
650
            this.radCheckBox4.Size = new System.Drawing.Size(71, 18);
651
            this.radCheckBox4.TabIndex = 2;
652
            this.radCheckBox4.Text = "AVEVA Net";
653
            this.radCheckBox4.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
654
            // 
582 655
            // Main
583 656
            // 
584 657
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
......
603 676
            ((System.ComponentModel.ISupportInitialize)(this.splitPanelRight)).EndInit();
604 677
            this.splitPanelRight.ResumeLayout(false);
605 678
            ((System.ComponentModel.ISupportInitialize)(this.radButtonMapping)).EndInit();
679
            this.tableLayoutPanelGroup.ResumeLayout(false);
680
            this.tableLayoutPanelGroup.PerformLayout();
681
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).EndInit();
682
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox2)).EndInit();
683
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox3)).EndInit();
684
            ((System.ComponentModel.ISupportInitialize)(this.radCheckBox4)).EndInit();
606 685
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
607 686
            this.ResumeLayout(false);
608 687
            this.PerformLayout();
......
628 707
        private System.Windows.Forms.TableLayoutPanel tableLayoutPanelCondition;
629 708
        private Telerik.WinControls.UI.RadButton radButtonSearch;
630 709
        private Telerik.WinControls.UI.RadButton radButtonMapping;
710
        private System.Windows.Forms.TableLayoutPanel tableLayoutPanelGroup;
711
        private Telerik.WinControls.UI.RadCheckBox radCheckBox3;
712
        private Telerik.WinControls.UI.RadCheckBox radCheckBox2;
713
        private Telerik.WinControls.UI.RadCheckBox radCheckBox1;
714
        private Telerik.WinControls.UI.RadCheckBox radCheckBox4;
631 715
    }
632 716
}
ID2.Manager/ID2.Manager/Main.cs
12 12
using System.Reflection;
13 13

  
14 14
using ID2.Manager.Common;
15
using ID2.Manager.Classes;
15 16
using ID2.Manager.Data.Models;
16 17
using ID2.Manager.Controller.Controllers;
17 18
using static ID2.Manager.Data.Models.Documents;
......
48 49
            this.radButtonElementExcelImport.Click += RadButtonElementExcelImport_Click;
49 50
            this.radButtonElementExcelExport.Click += RadButtonElementExcelExport_Click;
50 51

  
52
            this.radCheckBox1.CheckStateChanged += RadCheckBox_CheckStateChanged;
53
            this.radCheckBox2.CheckStateChanged += RadCheckBox_CheckStateChanged;
54
            this.radCheckBox2.CheckStateChanged += RadCheckBox_CheckStateChanged;
55
            this.radCheckBox4.CheckStateChanged += RadCheckBox_CheckStateChanged;
56

  
51 57
            this.radButtonSearch.Click += RadButtonSearch_Click;
58
            this.radButtonMapping.Click += RadButtonMapping_Click;
52 59

  
53 60
            this.radGridViewDocuments.ViewCellFormatting += RadGridViewDocuments_ViewCellFormatting;
54 61
            this.radGridViewDocuments.CellBeginEdit += RadGridViewDocuments_CellBeginEdit;
......
60 67
            this.InitColumnGroupsViewDefinition(this.radGridViewDocuments);
61 68
        }
62 69

  
70
        #region Init, Load
63 71
        private void Initialize()
64 72
        {
65 73
            IEnumerable<UserInfo> allUserList = new UserController().GetAllUserInfo();
......
70 78
        {
71 79
            this.radGridViewDocuments.DataSource = null;
72 80
        }
81
        #endregion
73 82

  
83
        #region Document List 조회
74 84
        public void GetDocList()
75 85
        {
76 86
            this.documents = new DocumentController().GetAllDocuments().ToList();
......
100 110
            this.radGridViewDocuments.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Top;
101 111
            this.radGridViewDocuments.MasterTemplate.BottomPinnedRowsMode = GridViewBottomPinnedRowsMode.Fixed;
102 112
        }
113
        #endregion
114

  
115
        #region button, checkbox event
116
        private void RadCheckBox_CheckStateChanged(object sender, EventArgs e)
117
        {
118

  
119
        }
103 120

  
104 121
        private void RadButtonSearch_Click(object sender, EventArgs e)
105 122
        {
106 123
            this.GetDocList();
107 124
        }
108 125

  
126
        private void RadButtonMapping_Click(object sender, EventArgs e)
127
        {
128
            
129
        }
130
        #endregion
131

  
132
        #region grid event
109 133
        private void RadGridViewDocuments_CommandCellClick(object sender, GridViewCellEventArgs e)
110 134
        {
111 135
            if (e.Row is GridViewNewRowInfo)
......
322 346

  
323 347
            return btnElem;
324 348
        }
349
        #endregion
325 350

  
326 351
        #region Excel
327 352
        private void RadButtonElementExcelImport_Click(object sender, EventArgs e)
......
573 598
        }
574 599
        #endregion
575 600

  
601
        #region save event
576 602
        private void RadButtonElementSave_Click(object sender, EventArgs e)
577 603
        {
578
            //저장
579
            List<Documents> setDocuments = new List<Documents>();
604
            List <Documents> setDocuments = new List<Documents>();
580 605
            List<Documents> delDocuments = new List<Documents>();
581 606

  
582
            this.documents.Where(x => !this.orgDocuments.Any(y => y.Equals(x)))
583
                          .ToList().ForEach(x => setDocuments.Add(x));
584

  
585
            delDocuments.AddRange(this.orgDocuments.Except(this.documents, new DocumentsKeyComparer()));
586

  
587
            bool result = new DocumentController().SetDocumentData(setDocuments, delDocuments);
588

  
589
            if (result)
607
            var worker = new DocumentsWorker(this.documents, this.orgDocuments, setDocuments, delDocuments, this.radGridViewDocuments);
608
            worker.OnWorkCompletedHandler += () =>
590 609
            {
591
                RadMessageBox.Show("Save is complete", Globals.Name, MessageBoxButtons.OK, RadMessageIcon.Info);
592
            }
610
                bool result = new DocumentController().SetDocumentData(setDocuments, delDocuments);
611
                if (result)
612
                {
613
                    RadMessageBox.Show("Save is complete", Globals.Name, MessageBoxButtons.OK, RadMessageIcon.Info);
614
                    this.GetDocList();
615
                }
616
                else
617
                {
618
                    RadMessageBox.Show("Save is not complete", Globals.Name, MessageBoxButtons.OK, RadMessageIcon.Error);
619
                }
620
            };
621
            worker.StartWork();
593 622
        }
623
        #endregion
594 624

  
595 625
        #region ColumnGroup
596 626
        private void InitColumnGroupsViewDefinition(RadGridView gridView)
......
732 762
            return gridViewColumnGroup;
733 763
        }
734 764
        #endregion
765

  
766

  
767
        class DocumentsWorker : BaseWorker
768
        {
769
            public delegate void OnWorkCompleted();
770
            public OnWorkCompleted OnWorkCompletedHandler;
771

  
772
            List<Documents> docList { get; set; }
773
            List<Documents> orgList { get; set; }
774
            List<Documents> setList { get; set; }
775
            List<Documents> delList { get; set; }
776

  
777
            public DocumentsWorker(List<Documents> docList, List<Documents> orgDocList, List<Documents> setDocList, List<Documents> delDocList, Control parent = null) : base(parent)
778
            {
779
                this.docList = docList;
780
                this.orgList = orgDocList;
781
                this.setList = setDocList;
782
                this.delList = delDocList;
783
            }
784
            protected override void DoWork(BackgroundWorker worker)
785
            {
786
                //수정리스트
787
                this.docList.Where(x => !this.orgList.Any(y => y.Equals(x)))
788
                              .ToList().ForEach(x => this.setList.Add(x));
789
                //삭제리스트
790
                this.delList.AddRange(this.orgList.Except(this.docList, new DocumentsKeyComparer()));
791
            }
792

  
793
            protected override void WorkCompleted()
794
            {
795
                if (this.OnWorkCompletedHandler != null) this.OnWorkCompletedHandler();
796
            }
797
        }
735 798
    }
736 799
}

내보내기 Unified diff

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