Fixed issues when running in windows 7 which doesn't seem to support padding properly, rejigged everything to be simpler
This commit is contained in:
22
AyaNovaQBI/SetQBInvoiceTemplate.Designer.cs
generated
22
AyaNovaQBI/SetQBInvoiceTemplate.Designer.cs
generated
@@ -38,7 +38,8 @@
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.Location = new System.Drawing.Point(550, 368);
|
||||
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnOK.Location = new System.Drawing.Point(546, 368);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 6;
|
||||
@@ -48,8 +49,9 @@
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(4, 368);
|
||||
this.btnCancel.Location = new System.Drawing.Point(16, 368);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 5;
|
||||
@@ -58,7 +60,6 @@
|
||||
//
|
||||
// lblTitle
|
||||
//
|
||||
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lblTitle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblTitle.Location = new System.Drawing.Point(16, 16);
|
||||
this.lblTitle.Name = "lblTitle";
|
||||
@@ -67,9 +68,8 @@
|
||||
//
|
||||
// lblDescription
|
||||
//
|
||||
this.lblDescription.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lblDescription.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblDescription.Location = new System.Drawing.Point(16, 46);
|
||||
this.lblDescription.Location = new System.Drawing.Point(16, 52);
|
||||
this.lblDescription.Name = "lblDescription";
|
||||
this.lblDescription.Size = new System.Drawing.Size(605, 165);
|
||||
this.lblDescription.TabIndex = 8;
|
||||
@@ -77,18 +77,17 @@
|
||||
// lblStatus
|
||||
//
|
||||
this.lblStatus.AutoSize = true;
|
||||
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lblStatus.Location = new System.Drawing.Point(16, 211);
|
||||
this.lblStatus.Location = new System.Drawing.Point(17, 233);
|
||||
this.lblStatus.Name = "lblStatus";
|
||||
this.lblStatus.Size = new System.Drawing.Size(0, 13);
|
||||
this.lblStatus.Size = new System.Drawing.Size(146, 13);
|
||||
this.lblStatus.TabIndex = 10;
|
||||
this.lblStatus.Text = "QuickBooks Invoice template";
|
||||
//
|
||||
// cbQBItems
|
||||
//
|
||||
this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cbQBItems.FormattingEnabled = true;
|
||||
this.cbQBItems.Location = new System.Drawing.Point(16, 224);
|
||||
this.cbQBItems.Location = new System.Drawing.Point(16, 252);
|
||||
this.cbQBItems.Name = "cbQBItems";
|
||||
this.cbQBItems.Size = new System.Drawing.Size(605, 21);
|
||||
this.cbQBItems.TabIndex = 11;
|
||||
@@ -107,10 +106,9 @@
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Name = "SetQBInvoiceTemplate";
|
||||
this.Padding = new System.Windows.Forms.Padding(16);
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "SetQBInvoiceTemplate";
|
||||
this.Text = "Set QB Invoice Template";
|
||||
this.Load += new System.EventHandler(this.SetQBClass_load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
Reference in New Issue
Block a user