개정판 36ef0ce4
issue #00000 brief 수정
Change-Id: If498f94377ea98dd737580dea9902c65d37bfde6
ID2.Manager/ID2.Manager/Controls/BriefAndImages.Designer.cs | ||
---|---|---|
34 | 34 |
this.lbBrief = new System.Windows.Forms.Label(); |
35 | 35 |
this.txtBrief = new Telerik.WinControls.UI.RadTextBox(); |
36 | 36 |
this.LayoutImages = new System.Windows.Forms.TableLayoutPanel(); |
37 |
this.lstFrImages = new Telerik.WinControls.UI.RadListView(); |
|
37 | 38 |
this.label1 = new System.Windows.Forms.Label(); |
38 | 39 |
this.selectImage = new Telerik.WinControls.UI.RadPictureBox(); |
39 |
this.lstImages = new Telerik.WinControls.UI.RadListView(); |
|
40 |
this.lstToImages = new Telerik.WinControls.UI.RadListView();
|
|
40 | 41 |
this.LayoutRoot.SuspendLayout(); |
41 | 42 |
this.LayoutBrief.SuspendLayout(); |
42 | 43 |
((System.ComponentModel.ISupportInitialize)(this.txtBrief)).BeginInit(); |
43 | 44 |
this.LayoutImages.SuspendLayout(); |
45 |
((System.ComponentModel.ISupportInitialize)(this.lstFrImages)).BeginInit(); |
|
44 | 46 |
((System.ComponentModel.ISupportInitialize)(this.selectImage)).BeginInit(); |
45 |
((System.ComponentModel.ISupportInitialize)(this.lstImages)).BeginInit(); |
|
47 |
((System.ComponentModel.ISupportInitialize)(this.lstToImages)).BeginInit();
|
|
46 | 48 |
this.SuspendLayout(); |
47 | 49 |
// |
48 | 50 |
// LayoutRoot |
... | ... | |
57 | 59 |
this.LayoutRoot.Location = new System.Drawing.Point(0, 0); |
58 | 60 |
this.LayoutRoot.Name = "LayoutRoot"; |
59 | 61 |
this.LayoutRoot.RowCount = 2; |
60 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 22.22222F));
|
|
61 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 77.77778F));
|
|
62 |
this.LayoutRoot.Size = new System.Drawing.Size(248, 483);
|
|
62 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 18F));
|
|
63 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 82F));
|
|
64 |
this.LayoutRoot.Size = new System.Drawing.Size(248, 595);
|
|
63 | 65 |
this.LayoutRoot.TabIndex = 0; |
64 | 66 |
// |
65 | 67 |
// LayoutBrief |
... | ... | |
97 | 99 |
this.txtBrief.Location = new System.Drawing.Point(3, 21); |
98 | 100 |
this.txtBrief.Multiline = true; |
99 | 101 |
this.txtBrief.Name = "txtBrief"; |
100 |
this.txtBrief.NullText = "Input Brief";
|
|
102 |
this.txtBrief.NullText = "Input Text";
|
|
101 | 103 |
this.txtBrief.ShowNullText = true; |
102 | 104 |
this.txtBrief.Size = new System.Drawing.Size(236, 77); |
103 | 105 |
this.txtBrief.TabIndex = 1; |
106 |
this.txtBrief.TextChanged += new System.EventHandler(this.txtBrief_TextChanged); |
|
104 | 107 |
// |
105 | 108 |
// LayoutImages |
106 | 109 |
// |
107 | 110 |
this.LayoutImages.ColumnCount = 1; |
108 | 111 |
this.LayoutImages.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
112 |
this.LayoutImages.Controls.Add(this.lstFrImages, 0, 2); |
|
109 | 113 |
this.LayoutImages.Controls.Add(this.label1, 0, 0); |
110 |
this.LayoutImages.Controls.Add(this.selectImage, 0, 2);
|
|
111 |
this.LayoutImages.Controls.Add(this.lstImages, 0, 1); |
|
114 |
this.LayoutImages.Controls.Add(this.selectImage, 0, 3);
|
|
115 |
this.LayoutImages.Controls.Add(this.lstToImages, 0, 1);
|
|
112 | 116 |
this.LayoutImages.Dock = System.Windows.Forms.DockStyle.Fill; |
113 | 117 |
this.LayoutImages.Location = new System.Drawing.Point(3, 110); |
114 | 118 |
this.LayoutImages.Name = "LayoutImages"; |
115 |
this.LayoutImages.RowCount = 3; |
|
116 |
this.LayoutImages.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); |
|
117 |
this.LayoutImages.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 90F)); |
|
119 |
this.LayoutImages.RowCount = 4; |
|
120 |
this.LayoutImages.RowStyles.Add(new System.Windows.Forms.RowStyle()); |
|
121 |
this.LayoutImages.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F)); |
|
122 |
this.LayoutImages.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F)); |
|
118 | 123 |
this.LayoutImages.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
119 |
this.LayoutImages.Size = new System.Drawing.Size(242, 370);
|
|
124 |
this.LayoutImages.Size = new System.Drawing.Size(242, 482);
|
|
120 | 125 |
this.LayoutImages.TabIndex = 1; |
121 | 126 |
// |
127 |
// lstFrImages |
|
128 |
// |
|
129 |
this.lstFrImages.AllowArbitraryItemHeight = true; |
|
130 |
this.lstFrImages.Dock = System.Windows.Forms.DockStyle.Fill; |
|
131 |
this.lstFrImages.FullRowSelect = false; |
|
132 |
this.lstFrImages.ItemSize = new System.Drawing.Size(57, 57); |
|
133 |
this.lstFrImages.Location = new System.Drawing.Point(3, 81); |
|
134 |
this.lstFrImages.Name = "lstFrImages"; |
|
135 |
this.lstFrImages.ShowItemToolTips = false; |
|
136 |
this.lstFrImages.Size = new System.Drawing.Size(236, 54); |
|
137 |
this.lstFrImages.TabIndex = 5; |
|
138 |
this.lstFrImages.ViewType = Telerik.WinControls.UI.ListViewType.IconsView; |
|
139 |
// |
|
122 | 140 |
// label1 |
123 | 141 |
// |
124 | 142 |
this.label1.AutoSize = true; |
125 | 143 |
this.label1.BackColor = System.Drawing.Color.Transparent; |
126 | 144 |
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; |
127 |
this.label1.Location = new System.Drawing.Point(3, 15);
|
|
145 |
this.label1.Location = new System.Drawing.Point(3, 3);
|
|
128 | 146 |
this.label1.Margin = new System.Windows.Forms.Padding(3); |
129 | 147 |
this.label1.Name = "label1"; |
130 | 148 |
this.label1.Size = new System.Drawing.Size(236, 12); |
... | ... | |
135 | 153 |
// selectImage |
136 | 154 |
// |
137 | 155 |
this.selectImage.Dock = System.Windows.Forms.DockStyle.Fill; |
138 |
this.selectImage.Location = new System.Drawing.Point(3, 123);
|
|
156 |
this.selectImage.Location = new System.Drawing.Point(3, 141);
|
|
139 | 157 |
this.selectImage.Name = "selectImage"; |
140 | 158 |
this.selectImage.ShowBorder = true; |
141 |
this.selectImage.Size = new System.Drawing.Size(236, 244);
|
|
159 |
this.selectImage.Size = new System.Drawing.Size(236, 338);
|
|
142 | 160 |
this.selectImage.TabIndex = 3; |
143 | 161 |
// |
144 |
// lstImages |
|
162 |
// lstToImages
|
|
145 | 163 |
// |
146 |
this.lstImages.AllowArbitraryItemHeight = true; |
|
147 |
this.lstImages.AllowArbitraryItemWidth = true; |
|
148 |
this.lstImages.Dock = System.Windows.Forms.DockStyle.Fill; |
|
149 |
this.lstImages.FullRowSelect = false; |
|
150 |
this.lstImages.ItemSize = new System.Drawing.Size(57, 57); |
|
151 |
this.lstImages.Location = new System.Drawing.Point(3, 33); |
|
152 |
this.lstImages.Name = "lstImages"; |
|
153 |
this.lstImages.ShowItemToolTips = false; |
|
154 |
this.lstImages.Size = new System.Drawing.Size(236, 84); |
|
155 |
this.lstImages.TabIndex = 4; |
|
156 |
this.lstImages.ViewType = Telerik.WinControls.UI.ListViewType.IconsView; |
|
164 |
this.lstToImages.AllowArbitraryItemHeight = true; |
|
165 |
this.lstToImages.Dock = System.Windows.Forms.DockStyle.Fill; |
|
166 |
this.lstToImages.FullRowSelect = false; |
|
167 |
this.lstToImages.ItemSize = new System.Drawing.Size(57, 57); |
|
168 |
this.lstToImages.Location = new System.Drawing.Point(3, 21); |
|
169 |
this.lstToImages.Name = "lstToImages"; |
|
170 |
this.lstToImages.ShowItemToolTips = false; |
|
171 |
this.lstToImages.Size = new System.Drawing.Size(236, 54); |
|
172 |
this.lstToImages.TabIndex = 4; |
|
173 |
this.lstToImages.ViewType = Telerik.WinControls.UI.ListViewType.IconsView; |
|
157 | 174 |
// |
158 | 175 |
// BriefAndImages |
159 | 176 |
// |
... | ... | |
165 | 182 |
this.DoubleBuffered = true; |
166 | 183 |
this.MinimumSize = new System.Drawing.Size(150, 200); |
167 | 184 |
this.Name = "BriefAndImages"; |
168 |
this.Size = new System.Drawing.Size(248, 483);
|
|
185 |
this.Size = new System.Drawing.Size(248, 595);
|
|
169 | 186 |
this.LayoutRoot.ResumeLayout(false); |
170 | 187 |
this.LayoutBrief.ResumeLayout(false); |
171 | 188 |
this.LayoutBrief.PerformLayout(); |
172 | 189 |
((System.ComponentModel.ISupportInitialize)(this.txtBrief)).EndInit(); |
173 | 190 |
this.LayoutImages.ResumeLayout(false); |
174 | 191 |
this.LayoutImages.PerformLayout(); |
192 |
((System.ComponentModel.ISupportInitialize)(this.lstFrImages)).EndInit(); |
|
175 | 193 |
((System.ComponentModel.ISupportInitialize)(this.selectImage)).EndInit(); |
176 |
((System.ComponentModel.ISupportInitialize)(this.lstImages)).EndInit(); |
|
194 |
((System.ComponentModel.ISupportInitialize)(this.lstToImages)).EndInit();
|
|
177 | 195 |
this.ResumeLayout(false); |
178 | 196 |
this.PerformLayout(); |
179 | 197 |
|
... | ... | |
188 | 206 |
private Telerik.WinControls.UI.RadTextBox txtBrief; |
189 | 207 |
private System.Windows.Forms.Label label1; |
190 | 208 |
private Telerik.WinControls.UI.RadPictureBox selectImage; |
191 |
private Telerik.WinControls.UI.RadListView lstImages; |
|
209 |
private Telerik.WinControls.UI.RadListView lstToImages; |
|
210 |
private Telerik.WinControls.UI.RadListView lstFrImages; |
|
192 | 211 |
} |
193 | 212 |
} |
ID2.Manager/ID2.Manager/Controls/BriefAndImages.cs | ||
---|---|---|
3 | 3 |
using System.ComponentModel; |
4 | 4 |
using System.Data; |
5 | 5 |
using System.Drawing; |
6 |
using System.IO; |
|
6 | 7 |
using System.Linq; |
7 | 8 |
using System.Text; |
8 | 9 |
using System.Threading.Tasks; |
... | ... | |
12 | 13 |
|
13 | 14 |
namespace ID2.Manager.Controls |
14 | 15 |
{ |
16 |
|
|
15 | 17 |
public partial class BriefAndImages : UserControl |
16 | 18 |
{ |
17 | 19 |
public BriefAndImages() |
18 | 20 |
{ |
19 | 21 |
InitializeComponent(); |
22 |
|
|
23 |
txtBrief.DataBindings.Add(new Binding("Text", this, "Brief",false,DataSourceUpdateMode.OnPropertyChanged)); |
|
20 | 24 |
|
21 |
lstImages.ListViewElement.ViewElement.Orientation = Orientation.Vertical; |
|
25 |
lstToImages.ListViewElement.ViewElement.Orientation = Orientation.Horizontal; |
|
26 |
lstFrImages.ListViewElement.ViewElement.Orientation = Orientation.Horizontal; |
|
22 | 27 |
|
23 | 28 |
selectImage.ContextMenuOpened += SelectImage_ContextMenuOpened; |
24 | 29 |
selectImage.MouseWheel += SelectImage_MouseWheel; |
25 |
lstImages.SelectedItemChanged += LstImages_SelectedItemChanged; |
|
26 |
lstImages.VisualItemFormatting += LstImages_VisualItemFormatting; |
|
30 |
|
|
31 |
lstToImages.SelectedItemChanged += LstImages_SelectedItemChanged; |
|
32 |
lstToImages.VisualItemFormatting += LstImages_VisualItemFormatting; |
|
33 |
lstFrImages.SelectedItemChanged += LstImages_SelectedItemChanged; |
|
34 |
lstFrImages.VisualItemFormatting += LstImages_VisualItemFormatting; |
|
27 | 35 |
} |
28 | 36 |
|
37 |
public event PropertyChangedEventHandler PropertyChanged; |
|
38 |
|
|
29 | 39 |
private void LstImages_VisualItemFormatting(object sender, ListViewVisualItemEventArgs e) |
30 | 40 |
{ |
31 | 41 |
e.VisualItem.ImageLayout = ImageLayout.Stretch; |
... | ... | |
33 | 43 |
|
34 | 44 |
private void LstImages_SelectedItemChanged(object sender, EventArgs e) |
35 | 45 |
{ |
46 |
var lstImages = sender as RadListViewElement; |
|
47 |
|
|
36 | 48 |
if (lstImages.SelectedItem?.Image != null) |
37 | 49 |
{ |
38 | 50 |
selectImage.Image = lstImages.SelectedItem.Image; |
... | ... | |
61 | 73 |
selectImage.ContextMenuProperties.EditItem.Visibility = ElementVisibility.Collapsed; |
62 | 74 |
} |
63 | 75 |
|
64 |
public void SetImages(List<System.Drawing.Image> images)
|
|
76 |
public void SetToImages(List<Byte[]> images)
|
|
65 | 77 |
{ |
66 |
lstImages.Items.Clear(); |
|
78 |
foreach (var image in images) |
|
79 |
{ |
|
80 |
ListViewDataItem item = new ListViewDataItem(Guid.NewGuid().ToString()); |
|
81 |
item.ImageAlignment = ContentAlignment.MiddleCenter; |
|
82 |
item.Text = ""; |
|
83 |
item.Image = GetImage(image); |
|
84 |
item.TextImageRelation = TextImageRelation.Overlay; |
|
85 |
lstToImages.Items.Add(item); |
|
86 |
} |
|
67 | 87 |
|
88 |
if (images?.Count() > 0) |
|
89 |
{ |
|
90 |
lstToImages.SelectedIndex = 0; |
|
91 |
} |
|
92 |
} |
|
93 |
|
|
94 |
public void SetFrImages(List<Byte[]> images) |
|
95 |
{ |
|
68 | 96 |
foreach (var image in images) |
69 | 97 |
{ |
70 | 98 |
ListViewDataItem item = new ListViewDataItem(Guid.NewGuid().ToString()); |
71 | 99 |
item.ImageAlignment = ContentAlignment.MiddleCenter; |
72 | 100 |
item.Text = ""; |
73 |
item.Image = image;
|
|
101 |
item.Image = GetImage(image);
|
|
74 | 102 |
item.TextImageRelation = TextImageRelation.Overlay; |
75 |
lstImages.Items.Add(item); |
|
103 |
lstFrImages.Items.Add(item); |
|
104 |
} |
|
105 |
|
|
106 |
if (images?.Count() > 0) |
|
107 |
{ |
|
108 |
lstFrImages.SelectedIndex = 0; |
|
76 | 109 |
} |
77 | 110 |
} |
78 | 111 |
|
112 |
public void Clear() |
|
113 |
{ |
|
114 |
this.DataBindings.Clear(); |
|
115 |
lstFrImages.Items.Clear(); |
|
116 |
lstToImages.Items.Clear(); |
|
117 |
selectImage.Image = null; |
|
118 |
Brief = ""; |
|
119 |
} |
|
120 |
|
|
121 |
private string brief; |
|
79 | 122 |
public string Brief |
80 |
{ |
|
81 |
get => txtBrief.Text; set => txtBrief.Text = value; |
|
123 |
{ |
|
124 |
get { return brief; } |
|
125 |
set |
|
126 |
{ |
|
127 |
if (brief != value) |
|
128 |
{ |
|
129 |
brief = value; |
|
130 |
var propArg = new PropertyChangedEventArgs(nameof(Brief)); |
|
131 |
PropertyChanged?.Invoke(this, propArg); |
|
132 |
} |
|
133 |
} |
|
134 |
} |
|
135 |
|
|
136 |
private System.Drawing.Image GetImage(byte[] data) |
|
137 |
{ |
|
138 |
System.Drawing.Image result = null; |
|
139 |
|
|
140 |
using (MemoryStream ms = new MemoryStream(data)) |
|
141 |
{ |
|
142 |
result = System.Drawing.Image.FromStream(ms); |
|
143 |
} |
|
144 |
|
|
145 |
return result; |
|
146 |
} |
|
147 |
|
|
148 |
private void txtBrief_TextChanged(object sender, EventArgs e) |
|
149 |
{ |
|
150 |
Brief = txtBrief.Text; |
|
82 | 151 |
} |
83 | 152 |
} |
84 | 153 |
} |
ID2.Manager/ID2.Manager/Main.Designer.cs | ||
---|---|---|
244 | 244 |
// |
245 | 245 |
this.ID2ManagerRadRibbonBar.ApplicationMenuStyle = Telerik.WinControls.UI.ApplicationMenuStyle.BackstageView; |
246 | 246 |
this.ID2ManagerRadRibbonBar.BackstageControl = this.radRibbonBarBackstageViewID2Manager; |
247 |
this.ID2ManagerRadRibbonBar.CloseButton = false; |
|
247 | 248 |
this.ID2ManagerRadRibbonBar.CommandTabs.AddRange(new Telerik.WinControls.RadItem[] { |
248 | 249 |
this.ribbonTabHome, |
249 | 250 |
this.ribbonTabProjMgt}); |
... | ... | |
438 | 439 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); |
439 | 440 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F)); |
440 | 441 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); |
441 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 125F));
|
|
442 |
this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 141F));
|
|
442 | 443 |
this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListFrReviewStatus, 4, 1); |
443 | 444 |
this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListToIsDiscussion, 2, 1); |
444 | 445 |
this.tableLayoutPanelCondition.Controls.Add(this.radLabelFrReviewStatus, 3, 1); |
... | ... | |
488 | 489 |
this.radDropDownListFrReviewStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
489 | 490 |
this.radDropDownListFrReviewStatus.DropDownAnimationEnabled = true; |
490 | 491 |
this.radDropDownListFrReviewStatus.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
491 |
this.radDropDownListFrReviewStatus.Location = new System.Drawing.Point(351, 34);
|
|
492 |
this.radDropDownListFrReviewStatus.Location = new System.Drawing.Point(347, 34);
|
|
492 | 493 |
this.radDropDownListFrReviewStatus.Name = "radDropDownListFrReviewStatus"; |
493 |
this.radDropDownListFrReviewStatus.Size = new System.Drawing.Size(112, 20);
|
|
494 |
this.radDropDownListFrReviewStatus.Size = new System.Drawing.Size(108, 20);
|
|
494 | 495 |
this.radDropDownListFrReviewStatus.TabIndex = 18; |
495 | 496 |
// |
496 | 497 |
// radDropDownListToIsDiscussion |
... | ... | |
500 | 501 |
this.radDropDownListToIsDiscussion.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
501 | 502 |
this.radDropDownListToIsDiscussion.Location = new System.Drawing.Point(146, 34); |
502 | 503 |
this.radDropDownListToIsDiscussion.Name = "radDropDownListToIsDiscussion"; |
503 |
this.radDropDownListToIsDiscussion.Size = new System.Drawing.Size(112, 20);
|
|
504 |
this.radDropDownListToIsDiscussion.Size = new System.Drawing.Size(108, 20);
|
|
504 | 505 |
this.radDropDownListToIsDiscussion.TabIndex = 17; |
505 | 506 |
// |
506 | 507 |
// radLabelFrReviewStatus |
507 | 508 |
// |
508 | 509 |
this.radLabelFrReviewStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
509 | 510 |
this.radLabelFrReviewStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
510 |
this.radLabelFrReviewStatus.Location = new System.Drawing.Point(265, 35);
|
|
511 |
this.radLabelFrReviewStatus.Location = new System.Drawing.Point(261, 35);
|
|
511 | 512 |
this.radLabelFrReviewStatus.Name = "radLabelFrReviewStatus"; |
512 | 513 |
this.radLabelFrReviewStatus.Size = new System.Drawing.Size(59, 17); |
513 | 514 |
this.radLabelFrReviewStatus.TabIndex = 7; |
... | ... | |
537 | 538 |
// |
538 | 539 |
this.radLabelAVEVAStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
539 | 540 |
this.radLabelAVEVAStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
540 |
this.radLabelAVEVAStatus.Location = new System.Drawing.Point(265, 64);
|
|
541 |
this.radLabelAVEVAStatus.Location = new System.Drawing.Point(261, 64);
|
|
541 | 542 |
this.radLabelAVEVAStatus.Name = "radLabelAVEVAStatus"; |
542 | 543 |
this.radLabelAVEVAStatus.Size = new System.Drawing.Size(86, 17); |
543 | 544 |
this.radLabelAVEVAStatus.TabIndex = 8; |
... | ... | |
547 | 548 |
// |
548 | 549 |
this.radLabelIsID2Work.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
549 | 550 |
this.radLabelIsID2Work.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
550 |
this.radLabelIsID2Work.Location = new System.Drawing.Point(470, 35);
|
|
551 |
this.radLabelIsID2Work.Location = new System.Drawing.Point(462, 35);
|
|
551 | 552 |
this.radLabelIsID2Work.Name = "radLabelIsID2Work"; |
552 | 553 |
this.radLabelIsID2Work.Size = new System.Drawing.Size(80, 17); |
553 | 554 |
this.radLabelIsID2Work.TabIndex = 6; |
... | ... | |
557 | 558 |
// |
558 | 559 |
this.radLabelJobLevel.Anchor = System.Windows.Forms.AnchorStyles.Left; |
559 | 560 |
this.radLabelJobLevel.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
560 |
this.radLabelJobLevel.Location = new System.Drawing.Point(470, 6);
|
|
561 |
this.radLabelJobLevel.Location = new System.Drawing.Point(462, 6);
|
|
561 | 562 |
this.radLabelJobLevel.Name = "radLabelJobLevel"; |
562 | 563 |
this.radLabelJobLevel.Size = new System.Drawing.Size(47, 17); |
563 | 564 |
this.radLabelJobLevel.TabIndex = 7; |
... | ... | |
608 | 609 |
this.radButtonSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); |
609 | 610 |
this.radButtonSearch.Cursor = System.Windows.Forms.Cursors.WaitCursor; |
610 | 611 |
this.radButtonSearch.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
611 |
this.radButtonSearch.Location = new System.Drawing.Point(914, 4);
|
|
612 |
this.radButtonSearch.Location = new System.Drawing.Point(906, 4);
|
|
612 | 613 |
this.radButtonSearch.Name = "radButtonSearch"; |
613 | 614 |
this.tableLayoutPanelCondition.SetRowSpan(this.radButtonSearch, 5); |
614 | 615 |
this.radButtonSearch.Size = new System.Drawing.Size(54, 136); |
... | ... | |
622 | 623 |
this.radDropDownListProject.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
623 | 624 |
this.radDropDownListProject.Location = new System.Drawing.Point(146, 5); |
624 | 625 |
this.radDropDownListProject.Name = "radDropDownListProject"; |
625 |
this.radDropDownListProject.Size = new System.Drawing.Size(112, 20);
|
|
626 |
this.radDropDownListProject.Size = new System.Drawing.Size(108, 20);
|
|
626 | 627 |
this.radDropDownListProject.TabIndex = 7; |
627 | 628 |
// |
628 | 629 |
// radLabelDocumentNo |
629 | 630 |
// |
630 | 631 |
this.radLabelDocumentNo.Anchor = System.Windows.Forms.AnchorStyles.Left; |
631 | 632 |
this.radLabelDocumentNo.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
632 |
this.radLabelDocumentNo.Location = new System.Drawing.Point(675, 6);
|
|
633 |
this.radLabelDocumentNo.Location = new System.Drawing.Point(663, 6);
|
|
633 | 634 |
this.radLabelDocumentNo.Name = "radLabelDocumentNo"; |
634 | 635 |
this.radLabelDocumentNo.Size = new System.Drawing.Size(49, 17); |
635 | 636 |
this.radLabelDocumentNo.TabIndex = 6; |
... | ... | |
638 | 639 |
// radTextBoxDocumentNo |
639 | 640 |
// |
640 | 641 |
this.radTextBoxDocumentNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
641 |
this.radTextBoxDocumentNo.Location = new System.Drawing.Point(761, 5);
|
|
642 |
this.radTextBoxDocumentNo.Location = new System.Drawing.Point(749, 5);
|
|
642 | 643 |
this.radTextBoxDocumentNo.Name = "radTextBoxDocumentNo"; |
643 |
this.radTextBoxDocumentNo.Size = new System.Drawing.Size(112, 20);
|
|
644 |
this.radTextBoxDocumentNo.Size = new System.Drawing.Size(108, 20);
|
|
644 | 645 |
this.radTextBoxDocumentNo.TabIndex = 8; |
645 | 646 |
// |
646 | 647 |
// radLabelPersonInCharge |
647 | 648 |
// |
648 | 649 |
this.radLabelPersonInCharge.Anchor = System.Windows.Forms.AnchorStyles.Left; |
649 | 650 |
this.radLabelPersonInCharge.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
650 |
this.radLabelPersonInCharge.Location = new System.Drawing.Point(265, 6);
|
|
651 |
this.radLabelPersonInCharge.Location = new System.Drawing.Point(261, 6);
|
|
651 | 652 |
this.radLabelPersonInCharge.Name = "radLabelPersonInCharge"; |
652 | 653 |
this.radLabelPersonInCharge.Size = new System.Drawing.Size(47, 17); |
653 | 654 |
this.radLabelPersonInCharge.TabIndex = 6; |
... | ... | |
658 | 659 |
this.radDropDownListPersonInCharge.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
659 | 660 |
this.radDropDownListPersonInCharge.DropDownAnimationEnabled = true; |
660 | 661 |
this.radDropDownListPersonInCharge.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
661 |
this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(351, 5);
|
|
662 |
this.radDropDownListPersonInCharge.Location = new System.Drawing.Point(347, 5);
|
|
662 | 663 |
this.radDropDownListPersonInCharge.Name = "radDropDownListPersonInCharge"; |
663 |
this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(112, 20);
|
|
664 |
this.radDropDownListPersonInCharge.Size = new System.Drawing.Size(108, 20);
|
|
664 | 665 |
this.radDropDownListPersonInCharge.TabIndex = 9; |
665 | 666 |
// |
666 | 667 |
// radLabel1 |
... | ... | |
678 | 679 |
this.radDropDownListJobLevel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
679 | 680 |
this.radDropDownListJobLevel.DropDownAnimationEnabled = true; |
680 | 681 |
this.radDropDownListJobLevel.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
681 |
this.radDropDownListJobLevel.Location = new System.Drawing.Point(556, 5);
|
|
682 |
this.radDropDownListJobLevel.Location = new System.Drawing.Point(548, 5);
|
|
682 | 683 |
this.radDropDownListJobLevel.Name = "radDropDownListJobLevel"; |
683 |
this.radDropDownListJobLevel.Size = new System.Drawing.Size(112, 20);
|
|
684 |
this.radDropDownListJobLevel.Size = new System.Drawing.Size(108, 20);
|
|
684 | 685 |
this.radDropDownListJobLevel.TabIndex = 11; |
685 | 686 |
// |
686 | 687 |
// radLabelID2Status |
... | ... | |
697 | 698 |
// |
698 | 699 |
this.radLabel10.Anchor = System.Windows.Forms.AnchorStyles.Left; |
699 | 700 |
this.radLabel10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
700 |
this.radLabel10.Location = new System.Drawing.Point(265, 93);
|
|
701 |
this.radLabel10.Location = new System.Drawing.Point(261, 93);
|
|
701 | 702 |
this.radLabel10.Name = "radLabel10"; |
702 | 703 |
this.radLabel10.Size = new System.Drawing.Size(61, 17); |
703 | 704 |
this.radLabel10.TabIndex = 9; |
... | ... | |
708 | 709 |
this.radDropDownListIsID2Work.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
709 | 710 |
this.radDropDownListIsID2Work.DropDownAnimationEnabled = true; |
710 | 711 |
this.radDropDownListIsID2Work.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
711 |
this.radDropDownListIsID2Work.Location = new System.Drawing.Point(556, 34);
|
|
712 |
this.radDropDownListIsID2Work.Location = new System.Drawing.Point(548, 34);
|
|
712 | 713 |
this.radDropDownListIsID2Work.Name = "radDropDownListIsID2Work"; |
713 |
this.radDropDownListIsID2Work.Size = new System.Drawing.Size(112, 20);
|
|
714 |
this.radDropDownListIsID2Work.Size = new System.Drawing.Size(108, 20);
|
|
714 | 715 |
this.radDropDownListIsID2Work.TabIndex = 12; |
715 | 716 |
// |
716 | 717 |
// radDropDownListID2Status |
... | ... | |
720 | 721 |
this.radDropDownListID2Status.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
721 | 722 |
this.radDropDownListID2Status.Location = new System.Drawing.Point(146, 63); |
722 | 723 |
this.radDropDownListID2Status.Name = "radDropDownListID2Status"; |
723 |
this.radDropDownListID2Status.Size = new System.Drawing.Size(112, 20);
|
|
724 |
this.radDropDownListID2Status.Size = new System.Drawing.Size(108, 20);
|
|
724 | 725 |
this.radDropDownListID2Status.TabIndex = 13; |
725 | 726 |
// |
726 | 727 |
// radDropDownListAVEVAStatus |
... | ... | |
728 | 729 |
this.radDropDownListAVEVAStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
729 | 730 |
this.radDropDownListAVEVAStatus.DropDownAnimationEnabled = true; |
730 | 731 |
this.radDropDownListAVEVAStatus.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
731 |
this.radDropDownListAVEVAStatus.Location = new System.Drawing.Point(351, 63);
|
|
732 |
this.radDropDownListAVEVAStatus.Location = new System.Drawing.Point(347, 63);
|
|
732 | 733 |
this.radDropDownListAVEVAStatus.Name = "radDropDownListAVEVAStatus"; |
733 |
this.radDropDownListAVEVAStatus.Size = new System.Drawing.Size(112, 20);
|
|
734 |
this.radDropDownListAVEVAStatus.Size = new System.Drawing.Size(108, 20);
|
|
734 | 735 |
this.radDropDownListAVEVAStatus.TabIndex = 14; |
735 | 736 |
// |
736 | 737 |
// radDropDownListProdIsResult |
... | ... | |
740 | 741 |
this.radDropDownListProdIsResult.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
741 | 742 |
this.radDropDownListProdIsResult.Location = new System.Drawing.Point(146, 92); |
742 | 743 |
this.radDropDownListProdIsResult.Name = "radDropDownListProdIsResult"; |
743 |
this.radDropDownListProdIsResult.Size = new System.Drawing.Size(112, 20);
|
|
744 |
this.radDropDownListProdIsResult.Size = new System.Drawing.Size(108, 20);
|
|
744 | 745 |
this.radDropDownListProdIsResult.TabIndex = 15; |
745 | 746 |
// |
746 | 747 |
// radDropDownListClientIsResult |
... | ... | |
748 | 749 |
this.radDropDownListClientIsResult.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
749 | 750 |
this.radDropDownListClientIsResult.DropDownAnimationEnabled = true; |
750 | 751 |
this.radDropDownListClientIsResult.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
751 |
this.radDropDownListClientIsResult.Location = new System.Drawing.Point(351, 92);
|
|
752 |
this.radDropDownListClientIsResult.Location = new System.Drawing.Point(347, 92);
|
|
752 | 753 |
this.radDropDownListClientIsResult.Name = "radDropDownListClientIsResult"; |
753 |
this.radDropDownListClientIsResult.Size = new System.Drawing.Size(112, 20);
|
|
754 |
this.radDropDownListClientIsResult.Size = new System.Drawing.Size(108, 20);
|
|
754 | 755 |
this.radDropDownListClientIsResult.TabIndex = 16; |
755 | 756 |
// |
756 | 757 |
// radLabel6 |
... | ... | |
767 | 768 |
// |
768 | 769 |
this.radLabel7.Anchor = System.Windows.Forms.AnchorStyles.Left; |
769 | 770 |
this.radLabel7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
770 |
this.radLabel7.Location = new System.Drawing.Point(265, 121);
|
|
771 |
this.radLabel7.Location = new System.Drawing.Point(261, 121);
|
|
771 | 772 |
this.radLabel7.Name = "radLabel7"; |
772 | 773 |
this.radLabel7.Size = new System.Drawing.Size(72, 17); |
773 | 774 |
this.radLabel7.TabIndex = 12; |
... | ... | |
790 | 791 |
this.radDropDownListGateway.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
791 | 792 |
this.radDropDownListGateway.Location = new System.Drawing.Point(146, 120); |
792 | 793 |
this.radDropDownListGateway.Name = "radDropDownListGateway"; |
793 |
this.radDropDownListGateway.Size = new System.Drawing.Size(112, 20);
|
|
794 |
this.radDropDownListGateway.Size = new System.Drawing.Size(108, 20);
|
|
794 | 795 |
this.radDropDownListGateway.TabIndex = 19; |
795 | 796 |
// |
796 | 797 |
// radDropDownListRegistration |
... | ... | |
798 | 799 |
this.radDropDownListRegistration.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); |
799 | 800 |
this.radDropDownListRegistration.DropDownAnimationEnabled = true; |
800 | 801 |
this.radDropDownListRegistration.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; |
801 |
this.radDropDownListRegistration.Location = new System.Drawing.Point(351, 120);
|
|
802 |
this.radDropDownListRegistration.Location = new System.Drawing.Point(347, 120);
|
|
802 | 803 |
this.radDropDownListRegistration.Name = "radDropDownListRegistration"; |
803 |
this.radDropDownListRegistration.Size = new System.Drawing.Size(112, 20);
|
|
804 |
this.radDropDownListRegistration.Size = new System.Drawing.Size(108, 20);
|
|
804 | 805 |
this.radDropDownListRegistration.TabIndex = 20; |
805 | 806 |
// |
806 | 807 |
// tableLayoutPanelGroup |
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
196 | 196 |
// cell.ReadOnly = true; |
197 | 197 |
// } |
198 | 198 |
//} |
199 |
|
|
200 |
briefAndImagesReview.Brief = doc.ToRemarks; |
|
199 |
|
|
200 |
briefAndImagesReview.Clear(); |
|
201 |
briefAndImagesValidation.Clear(); |
|
202 |
|
|
203 |
//FrRemarks 추가 |
|
204 |
|
|
205 |
briefAndImagesReview.DataBindings.Add(new Binding("Brief", doc, "ToRemarks", false, DataSourceUpdateMode.OnValidation, null)); |
|
206 |
briefAndImagesValidation.DataBindings.Add(new Binding("Brief",doc, "ClientRemarks", false,DataSourceUpdateMode.OnValidation,null)); |
|
207 |
|
|
208 |
if (doc.AttFiles != null) |
|
209 |
{ |
|
210 |
if (doc.AttFiles.Count(x => x.Category == "toreview") > 0) |
|
211 |
{ |
|
212 |
var images = doc.AttFiles.Where(x => x.Category == "toreview").Select(x => x.FileData); |
|
213 |
briefAndImagesReview.SetToImages(images.ToList()); |
|
214 |
} |
|
215 |
|
|
216 |
if (doc.AttFiles.Count(x => x.Category == "frreview") > 0) |
|
217 |
{ |
|
218 |
var images = doc.AttFiles.Where(x => x.Category == "frreview").Select(x => x.FileData); |
|
219 |
briefAndImagesReview.SetFrImages(images.ToList()); |
|
220 |
} |
|
221 |
|
|
222 |
if (doc.AttFiles.Count(x => x.Category == "prodvalidation") > 0) |
|
223 |
{ |
|
224 |
var images = doc.AttFiles.Where(x => x.Category == "prodvalidation").Select(x => x.FileData); |
|
225 |
briefAndImagesValidation.SetToImages(images.ToList()); |
|
226 |
} |
|
227 |
|
|
228 |
if (doc.AttFiles.Count(x => x.Category == "clientvalidation") > 0) |
|
229 |
{ |
|
230 |
var images = doc.AttFiles.Where(x => x.Category == "clientvalidation").Select(x => x.FileData); |
|
231 |
briefAndImagesValidation.SetFrImages(images.ToList()); |
|
232 |
} |
|
233 |
} |
|
201 | 234 |
} |
202 | 235 |
} |
203 | 236 |
|
... | ... | |
1113 | 1146 |
this.documents.AddRange(result.documents); |
1114 | 1147 |
if (this.orgDocuments == null) this.orgDocuments = new List<Documents>(); |
1115 | 1148 |
this.DocumentListBinding(); |
1116 |
briefAndImagesReview.SetImages(this.importImages); |
|
1149 |
//briefAndImagesReview.SetImages(this.importImages);
|
|
1117 | 1150 |
} |
1118 | 1151 |
|
1119 | 1152 |
} |
내보내기 Unified diff