개정판 865a8d6d
issue #00000 brief 입력창 수정
Change-Id: I5c07bfbd84c5a3915275b5a6ee322733a388a15f
ID2.Manager/ID2.Manager/Controls/BriefAndImages.Designer.cs | ||
---|---|---|
65 | 65 |
this.LayoutRoot.Location = new System.Drawing.Point(0, 0); |
66 | 66 |
this.LayoutRoot.Name = "LayoutRoot"; |
67 | 67 |
this.LayoutRoot.RowCount = 3; |
68 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
69 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
68 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle()); |
|
69 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle()); |
|
70 | 70 |
this.LayoutRoot.RowStyles.Add(new System.Windows.Forms.RowStyle()); |
71 | 71 |
this.LayoutRoot.Size = new System.Drawing.Size(286, 570); |
72 | 72 |
this.LayoutRoot.TabIndex = 0; |
73 | 73 |
// |
74 | 74 |
// LayoutImages |
75 | 75 |
// |
76 |
this.LayoutImages.AutoSize = true; |
|
77 |
this.LayoutImages.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
|
76 | 78 |
this.LayoutImages.ColumnCount = 1; |
77 | 79 |
this.LayoutImages.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); |
78 | 80 |
this.LayoutImages.Controls.Add(this.label1, 0, 0); |
... | ... | |
94 | 96 |
this.label1.Location = new System.Drawing.Point(3, 3); |
95 | 97 |
this.label1.Margin = new System.Windows.Forms.Padding(3); |
96 | 98 |
this.label1.Name = "label1"; |
97 |
this.label1.Size = new System.Drawing.Size(67, 12);
|
|
99 |
this.label1.Size = new System.Drawing.Size(99, 12);
|
|
98 | 100 |
this.label1.TabIndex = 1; |
99 |
this.label1.Text = "- Images -";
|
|
101 |
this.label1.Text = "- Select Image -";
|
|
100 | 102 |
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
101 | 103 |
// |
102 | 104 |
// selectImage |
... | ... | |
110 | 112 |
// |
111 | 113 |
// LayoutDoftech |
112 | 114 |
// |
115 |
this.LayoutDoftech.AutoSize = true; |
|
116 |
this.LayoutDoftech.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
|
113 | 117 |
this.LayoutDoftech.ColumnCount = 1; |
114 | 118 |
this.LayoutDoftech.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); |
115 | 119 |
this.LayoutDoftech.Controls.Add(this.lbBrief, 0, 0); |
... | ... | |
154 | 158 |
this.txtBriefDoftech.ShowNullText = true; |
155 | 159 |
this.txtBriefDoftech.Size = new System.Drawing.Size(274, 21); |
156 | 160 |
this.txtBriefDoftech.TabIndex = 1; |
157 |
this.txtBriefDoftech.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtBriefDoftech_MouseDown); |
|
158 | 161 |
// |
159 | 162 |
// lstToImages |
160 | 163 |
// |
... | ... | |
171 | 174 |
// |
172 | 175 |
// LayoutSec |
173 | 176 |
// |
177 |
this.LayoutSec.AutoSize = true; |
|
178 |
this.LayoutSec.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
|
174 | 179 |
this.LayoutSec.ColumnCount = 1; |
175 | 180 |
this.LayoutSec.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); |
176 | 181 |
this.LayoutSec.Controls.Add(this.lstFrImages, 0, 2); |
... | ... | |
242 | 247 |
this.Name = "BriefAndImages"; |
243 | 248 |
this.Size = new System.Drawing.Size(286, 570); |
244 | 249 |
this.LayoutRoot.ResumeLayout(false); |
250 |
this.LayoutRoot.PerformLayout(); |
|
245 | 251 |
this.LayoutImages.ResumeLayout(false); |
246 | 252 |
this.LayoutImages.PerformLayout(); |
247 | 253 |
((System.ComponentModel.ISupportInitialize)(this.selectImage)).EndInit(); |
ID2.Manager/ID2.Manager/Controls/BriefAndImages.cs | ||
---|---|---|
24 | 24 |
|
25 | 25 |
txtBriefDoftech.DataBindings.Add(new Binding("Text", this, "BriefDoftech",false,DataSourceUpdateMode.OnPropertyChanged)); |
26 | 26 |
txtBriefSec.DataBindings.Add(new Binding("Text", this, "BriefSec", false, DataSourceUpdateMode.OnPropertyChanged)); |
27 |
txtBriefDoftech.TextBoxElement.TextBoxItem.MouseDown += TextBoxItemDoftech_MouseDown; |
|
28 |
txtBriefDoftech.TextBoxElement.TextBoxItem.LostFocus += TextBoxItemDoftech_LostFocus; |
|
29 |
|
|
30 |
txtBriefSec.TextBoxElement.TextBoxItem.MouseDown += TextBoxItemSec_MouseDown; |
|
31 |
txtBriefSec.TextBoxElement.TextBoxItem.LostFocus += TextBoxItemSec_LostFocus; |
|
27 | 32 |
|
28 | 33 |
lstToImages.ListViewElement.ViewElement.Orientation = Orientation.Horizontal; |
29 | 34 |
lstFrImages.ListViewElement.ViewElement.Orientation = Orientation.Horizontal; |
... | ... | |
35 | 40 |
lstToImages.VisualItemFormatting += LstImages_VisualItemFormatting; |
36 | 41 |
lstFrImages.SelectedItemChanged += LstImages_SelectedItemChanged; |
37 | 42 |
lstFrImages.VisualItemFormatting += LstImages_VisualItemFormatting; |
43 |
|
|
44 |
} |
|
45 |
|
|
46 |
private void TextBoxItemDoftech_LostFocus(object sender, EventArgs e) |
|
47 |
{ |
|
48 |
txtBriefDoftech.MinimumSize = new Size(0, TextMinHeight); |
|
49 |
|
|
50 |
LayoutDoftech.RowStyles[1].Height = 100; |
|
51 |
LayoutDoftech.RowStyles[1].SizeType = SizeType.Percent; |
|
52 |
} |
|
53 |
|
|
54 |
private void TextBoxItemDoftech_MouseDown(object sender, MouseEventArgs e) |
|
55 |
{ |
|
56 |
txtBriefDoftech.MinimumSize = new Size(0, 100); |
|
57 |
|
|
58 |
LayoutDoftech.RowStyles[1].Height = 100; |
|
59 |
LayoutDoftech.RowStyles[1].SizeType = SizeType.Absolute; |
|
60 |
} |
|
61 |
|
|
62 |
private void TextBoxItemSec_LostFocus(object sender, EventArgs e) |
|
63 |
{ |
|
64 |
|
|
65 |
txtBriefSec.MinimumSize = new Size(0, TextMinHeight); |
|
66 |
|
|
67 |
LayoutSec.RowStyles[1].Height = 100; |
|
68 |
LayoutSec.RowStyles[1].SizeType = SizeType.Percent; |
|
69 |
} |
|
70 |
|
|
71 |
private void TextBoxItemSec_MouseDown(object sender, MouseEventArgs e) |
|
72 |
{ |
|
73 |
txtBriefSec.MinimumSize = new Size(0, 100); |
|
74 |
|
|
75 |
LayoutSec.RowStyles[1].Height = 100; |
|
76 |
LayoutSec.RowStyles[1].SizeType = SizeType.Absolute; |
|
38 | 77 |
} |
39 | 78 |
|
40 | 79 |
public event PropertyChangedEventHandler PropertyChanged; |
... | ... | |
175 | 214 |
briefSec = txtBriefSec.Text; |
176 | 215 |
} |
177 | 216 |
|
178 |
private void txtBriefDoftech_MouseDown(object sender, MouseEventArgs e) |
|
179 |
{ |
|
180 |
txtBriefDoftech.MinimumSize = new Size(0, 100); |
|
181 |
//var txtBriefDoftech.Size.Height |
|
182 |
} |
|
183 | 217 |
} |
184 | 218 |
} |
내보내기 Unified diff