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:
2022-07-20 20:21:20 +00:00
parent 63eebfee2f
commit 551db31a91
26 changed files with 175 additions and 185 deletions

View File

@@ -37,9 +37,8 @@
//
// lblCompany
//
this.lblCompany.Dock = System.Windows.Forms.DockStyle.Top;
this.lblCompany.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblCompany.Location = new System.Drawing.Point(16, 16);
this.lblCompany.Location = new System.Drawing.Point(12, 38);
this.lblCompany.Name = "lblCompany";
this.lblCompany.Size = new System.Drawing.Size(490, 30);
this.lblCompany.TabIndex = 0;
@@ -47,17 +46,16 @@
//
// lblPath
//
this.lblPath.Dock = System.Windows.Forms.DockStyle.Top;
this.lblPath.Location = new System.Drawing.Point(16, 46);
this.lblPath.Location = new System.Drawing.Point(12, 74);
this.lblPath.Name = "lblPath";
this.lblPath.Size = new System.Drawing.Size(490, 37);
this.lblPath.Size = new System.Drawing.Size(490, 47);
this.lblPath.TabIndex = 1;
this.lblPath.Text = "path";
//
// lblExplain
//
this.lblExplain.Dock = System.Windows.Forms.DockStyle.Top;
this.lblExplain.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblExplain.Location = new System.Drawing.Point(16, 83);
this.lblExplain.Location = new System.Drawing.Point(12, 9);
this.lblExplain.Name = "lblExplain";
this.lblExplain.Size = new System.Drawing.Size(490, 23);
this.lblExplain.TabIndex = 2;
@@ -65,8 +63,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, 158);
this.btnCancel.Location = new System.Drawing.Point(3, 158);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 3;
@@ -75,6 +74,7 @@
//
// btnOK
//
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(435, 158);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -98,7 +98,6 @@
this.Controls.Add(this.lblCompany);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "ApproveCompanyFile";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "QuickBooks Company file";