Kaynağa Gözat

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

Brett Credo 8 yıl önce
ebeveyn
işleme
3389b06f90
1 değiştirilmiş dosya ile 61 ekleme ve 40 silme
  1. 61 40
      BulkPrinting/BulkPrinting/PrintForm.Designer.cs

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

55
             // 
55
             // 
56
             this.lblPrintDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
56
             this.lblPrintDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
57
             this.lblPrintDescription.ForeColor = System.Drawing.Color.White;
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
             this.lblPrintDescription.Name = "lblPrintDescription";
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
             this.lblPrintDescription.TabIndex = 1;
62
             this.lblPrintDescription.TabIndex = 1;
62
             this.lblPrintDescription.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
63
             this.lblPrintDescription.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
63
             this.lblPrintDescription.Click += new System.EventHandler(this.lblPrintDescription_Click);
64
             this.lblPrintDescription.Click += new System.EventHandler(this.lblPrintDescription_Click);
66
             // 
67
             // 
67
             this.label1.AutoSize = true;
68
             this.label1.AutoSize = true;
68
             this.label1.ForeColor = System.Drawing.Color.White;
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
             this.label1.Name = "label1";
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
             this.label1.TabIndex = 2;
74
             this.label1.TabIndex = 2;
73
             this.label1.Text = "Batch Order Date:";
75
             this.label1.Text = "Batch Order Date:";
74
             // 
76
             // 
76
             // 
78
             // 
77
             this.label2.AutoSize = true;
79
             this.label2.AutoSize = true;
78
             this.label2.ForeColor = System.Drawing.Color.White;
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
             this.label2.Name = "label2";
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
             this.label2.TabIndex = 3;
85
             this.label2.TabIndex = 3;
83
             this.label2.Text = "Unprinted Vouchers Remaining:";
86
             this.label2.Text = "Unprinted Vouchers Remaining:";
84
             // 
87
             // 
86
             // 
89
             // 
87
             this.label3.AutoSize = true;
90
             this.label3.AutoSize = true;
88
             this.label3.ForeColor = System.Drawing.Color.White;
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
             this.label3.Name = "label3";
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
             this.label3.TabIndex = 4;
96
             this.label3.TabIndex = 4;
93
             this.label3.Text = "Total Vouchers in Batch:";
97
             this.label3.Text = "Total Vouchers in Batch:";
94
             // 
98
             // 
96
             // 
100
             // 
97
             this.label4.AutoSize = true;
101
             this.label4.AutoSize = true;
98
             this.label4.ForeColor = System.Drawing.Color.White;
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
             this.label4.Name = "label4";
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
             this.label4.TabIndex = 5;
107
             this.label4.TabIndex = 5;
103
             this.label4.Text = "Face Value:";
108
             this.label4.Text = "Face Value:";
104
             // 
109
             // 
106
             // 
111
             // 
107
             this.label5.AutoSize = true;
112
             this.label5.AutoSize = true;
108
             this.label5.ForeColor = System.Drawing.Color.White;
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
             this.label5.Name = "label5";
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
             this.label5.TabIndex = 6;
118
             this.label5.TabIndex = 6;
113
             this.label5.Text = "Voucher Type:";
119
             this.label5.Text = "Voucher Type:";
114
             // 
120
             // 
116
             // 
122
             // 
117
             this.lblBatchOrderDate.AutoSize = true;
123
             this.lblBatchOrderDate.AutoSize = true;
118
             this.lblBatchOrderDate.ForeColor = System.Drawing.Color.White;
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
             this.lblBatchOrderDate.Name = "lblBatchOrderDate";
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
             this.lblBatchOrderDate.TabIndex = 7;
129
             this.lblBatchOrderDate.TabIndex = 7;
123
             // 
130
             // 
124
             // lblUnprintedVouchers
131
             // lblUnprintedVouchers
125
             // 
132
             // 
126
             this.lblUnprintedVouchers.AutoSize = true;
133
             this.lblUnprintedVouchers.AutoSize = true;
127
             this.lblUnprintedVouchers.ForeColor = System.Drawing.Color.White;
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
             this.lblUnprintedVouchers.Name = "lblUnprintedVouchers";
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
             this.lblUnprintedVouchers.TabIndex = 7;
139
             this.lblUnprintedVouchers.TabIndex = 7;
132
             // 
140
             // 
133
             // lblTotalVouchers
141
             // lblTotalVouchers
134
             // 
142
             // 
135
             this.lblTotalVouchers.AutoSize = true;
143
             this.lblTotalVouchers.AutoSize = true;
136
             this.lblTotalVouchers.ForeColor = System.Drawing.Color.White;
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
             this.lblTotalVouchers.Name = "lblTotalVouchers";
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
             this.lblTotalVouchers.TabIndex = 7;
149
             this.lblTotalVouchers.TabIndex = 7;
141
             // 
150
             // 
142
             // lblFaceValue
151
             // lblFaceValue
143
             // 
152
             // 
144
             this.lblFaceValue.AutoSize = true;
153
             this.lblFaceValue.AutoSize = true;
145
             this.lblFaceValue.ForeColor = System.Drawing.Color.White;
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
             this.lblFaceValue.Name = "lblFaceValue";
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
             this.lblFaceValue.TabIndex = 7;
159
             this.lblFaceValue.TabIndex = 7;
150
             // 
160
             // 
151
             // lblVoucherType
161
             // lblVoucherType
152
             // 
162
             // 
153
             this.lblVoucherType.AutoSize = true;
163
             this.lblVoucherType.AutoSize = true;
154
             this.lblVoucherType.ForeColor = System.Drawing.Color.White;
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
             this.lblVoucherType.Name = "lblVoucherType";
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
             this.lblVoucherType.TabIndex = 7;
169
             this.lblVoucherType.TabIndex = 7;
159
             // 
170
             // 
160
             // label6
171
             // label6
161
             // 
172
             // 
162
             this.label6.AutoSize = true;
173
             this.label6.AutoSize = true;
163
             this.label6.ForeColor = System.Drawing.Color.White;
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
             this.label6.Name = "label6";
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
             this.label6.TabIndex = 10;
179
             this.label6.TabIndex = 10;
168
             this.label6.Text = "Batch Number:";
180
             this.label6.Text = "Batch Number:";
169
             // 
181
             // 
171
             // 
183
             // 
172
             this.lblBatchNumber.AutoSize = true;
184
             this.lblBatchNumber.AutoSize = true;
173
             this.lblBatchNumber.ForeColor = System.Drawing.Color.White;
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
             this.lblBatchNumber.Name = "lblBatchNumber";
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
             this.lblBatchNumber.TabIndex = 11;
190
             this.lblBatchNumber.TabIndex = 11;
178
             // 
191
             // 
179
             // btnCancel
192
             // btnCancel
182
             this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;
195
             this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;
183
             this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
196
             this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
184
             this.btnCancel.ForeColor = System.Drawing.Color.White;
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
             this.btnCancel.Name = "btnCancel";
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
             this.btnCancel.TabIndex = 12;
202
             this.btnCancel.TabIndex = 12;
189
             this.btnCancel.Text = "Cancel";
203
             this.btnCancel.Text = "Cancel";
190
             this.btnCancel.UseVisualStyleBackColor = false;
204
             this.btnCancel.UseVisualStyleBackColor = false;
196
             this.btnNext.FlatAppearance.BorderColor = System.Drawing.Color.Black;
210
             this.btnNext.FlatAppearance.BorderColor = System.Drawing.Color.Black;
197
             this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
211
             this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
198
             this.btnNext.ForeColor = System.Drawing.Color.White;
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
             this.btnNext.Name = "btnNext";
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
             this.btnNext.TabIndex = 13;
217
             this.btnNext.TabIndex = 13;
203
             this.btnNext.Text = "Next";
218
             this.btnNext.Text = "Next";
204
             this.btnNext.UseVisualStyleBackColor = false;
219
             this.btnNext.UseVisualStyleBackColor = false;
208
             // 
223
             // 
209
             this.lblNumVouchers.AutoSize = true;
224
             this.lblNumVouchers.AutoSize = true;
210
             this.lblNumVouchers.ForeColor = System.Drawing.Color.White;
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
             this.lblNumVouchers.Name = "lblNumVouchers";
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
             this.lblNumVouchers.TabIndex = 16;
230
             this.lblNumVouchers.TabIndex = 16;
215
             this.lblNumVouchers.Text = "Number of Vouchers to Print:";
231
             this.lblNumVouchers.Text = "Number of Vouchers to Print:";
216
             // 
232
             // 
217
             // numNumVouchers
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
             this.numNumVouchers.Name = "numNumVouchers";
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
             this.numNumVouchers.TabIndex = 18;
239
             this.numNumVouchers.TabIndex = 18;
223
             // 
240
             // 
224
             // label7
241
             // label7
225
             // 
242
             // 
226
             this.label7.AutoSize = true;
243
             this.label7.AutoSize = true;
227
             this.label7.ForeColor = System.Drawing.Color.White;
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
             this.label7.Name = "label7";
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
             this.label7.TabIndex = 6;
249
             this.label7.TabIndex = 6;
232
             this.label7.Text = "Network:";
250
             this.label7.Text = "Network:";
233
             // 
251
             // 
235
             // 
253
             // 
236
             this.lblNetwork.AutoSize = true;
254
             this.lblNetwork.AutoSize = true;
237
             this.lblNetwork.ForeColor = System.Drawing.Color.White;
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
             this.lblNetwork.Name = "lblNetwork";
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
             this.lblNetwork.TabIndex = 7;
260
             this.lblNetwork.TabIndex = 7;
242
             // 
261
             // 
243
             // PrintForm
262
             // PrintForm
244
             // 
263
             // 
245
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
264
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
246
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
265
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
266
+            this.AutoSize = true;
247
             this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(7)))), ((int)(((byte)(63)))), ((int)(((byte)(145)))));
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
             this.ControlBox = false;
269
             this.ControlBox = false;
250
             this.Controls.Add(this.numNumVouchers);
270
             this.Controls.Add(this.numNumVouchers);
251
             this.Controls.Add(this.lblNumVouchers);
271
             this.Controls.Add(this.lblNumVouchers);
269
             this.ForeColor = System.Drawing.Color.White;
289
             this.ForeColor = System.Drawing.Color.White;
270
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
290
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
271
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
291
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
292
+            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
272
             this.MaximizeBox = false;
293
             this.MaximizeBox = false;
273
             this.MinimizeBox = false;
294
             this.MinimizeBox = false;
274
             this.Name = "PrintForm";
295
             this.Name = "PrintForm";