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

@@ -109,7 +109,7 @@
//
// btnOK
//
this.btnOK.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(708, 736);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -120,7 +120,7 @@
//
// btnCancel
//
this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
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(7, 736);
this.btnCancel.Name = "btnCancel";
@@ -134,6 +134,9 @@
//
this.edHeader.AcceptsReturn = true;
this.edHeader.AcceptsTab = true;
this.edHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edHeader.Location = new System.Drawing.Point(3, 50);
this.edHeader.Multiline = true;
this.edHeader.Name = "edHeader";
@@ -147,7 +150,7 @@
//
this.lblHeader.AutoSize = true;
this.lblHeader.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblHeader.Location = new System.Drawing.Point(12, 34);
this.lblHeader.Location = new System.Drawing.Point(3, 34);
this.lblHeader.Name = "lblHeader";
this.lblHeader.Size = new System.Drawing.Size(151, 13);
this.lblHeader.TabIndex = 22;
@@ -155,6 +158,9 @@
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(3, 115);
this.label1.Name = "label1";
@@ -177,6 +183,9 @@
//
this.edFooter.AcceptsReturn = true;
this.edFooter.AcceptsTab = true;
this.edFooter.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edFooter.Location = new System.Drawing.Point(3, 182);
this.edFooter.Multiline = true;
this.edFooter.Name = "edFooter";
@@ -200,6 +209,9 @@
//
this.edUnit.AcceptsReturn = true;
this.edUnit.AcceptsTab = true;
this.edUnit.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edUnit.Location = new System.Drawing.Point(3, 258);
this.edUnit.Multiline = true;
this.edUnit.Name = "edUnit";
@@ -223,6 +235,9 @@
//
this.edService.AcceptsReturn = true;
this.edService.AcceptsTab = true;
this.edService.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edService.Location = new System.Drawing.Point(3, 330);
this.edService.Multiline = true;
this.edService.Name = "edService";
@@ -246,6 +261,9 @@
//
this.edTravel.AcceptsReturn = true;
this.edTravel.AcceptsTab = true;
this.edTravel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edTravel.Location = new System.Drawing.Point(3, 404);
this.edTravel.Multiline = true;
this.edTravel.Name = "edTravel";
@@ -269,6 +287,9 @@
//
this.edOutsideService.AcceptsReturn = true;
this.edOutsideService.AcceptsTab = true;
this.edOutsideService.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edOutsideService.Location = new System.Drawing.Point(3, 477);
this.edOutsideService.Multiline = true;
this.edOutsideService.Name = "edOutsideService";
@@ -292,6 +313,9 @@
//
this.edMiscExpense.AcceptsReturn = true;
this.edMiscExpense.AcceptsTab = true;
this.edMiscExpense.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edMiscExpense.Location = new System.Drawing.Point(3, 560);
this.edMiscExpense.Multiline = true;
this.edMiscExpense.Name = "edMiscExpense";
@@ -315,6 +339,9 @@
//
this.edLoanItem.AcceptsReturn = true;
this.edLoanItem.AcceptsTab = true;
this.edLoanItem.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.edLoanItem.Location = new System.Drawing.Point(3, 641);
this.edLoanItem.Multiline = true;
this.edLoanItem.Name = "edLoanItem";