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

@@ -38,7 +38,8 @@
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(357, 176);
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(360, 183);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 16;
@@ -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(19, 176);
this.btnCancel.Location = new System.Drawing.Point(16, 183);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 15;
@@ -59,7 +61,6 @@
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1";
@@ -69,7 +70,6 @@
//
// label3
//
this.label3.Dock = System.Windows.Forms.DockStyle.Top;
this.label3.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(16, 48);
this.label3.Name = "label3";
@@ -79,7 +79,6 @@
//
// cbIncomeAccount
//
this.cbIncomeAccount.Dock = System.Windows.Forms.DockStyle.Top;
this.cbIncomeAccount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbIncomeAccount.FormattingEnabled = true;
this.cbIncomeAccount.Location = new System.Drawing.Point(16, 96);
@@ -89,7 +88,6 @@
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
this.label2.Location = new System.Drawing.Point(16, 78);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(419, 18);
@@ -112,7 +110,6 @@
this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "SetQBImportServiceRateAccounts";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false;
this.Text = "Import Rate";
this.Load += new System.EventHandler(this.SetQBImportServiceRateAccounts_Load);