Explorar el Código

Allow print form to grow so that it doesn't hide the buttons.

Brett Credo hace 8 años
padre
commit
3389b06f90
Se han modificado 1 ficheros con 61 adiciones y 40 borrados
  1. 61 40
      BulkPrinting/BulkPrinting/PrintForm.Designer.cs

+ 61 - 40
BulkPrinting/BulkPrinting/PrintForm.Designer.cs

@@ -55,9 +55,10 @@
55 55
             // 
56 56
             this.lblPrintDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
57 57
             this.lblPrintDescription.ForeColor = System.Drawing.Color.White;
58
-            this.lblPrintDescription.Location = new System.Drawing.Point(13, 13);
58
+            this.lblPrintDescription.Location = new System.Drawing.Point(17, 16);
59
+            this.lblPrintDescription.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
59 60
             this.lblPrintDescription.Name = "lblPrintDescription";
60
-            this.lblPrintDescription.Size = new System.Drawing.Size(259, 23);
61
+            this.lblPrintDescription.Size = new System.Drawing.Size(345, 28);
61 62
             this.lblPrintDescription.TabIndex = 1;
62 63
             this.lblPrintDescription.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
63 64
             this.lblPrintDescription.Click += new System.EventHandler(this.lblPrintDescription_Click);
@@ -66,9 +67,10 @@
66 67
             // 
67 68
             this.label1.AutoSize = true;
68 69
             this.label1.ForeColor = System.Drawing.Color.White;
69
-            this.label1.Location = new System.Drawing.Point(78, 56);
70
+            this.label1.Location = new System.Drawing.Point(104, 69);
71
+            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
70 72
             this.label1.Name = "label1";
71
-            this.label1.Size = new System.Drawing.Size(93, 13);
73
+            this.label1.Size = new System.Drawing.Size(123, 17);
72 74
             this.label1.TabIndex = 2;
73 75
             this.label1.Text = "Batch Order Date:";
74 76
             // 
@@ -76,9 +78,10 @@
76 78
             // 
77 79
             this.label2.AutoSize = true;
78 80
             this.label2.ForeColor = System.Drawing.Color.White;
79
-            this.label2.Location = new System.Drawing.Point(15, 72);
81
+            this.label2.Location = new System.Drawing.Point(20, 89);
82
+            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
80 83
             this.label2.Name = "label2";
81
-            this.label2.Size = new System.Drawing.Size(157, 13);
84
+            this.label2.Size = new System.Drawing.Size(209, 17);
82 85
             this.label2.TabIndex = 3;
83 86
             this.label2.Text = "Unprinted Vouchers Remaining:";
84 87
             // 
@@ -86,9 +89,10 @@
86 89
             // 
87 90
             this.label3.AutoSize = true;
88 91
             this.label3.ForeColor = System.Drawing.Color.White;
89
-            this.label3.Location = new System.Drawing.Point(47, 87);
92
+            this.label3.Location = new System.Drawing.Point(63, 107);
93
+            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
90 94
             this.label3.Name = "label3";
91
-            this.label3.Size = new System.Drawing.Size(124, 13);
95
+            this.label3.Size = new System.Drawing.Size(163, 17);
92 96
             this.label3.TabIndex = 4;
93 97
             this.label3.Text = "Total Vouchers in Batch:";
94 98
             // 
@@ -96,9 +100,10 @@
96 100
             // 
97 101
             this.label4.AutoSize = true;
98 102
             this.label4.ForeColor = System.Drawing.Color.White;
99
-            this.label4.Location = new System.Drawing.Point(107, 102);
103
+            this.label4.Location = new System.Drawing.Point(143, 126);
104
+            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
100 105
             this.label4.Name = "label4";
101
-            this.label4.Size = new System.Drawing.Size(64, 13);
106
+            this.label4.Size = new System.Drawing.Size(83, 17);
102 107
             this.label4.TabIndex = 5;
103 108
             this.label4.Text = "Face Value:";
104 109
             // 
@@ -106,9 +111,10 @@
106 111
             // 
107 112
             this.label5.AutoSize = true;
108 113
             this.label5.ForeColor = System.Drawing.Color.White;
109
-            this.label5.Location = new System.Drawing.Point(94, 117);
114
+            this.label5.Location = new System.Drawing.Point(125, 144);
115
+            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
110 116
             this.label5.Name = "label5";
111
-            this.label5.Size = new System.Drawing.Size(77, 13);
117
+            this.label5.Size = new System.Drawing.Size(101, 17);
112 118
             this.label5.TabIndex = 6;
113 119
             this.label5.Text = "Voucher Type:";
114 120
             // 
@@ -116,54 +122,60 @@
116 122
             // 
117 123
             this.lblBatchOrderDate.AutoSize = true;
118 124
             this.lblBatchOrderDate.ForeColor = System.Drawing.Color.White;
119
-            this.lblBatchOrderDate.Location = new System.Drawing.Point(177, 56);
125
+            this.lblBatchOrderDate.Location = new System.Drawing.Point(236, 69);
126
+            this.lblBatchOrderDate.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
120 127
             this.lblBatchOrderDate.Name = "lblBatchOrderDate";
121
-            this.lblBatchOrderDate.Size = new System.Drawing.Size(0, 13);
128
+            this.lblBatchOrderDate.Size = new System.Drawing.Size(0, 17);
122 129
             this.lblBatchOrderDate.TabIndex = 7;
123 130
             // 
124 131
             // lblUnprintedVouchers
125 132
             // 
126 133
             this.lblUnprintedVouchers.AutoSize = true;
127 134
             this.lblUnprintedVouchers.ForeColor = System.Drawing.Color.White;
128
-            this.lblUnprintedVouchers.Location = new System.Drawing.Point(177, 72);
135
+            this.lblUnprintedVouchers.Location = new System.Drawing.Point(236, 89);
136
+            this.lblUnprintedVouchers.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
129 137
             this.lblUnprintedVouchers.Name = "lblUnprintedVouchers";
130
-            this.lblUnprintedVouchers.Size = new System.Drawing.Size(0, 13);
138
+            this.lblUnprintedVouchers.Size = new System.Drawing.Size(0, 17);
131 139
             this.lblUnprintedVouchers.TabIndex = 7;
132 140
             // 
133 141
             // lblTotalVouchers
134 142
             // 
135 143
             this.lblTotalVouchers.AutoSize = true;
136 144
             this.lblTotalVouchers.ForeColor = System.Drawing.Color.White;
137
-            this.lblTotalVouchers.Location = new System.Drawing.Point(177, 87);
145
+            this.lblTotalVouchers.Location = new System.Drawing.Point(236, 107);
146
+            this.lblTotalVouchers.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
138 147
             this.lblTotalVouchers.Name = "lblTotalVouchers";
139
-            this.lblTotalVouchers.Size = new System.Drawing.Size(0, 13);
148
+            this.lblTotalVouchers.Size = new System.Drawing.Size(0, 17);
140 149
             this.lblTotalVouchers.TabIndex = 7;
141 150
             // 
142 151
             // lblFaceValue
143 152
             // 
144 153
             this.lblFaceValue.AutoSize = true;
145 154
             this.lblFaceValue.ForeColor = System.Drawing.Color.White;
146
-            this.lblFaceValue.Location = new System.Drawing.Point(177, 102);
155
+            this.lblFaceValue.Location = new System.Drawing.Point(236, 126);
156
+            this.lblFaceValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
147 157
             this.lblFaceValue.Name = "lblFaceValue";
148
-            this.lblFaceValue.Size = new System.Drawing.Size(0, 13);
158
+            this.lblFaceValue.Size = new System.Drawing.Size(0, 17);
149 159
             this.lblFaceValue.TabIndex = 7;
150 160
             // 
151 161
             // lblVoucherType
152 162
             // 
153 163
             this.lblVoucherType.AutoSize = true;
154 164
             this.lblVoucherType.ForeColor = System.Drawing.Color.White;
155
-            this.lblVoucherType.Location = new System.Drawing.Point(177, 117);
165
+            this.lblVoucherType.Location = new System.Drawing.Point(236, 144);
166
+            this.lblVoucherType.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
156 167
             this.lblVoucherType.Name = "lblVoucherType";
157
-            this.lblVoucherType.Size = new System.Drawing.Size(0, 13);
168
+            this.lblVoucherType.Size = new System.Drawing.Size(0, 17);
158 169
             this.lblVoucherType.TabIndex = 7;
159 170
             // 
160 171
             // label6
161 172
             // 
162 173
             this.label6.AutoSize = true;
163 174
             this.label6.ForeColor = System.Drawing.Color.White;
164
-            this.label6.Location = new System.Drawing.Point(93, 41);
175
+            this.label6.Location = new System.Drawing.Point(124, 50);
176
+            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
165 177
             this.label6.Name = "label6";
166
-            this.label6.Size = new System.Drawing.Size(78, 13);
178
+            this.label6.Size = new System.Drawing.Size(102, 17);
167 179
             this.label6.TabIndex = 10;
168 180
             this.label6.Text = "Batch Number:";
169 181
             // 
@@ -171,9 +183,10 @@
171 183
             // 
172 184
             this.lblBatchNumber.AutoSize = true;
173 185
             this.lblBatchNumber.ForeColor = System.Drawing.Color.White;
174
-            this.lblBatchNumber.Location = new System.Drawing.Point(177, 41);
186
+            this.lblBatchNumber.Location = new System.Drawing.Point(236, 50);
187
+            this.lblBatchNumber.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
175 188
             this.lblBatchNumber.Name = "lblBatchNumber";
176
-            this.lblBatchNumber.Size = new System.Drawing.Size(0, 13);
189
+            this.lblBatchNumber.Size = new System.Drawing.Size(0, 17);
177 190
             this.lblBatchNumber.TabIndex = 11;
178 191
             // 
179 192
             // btnCancel
@@ -182,9 +195,10 @@
182 195
             this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;
183 196
             this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
184 197
             this.btnCancel.ForeColor = System.Drawing.Color.White;
185
-            this.btnCancel.Location = new System.Drawing.Point(50, 174);
198
+            this.btnCancel.Location = new System.Drawing.Point(67, 214);
199
+            this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
186 200
             this.btnCancel.Name = "btnCancel";
187
-            this.btnCancel.Size = new System.Drawing.Size(75, 23);
201
+            this.btnCancel.Size = new System.Drawing.Size(100, 28);
188 202
             this.btnCancel.TabIndex = 12;
189 203
             this.btnCancel.Text = "Cancel";
190 204
             this.btnCancel.UseVisualStyleBackColor = false;
@@ -196,9 +210,10 @@
196 210
             this.btnNext.FlatAppearance.BorderColor = System.Drawing.Color.Black;
197 211
             this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
198 212
             this.btnNext.ForeColor = System.Drawing.Color.White;
199
-            this.btnNext.Location = new System.Drawing.Point(177, 174);
213
+            this.btnNext.Location = new System.Drawing.Point(236, 214);
214
+            this.btnNext.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
200 215
             this.btnNext.Name = "btnNext";
201
-            this.btnNext.Size = new System.Drawing.Size(75, 23);
216
+            this.btnNext.Size = new System.Drawing.Size(100, 28);
202 217
             this.btnNext.TabIndex = 13;
203 218
             this.btnNext.Text = "Next";
204 219
             this.btnNext.UseVisualStyleBackColor = false;
@@ -208,26 +223,29 @@
208 223
             // 
209 224
             this.lblNumVouchers.AutoSize = true;
210 225
             this.lblNumVouchers.ForeColor = System.Drawing.Color.White;
211
-            this.lblNumVouchers.Location = new System.Drawing.Point(28, 149);
226
+            this.lblNumVouchers.Location = new System.Drawing.Point(37, 183);
227
+            this.lblNumVouchers.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
212 228
             this.lblNumVouchers.Name = "lblNumVouchers";
213
-            this.lblNumVouchers.Size = new System.Drawing.Size(143, 13);
229
+            this.lblNumVouchers.Size = new System.Drawing.Size(191, 17);
214 230
             this.lblNumVouchers.TabIndex = 16;
215 231
             this.lblNumVouchers.Text = "Number of Vouchers to Print:";
216 232
             // 
217 233
             // numNumVouchers
218 234
             // 
219
-            this.numNumVouchers.Location = new System.Drawing.Point(177, 147);
235
+            this.numNumVouchers.Location = new System.Drawing.Point(236, 181);
236
+            this.numNumVouchers.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
220 237
             this.numNumVouchers.Name = "numNumVouchers";
221
-            this.numNumVouchers.Size = new System.Drawing.Size(95, 20);
238
+            this.numNumVouchers.Size = new System.Drawing.Size(127, 22);
222 239
             this.numNumVouchers.TabIndex = 18;
223 240
             // 
224 241
             // label7
225 242
             // 
226 243
             this.label7.AutoSize = true;
227 244
             this.label7.ForeColor = System.Drawing.Color.White;
228
-            this.label7.Location = new System.Drawing.Point(121, 132);
245
+            this.label7.Location = new System.Drawing.Point(161, 162);
246
+            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
229 247
             this.label7.Name = "label7";
230
-            this.label7.Size = new System.Drawing.Size(50, 13);
248
+            this.label7.Size = new System.Drawing.Size(63, 17);
231 249
             this.label7.TabIndex = 6;
232 250
             this.label7.Text = "Network:";
233 251
             // 
@@ -235,17 +253,19 @@
235 253
             // 
236 254
             this.lblNetwork.AutoSize = true;
237 255
             this.lblNetwork.ForeColor = System.Drawing.Color.White;
238
-            this.lblNetwork.Location = new System.Drawing.Point(177, 132);
256
+            this.lblNetwork.Location = new System.Drawing.Point(236, 162);
257
+            this.lblNetwork.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
239 258
             this.lblNetwork.Name = "lblNetwork";
240
-            this.lblNetwork.Size = new System.Drawing.Size(0, 13);
259
+            this.lblNetwork.Size = new System.Drawing.Size(0, 17);
241 260
             this.lblNetwork.TabIndex = 7;
242 261
             // 
243 262
             // PrintForm
244 263
             // 
245
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
264
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
246 265
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
266
+            this.AutoSize = true;
247 267
             this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(63)))), ((int)(((byte)(145)))));
248
-            this.ClientSize = new System.Drawing.Size(284, 209);
268
+            this.ClientSize = new System.Drawing.Size(379, 257);
249 269
             this.ControlBox = false;
250 270
             this.Controls.Add(this.numNumVouchers);
251 271
             this.Controls.Add(this.lblNumVouchers);
@@ -269,6 +289,7 @@
269 289
             this.ForeColor = System.Drawing.Color.White;
270 290
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
271 291
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
292
+            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
272 293
             this.MaximizeBox = false;
273 294
             this.MinimizeBox = false;
274 295
             this.Name = "PrintForm";