diff --git a/AyaNovaQBI/ApproveCompanyFile.Designer.cs b/AyaNovaQBI/ApproveCompanyFile.Designer.cs index 98871b9..5605f91 100644 --- a/AyaNovaQBI/ApproveCompanyFile.Designer.cs +++ b/AyaNovaQBI/ApproveCompanyFile.Designer.cs @@ -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"; diff --git a/AyaNovaQBI/AyaNovaQBI.csproj b/AyaNovaQBI/AyaNovaQBI.csproj index 01b1c38..995d9c0 100644 --- a/AyaNovaQBI/AyaNovaQBI.csproj +++ b/AyaNovaQBI/AyaNovaQBI.csproj @@ -29,7 +29,7 @@ true - x64 + x86 true full false @@ -40,7 +40,7 @@ false - x64 + x86 pdbonly true bin\Release\ @@ -50,10 +50,10 @@ false - + False True - ..\..\..\..\Program Files\Common Files\Intuit\QuickBooks\Interop.QBFC15.dll + ..\..\..\..\Program Files (x86)\Common Files\Intuit\QuickBooks\interop.QBFC14.dll packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll diff --git a/AyaNovaQBI/FixPriceDifference.Designer.cs b/AyaNovaQBI/FixPriceDifference.Designer.cs index 9abcb89..51e8a5e 100644 --- a/AyaNovaQBI/FixPriceDifference.Designer.cs +++ b/AyaNovaQBI/FixPriceDifference.Designer.cs @@ -41,6 +41,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(550, 368); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -51,6 +52,7 @@ // // 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.Name = "btnCancel"; @@ -62,6 +64,9 @@ // // lblTitle // + this.lblTitle.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.lblTitle.BackColor = System.Drawing.SystemColors.Window; this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.ForeColor = System.Drawing.SystemColors.WindowText; @@ -74,6 +79,9 @@ // // groupBox1 // + this.groupBox1.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.groupBox1.Controls.Add(this.rbChangeQB); this.groupBox1.Controls.Add(this.rbChangeAya); this.groupBox1.Controls.Add(this.rbQBOnce); diff --git a/AyaNovaQBI/InvoiceTemplateBuilder.Designer.cs b/AyaNovaQBI/InvoiceTemplateBuilder.Designer.cs index 7406a9f..d56dc7a 100644 --- a/AyaNovaQBI/InvoiceTemplateBuilder.Designer.cs +++ b/AyaNovaQBI/InvoiceTemplateBuilder.Designer.cs @@ -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"; diff --git a/AyaNovaQBI/LinkAyaObjectToQBConfirm.Designer.cs b/AyaNovaQBI/LinkAyaObjectToQBConfirm.Designer.cs index ed5f839..5ae59d8 100644 --- a/AyaNovaQBI/LinkAyaObjectToQBConfirm.Designer.cs +++ b/AyaNovaQBI/LinkAyaObjectToQBConfirm.Designer.cs @@ -38,6 +38,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(550, 368); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -48,6 +49,7 @@ // // 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(12, 368); this.btnCancel.Name = "btnCancel"; @@ -59,6 +61,8 @@ // // edAyaObjects // + this.edAyaObjects.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.edAyaObjects.BackColor = System.Drawing.SystemColors.Window; this.edAyaObjects.Location = new System.Drawing.Point(12, 33); this.edAyaObjects.Multiline = true; @@ -79,6 +83,8 @@ // // label2 // + this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(15, 279); this.label2.Name = "label2"; @@ -88,6 +94,8 @@ // // edQBItem // + this.edQBItem.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.edQBItem.BackColor = System.Drawing.SystemColors.Window; this.edQBItem.Location = new System.Drawing.Point(12, 303); this.edQBItem.Name = "edQBItem"; diff --git a/AyaNovaQBI/LinkOrImportAyaObject.Designer.cs b/AyaNovaQBI/LinkOrImportAyaObject.Designer.cs index e5b2412..73ce2d7 100644 --- a/AyaNovaQBI/LinkOrImportAyaObject.Designer.cs +++ b/AyaNovaQBI/LinkOrImportAyaObject.Designer.cs @@ -39,6 +39,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(550, 368); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -49,6 +50,7 @@ // // 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(12, 368); this.btnCancel.Name = "btnCancel"; diff --git a/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs b/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs index 891db4f..08896c2 100644 --- a/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs +++ b/AyaNovaQBI/MapApproveUpdateSelectedItems.Designer.cs @@ -36,6 +36,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(372, 132); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -46,6 +47,7 @@ // // 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(30, 132); this.btnCancel.Name = "btnCancel"; diff --git a/AyaNovaQBI/MapSelectAyaNovaItem.Designer.cs b/AyaNovaQBI/MapSelectAyaNovaItem.Designer.cs index 10befc0..c5d9f44 100644 --- a/AyaNovaQBI/MapSelectAyaNovaItem.Designer.cs +++ b/AyaNovaQBI/MapSelectAyaNovaItem.Designer.cs @@ -36,7 +36,8 @@ // // btnOK // - this.btnOK.Location = new System.Drawing.Point(656, 108); + this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnOK.Location = new System.Drawing.Point(656, 115); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 19; @@ -46,8 +47,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, 107); + this.btnCancel.Location = new System.Drawing.Point(16, 115); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 18; @@ -57,17 +59,15 @@ // // cbItems // - this.cbItems.Dock = System.Windows.Forms.DockStyle.Top; this.cbItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbItems.FormattingEnabled = true; - this.cbItems.Location = new System.Drawing.Point(16, 29); + this.cbItems.Location = new System.Drawing.Point(16, 35); this.cbItems.Name = "cbItems"; this.cbItems.Size = new System.Drawing.Size(715, 21); this.cbItems.TabIndex = 17; // // label1 // - this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(715, 13); @@ -88,7 +88,6 @@ this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "MapSelectAyaNovaItem"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "AyaNova items"; diff --git a/AyaNovaQBI/MapSelectQBItem.Designer.cs b/AyaNovaQBI/MapSelectQBItem.Designer.cs index ada936b..be30e4f 100644 --- a/AyaNovaQBI/MapSelectQBItem.Designer.cs +++ b/AyaNovaQBI/MapSelectQBItem.Designer.cs @@ -37,7 +37,6 @@ // // label1 // - this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(715, 13); @@ -46,17 +45,17 @@ // // 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, 29); + this.cbQBItems.Location = new System.Drawing.Point(16, 38); this.cbQBItems.Name = "cbQBItems"; this.cbQBItems.Size = new System.Drawing.Size(715, 21); this.cbQBItems.TabIndex = 12; // // btnOK // - this.btnOK.Location = new System.Drawing.Point(656, 106); + this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnOK.Location = new System.Drawing.Point(656, 115); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 14; @@ -66,8 +65,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, 106); + this.btnCancel.Location = new System.Drawing.Point(19, 115); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 13; @@ -78,7 +78,7 @@ // ckNothing // this.ckNothing.AutoSize = true; - this.ckNothing.Location = new System.Drawing.Point(16, 59); + this.ckNothing.Location = new System.Drawing.Point(16, 68); this.ckNothing.Name = "ckNothing"; this.ckNothing.Size = new System.Drawing.Size(133, 17); this.ckNothing.TabIndex = 15; @@ -101,7 +101,6 @@ this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "MapSelectQBItem"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "QB Items"; diff --git a/AyaNovaQBI/SetAutoClose.Designer.cs b/AyaNovaQBI/SetAutoClose.Designer.cs index 792d651..cdc473b 100644 --- a/AyaNovaQBI/SetAutoClose.Designer.cs +++ b/AyaNovaQBI/SetAutoClose.Designer.cs @@ -32,12 +32,12 @@ this.btnCancel = new System.Windows.Forms.Button(); this.lblTitle = new System.Windows.Forms.Label(); this.lblDescription = new System.Windows.Forms.Label(); - this.lblStatus = new System.Windows.Forms.Label(); this.ckAutoClose = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // 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(550, 368); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -48,8 +48,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(12, 368); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 5; @@ -58,7 +59,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,29 +67,18 @@ // // 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; // - // lblStatus - // - this.lblStatus.AutoSize = true; - this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; - this.lblStatus.Location = new System.Drawing.Point(16, 211); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(0, 13); - this.lblStatus.TabIndex = 10; - // // ckAutoClose // this.ckAutoClose.AutoSize = true; - this.ckAutoClose.Dock = System.Windows.Forms.DockStyle.Top; - this.ckAutoClose.Location = new System.Drawing.Point(16, 224); + this.ckAutoClose.Location = new System.Drawing.Point(16, 223); this.ckAutoClose.Name = "ckAutoClose"; - this.ckAutoClose.Size = new System.Drawing.Size(605, 17); + this.ckAutoClose.Size = new System.Drawing.Size(177, 17); this.ckAutoClose.TabIndex = 11; this.ckAutoClose.Text = "Auto close invoiced work orders"; this.ckAutoClose.UseVisualStyleBackColor = true; @@ -101,17 +90,15 @@ this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(637, 403); this.Controls.Add(this.ckAutoClose); - this.Controls.Add(this.lblStatus); this.Controls.Add(this.lblDescription); this.Controls.Add(this.lblTitle); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetAutoClose"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetAutoClose"; + this.Text = "Set auto close"; this.Load += new System.EventHandler(this.SetQBClass_load); this.ResumeLayout(false); this.PerformLayout(); @@ -124,7 +111,6 @@ private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblDescription; - private System.Windows.Forms.Label lblStatus; private System.Windows.Forms.CheckBox ckAutoClose; } } \ No newline at end of file diff --git a/AyaNovaQBI/SetInfoOnly.Designer.cs b/AyaNovaQBI/SetInfoOnly.Designer.cs index d7dcaa1..7817ca6 100644 --- a/AyaNovaQBI/SetInfoOnly.Designer.cs +++ b/AyaNovaQBI/SetInfoOnly.Designer.cs @@ -36,6 +36,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(550, 368); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -46,8 +47,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(19, 368); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 5; @@ -56,7 +58,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"; @@ -65,7 +66,6 @@ // // 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.Name = "lblDescription"; @@ -84,10 +84,9 @@ this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetInfoOnly"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetInfoOnly"; + this.Text = "Set info only"; this.Load += new System.EventHandler(this.SetQBClass_load); this.ResumeLayout(false); diff --git a/AyaNovaQBI/SetMemoField.Designer.cs b/AyaNovaQBI/SetMemoField.Designer.cs index e336ddd..28c4023 100644 --- a/AyaNovaQBI/SetMemoField.Designer.cs +++ b/AyaNovaQBI/SetMemoField.Designer.cs @@ -32,13 +32,13 @@ this.btnCancel = new System.Windows.Forms.Button(); this.lblTitle = new System.Windows.Forms.Label(); this.lblDescription = new System.Windows.Forms.Label(); - this.lblStatus = new System.Windows.Forms.Label(); this.ckSetMemo = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // 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, 357); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 6; @@ -48,8 +48,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, 357); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 5; @@ -58,7 +59,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,29 +67,18 @@ // // 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; // - // lblStatus - // - this.lblStatus.AutoSize = true; - this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; - this.lblStatus.Location = new System.Drawing.Point(16, 211); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(0, 13); - this.lblStatus.TabIndex = 10; - // // ckSetMemo // this.ckSetMemo.AutoSize = true; - this.ckSetMemo.Dock = System.Windows.Forms.DockStyle.Top; - this.ckSetMemo.Location = new System.Drawing.Point(16, 224); + this.ckSetMemo.Location = new System.Drawing.Point(16, 223); this.ckSetMemo.Name = "ckSetMemo"; - this.ckSetMemo.Size = new System.Drawing.Size(605, 17); + this.ckSetMemo.Size = new System.Drawing.Size(95, 17); this.ckSetMemo.TabIndex = 11; this.ckSetMemo.Text = "Set memo field"; this.ckSetMemo.UseVisualStyleBackColor = true; @@ -101,14 +90,12 @@ this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(637, 403); this.Controls.Add(this.ckSetMemo); - this.Controls.Add(this.lblStatus); this.Controls.Add(this.lblDescription); this.Controls.Add(this.lblTitle); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetMemoField"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SetMemoField"; @@ -124,7 +111,6 @@ private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblDescription; - private System.Windows.Forms.Label lblStatus; private System.Windows.Forms.CheckBox ckSetMemo; } } \ No newline at end of file diff --git a/AyaNovaQBI/SetQBChargeAs.Designer.cs b/AyaNovaQBI/SetQBChargeAs.Designer.cs index 2fccaa3..30142f5 100644 --- a/AyaNovaQBI/SetQBChargeAs.Designer.cs +++ b/AyaNovaQBI/SetQBChargeAs.Designer.cs @@ -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,28 +68,25 @@ // // 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, 55); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.TabIndex = 8; // // 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(16, 237); this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(0, 13); + this.lblStatus.Size = new System.Drawing.Size(605, 19); this.lblStatus.TabIndex = 10; + this.lblStatus.Text = "QuickBooks item"; // // 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, 260); this.cbQBItems.Name = "cbQBItems"; this.cbQBItems.Size = new System.Drawing.Size(605, 21); this.cbQBItems.TabIndex = 11; @@ -107,13 +105,11 @@ this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetQBChargeAs"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetQBChargeAs"; + this.Text = "Set QB Charge As"; this.Load += new System.EventHandler(this.SetQBChargeAsLoad); this.ResumeLayout(false); - this.PerformLayout(); } diff --git a/AyaNovaQBI/SetQBChargeAs.cs b/AyaNovaQBI/SetQBChargeAs.cs index 7979a0e..bed69b8 100644 --- a/AyaNovaQBI/SetQBChargeAs.cs +++ b/AyaNovaQBI/SetQBChargeAs.cs @@ -49,7 +49,6 @@ namespace AyaNovaQBI this.cbQBItems.ValueMember = "ID"; - this.lblStatus.Text = "QuickBooks item:"; if (string.IsNullOrWhiteSpace(_selectedQBItem)) cbQBItems.SelectedIndex = 0; diff --git a/AyaNovaQBI/SetQBClass.Designer.cs b/AyaNovaQBI/SetQBClass.Designer.cs index a6241a1..f7fea5a 100644 --- a/AyaNovaQBI/SetQBClass.Designer.cs +++ b/AyaNovaQBI/SetQBClass.Designer.cs @@ -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, 51); 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(16, 229); this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(0, 13); + this.lblStatus.Size = new System.Drawing.Size(147, 13); this.lblStatus.TabIndex = 10; + this.lblStatus.Text = "QuickBooks transaction class"; // // cbQBClasses // - this.cbQBClasses.Dock = System.Windows.Forms.DockStyle.Top; this.cbQBClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBClasses.FormattingEnabled = true; - this.cbQBClasses.Location = new System.Drawing.Point(16, 224); + this.cbQBClasses.Location = new System.Drawing.Point(16, 253); this.cbQBClasses.Name = "cbQBClasses"; this.cbQBClasses.Size = new System.Drawing.Size(605, 21); this.cbQBClasses.TabIndex = 11; @@ -107,10 +106,9 @@ this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetQBClass"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetQBClass"; + this.Text = "Set QB Class"; this.Load += new System.EventHandler(this.SetQBClass_load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/AyaNovaQBI/SetQBClass.cs b/AyaNovaQBI/SetQBClass.cs index 74333b6..d0c2586 100644 --- a/AyaNovaQBI/SetQBClass.cs +++ b/AyaNovaQBI/SetQBClass.cs @@ -48,7 +48,7 @@ namespace AyaNovaQBI cbQBClasses.DataSource = QBClasses; cbQBClasses.DisplayMember = "FullName"; cbQBClasses.ValueMember = "ID"; - lblStatus.Text = "QuickBooks transaction class"; + cbQBClasses.SelectedValue = _selectedQBClass; } diff --git a/AyaNovaQBI/SetQBImportInventoryAccounts.Designer.cs b/AyaNovaQBI/SetQBImportInventoryAccounts.Designer.cs index 14bafa2..5ae5776 100644 --- a/AyaNovaQBI/SetQBImportInventoryAccounts.Designer.cs +++ b/AyaNovaQBI/SetQBImportInventoryAccounts.Designer.cs @@ -79,8 +79,7 @@ // // btnOK // - this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.Location = new System.Drawing.Point(350, 410); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); @@ -91,8 +90,7 @@ // // btnCancel // - this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + 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(12, 410); this.btnCancel.Name = "btnCancel"; diff --git a/AyaNovaQBI/SetQBImportServiceRateAccounts.Designer.cs b/AyaNovaQBI/SetQBImportServiceRateAccounts.Designer.cs index cbebb43..b20f015 100644 --- a/AyaNovaQBI/SetQBImportServiceRateAccounts.Designer.cs +++ b/AyaNovaQBI/SetQBImportServiceRateAccounts.Designer.cs @@ -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); diff --git a/AyaNovaQBI/SetQBInvoiceTemplate.Designer.cs b/AyaNovaQBI/SetQBInvoiceTemplate.Designer.cs index e5cb82a..e2e8e19 100644 --- a/AyaNovaQBI/SetQBInvoiceTemplate.Designer.cs +++ b/AyaNovaQBI/SetQBInvoiceTemplate.Designer.cs @@ -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(); diff --git a/AyaNovaQBI/SetQBTerms.Designer.cs b/AyaNovaQBI/SetQBTerms.Designer.cs index 7fdda3b..c7170e8 100644 --- a/AyaNovaQBI/SetQBTerms.Designer.cs +++ b/AyaNovaQBI/SetQBTerms.Designer.cs @@ -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(93, 13); this.lblStatus.TabIndex = 10; + this.lblStatus.Text = "QuickBooks terms"; // // cbQBTerms // - this.cbQBTerms.Dock = System.Windows.Forms.DockStyle.Top; this.cbQBTerms.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBTerms.FormattingEnabled = true; - this.cbQBTerms.Location = new System.Drawing.Point(16, 224); + this.cbQBTerms.Location = new System.Drawing.Point(16, 255); this.cbQBTerms.Name = "cbQBTerms"; this.cbQBTerms.Size = new System.Drawing.Size(605, 21); this.cbQBTerms.TabIndex = 11; @@ -107,10 +106,9 @@ this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetQBTerms"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetQBTerms"; + this.Text = "Set QB Terms"; this.Load += new System.EventHandler(this.SetQBClass_load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/AyaNovaQBI/SetToBePrinted.Designer.cs b/AyaNovaQBI/SetToBePrinted.Designer.cs index 3134846..58817b8 100644 --- a/AyaNovaQBI/SetToBePrinted.Designer.cs +++ b/AyaNovaQBI/SetToBePrinted.Designer.cs @@ -32,13 +32,13 @@ this.btnCancel = new System.Windows.Forms.Button(); this.lblTitle = new System.Windows.Forms.Label(); this.lblDescription = new System.Windows.Forms.Label(); - this.lblStatus = new System.Windows.Forms.Label(); this.ckPrinted = new System.Windows.Forms.CheckBox(); this.SuspendLayout(); // // 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 +48,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 +59,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,29 +67,18 @@ // // 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; // - // lblStatus - // - this.lblStatus.AutoSize = true; - this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; - this.lblStatus.Location = new System.Drawing.Point(16, 211); - this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(0, 13); - this.lblStatus.TabIndex = 10; - // // ckPrinted // this.ckPrinted.AutoSize = true; - this.ckPrinted.Dock = System.Windows.Forms.DockStyle.Top; - this.ckPrinted.Location = new System.Drawing.Point(16, 224); + this.ckPrinted.Location = new System.Drawing.Point(16, 223); this.ckPrinted.Name = "ckPrinted"; - this.ckPrinted.Size = new System.Drawing.Size(605, 17); + this.ckPrinted.Size = new System.Drawing.Size(104, 17); this.ckPrinted.TabIndex = 11; this.ckPrinted.Text = "Set to be printed"; this.ckPrinted.UseVisualStyleBackColor = true; @@ -101,17 +90,15 @@ this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(637, 403); this.Controls.Add(this.ckPrinted); - this.Controls.Add(this.lblStatus); this.Controls.Add(this.lblDescription); this.Controls.Add(this.lblTitle); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetToBePrinted"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetToBePrinted"; + this.Text = "Set To Be Printed"; this.Load += new System.EventHandler(this.SetQBClass_load); this.ResumeLayout(false); this.PerformLayout(); @@ -124,7 +111,6 @@ private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblDescription; - private System.Windows.Forms.Label lblStatus; private System.Windows.Forms.CheckBox ckPrinted; } } \ No newline at end of file diff --git a/AyaNovaQBI/SetWOStatus.Designer.cs b/AyaNovaQBI/SetWOStatus.Designer.cs index 2db3749..2e71423 100644 --- a/AyaNovaQBI/SetWOStatus.Designer.cs +++ b/AyaNovaQBI/SetWOStatus.Designer.cs @@ -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, 234); this.lblStatus.Name = "lblStatus"; - this.lblStatus.Size = new System.Drawing.Size(0, 13); + this.lblStatus.Size = new System.Drawing.Size(91, 13); this.lblStatus.TabIndex = 10; + this.lblStatus.Text = "Work order status"; // // cbStatus // - this.cbStatus.Dock = System.Windows.Forms.DockStyle.Top; this.cbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbStatus.FormattingEnabled = true; - this.cbStatus.Location = new System.Drawing.Point(16, 224); + this.cbStatus.Location = new System.Drawing.Point(16, 253); this.cbStatus.Name = "cbStatus"; this.cbStatus.Size = new System.Drawing.Size(605, 21); this.cbStatus.TabIndex = 11; @@ -107,10 +106,9 @@ this.Controls.Add(this.btnCancel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "SetWOStatus"; - this.Padding = new System.Windows.Forms.Padding(16); this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "SetWOStatus"; + this.Text = "Set WO Status"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SetWOStatus_FormClosing); this.Load += new System.EventHandler(this.SetWOStatus_Load); this.ResumeLayout(false); diff --git a/AyaNovaQBI/Waiting.Designer.cs b/AyaNovaQBI/Waiting.Designer.cs index c735230..e0e718e 100644 --- a/AyaNovaQBI/Waiting.Designer.cs +++ b/AyaNovaQBI/Waiting.Designer.cs @@ -34,22 +34,27 @@ // // lblOps // - this.lblOps.Dock = System.Windows.Forms.DockStyle.Top; + this.lblOps.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.lblOps.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblOps.Location = new System.Drawing.Point(0, 0); + this.lblOps.Location = new System.Drawing.Point(11, 11); this.lblOps.Name = "lblOps"; - this.lblOps.Size = new System.Drawing.Size(464, 28); + this.lblOps.Size = new System.Drawing.Size(468, 28); this.lblOps.TabIndex = 0; + this.lblOps.Text = "Operation..."; this.lblOps.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblStep // - this.lblStep.Dock = System.Windows.Forms.DockStyle.Top; + this.lblStep.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.lblStep.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblStep.Location = new System.Drawing.Point(0, 28); + this.lblStep.Location = new System.Drawing.Point(11, 49); this.lblStep.Name = "lblStep"; - this.lblStep.Size = new System.Drawing.Size(464, 28); + this.lblStep.Size = new System.Drawing.Size(468, 37); this.lblStep.TabIndex = 1; + this.lblStep.Text = "Step"; this.lblStep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Waiting @@ -57,7 +62,7 @@ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Window; - this.ClientSize = new System.Drawing.Size(464, 71); + this.ClientSize = new System.Drawing.Size(491, 97); this.ControlBox = false; this.Controls.Add(this.lblStep); this.Controls.Add(this.lblOps); diff --git a/AyaNovaQBI/auth.Designer.cs b/AyaNovaQBI/auth.Designer.cs index 1af4e41..fc7acc9 100644 --- a/AyaNovaQBI/auth.Designer.cs +++ b/AyaNovaQBI/auth.Designer.cs @@ -104,7 +104,8 @@ // // btnLogin // - this.btnLogin.Location = new System.Drawing.Point(527, 262); + this.btnLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnLogin.Location = new System.Drawing.Point(527, 276); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(75, 23); this.btnLogin.TabIndex = 2; @@ -114,8 +115,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(12, 262); + this.btnCancel.Location = new System.Drawing.Point(12, 276); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 10; diff --git a/AyaNovaQBI/util.cs b/AyaNovaQBI/util.cs index 5da29fb..305d595 100644 --- a/AyaNovaQBI/util.cs +++ b/AyaNovaQBI/util.cs @@ -1,4 +1,4 @@ -using Interop.QBFC15; +using Interop.QBFC14; using Newtonsoft.Json.Linq; using System; using System.Collections; diff --git a/install/qbi.iss b/install/qbi.iss index 089d6c0..1c8bc56 100644 --- a/install/qbi.iss +++ b/install/qbi.iss @@ -54,8 +54,8 @@ function CheckForQBFC(): Boolean; begin if not QBFCChecked then begin QBFCCheckResult := True; - if not FileExists(ExpandConstant('{commoncf64}\Intuit\QuickBooks\QbFC15.dll')) then begin - QBFCCheckResult := MsgBox('QBFC15 does not appear to have been installed as required prior to QBI.' #13#13 'File: ' + ExpandConstant('{commoncf64}\Intuit\QuickBooks\qbfc15.dll') + ' was not found.'#13#13'Do you want to install QBI anyway?', mbConfirmation, MB_YESNO) = idYes; + if not FileExists(ExpandConstant('{commoncf64}\Intuit\QuickBooks\QbFC14.dll')) then begin + QBFCCheckResult := MsgBox('QBFC14 does not appear to have been installed as required prior to QBI.' #13#13 'File: ' + ExpandConstant('{commoncf64}\Intuit\QuickBooks\qbfc14.dll') + ' was not found.'#13#13'Do you want to install QBI anyway?', mbConfirmation, MB_YESNO) = idYes; if not QBFCCheckResult then begin WizardForm.CancelButton.OnClick(WizardForm.CancelButton); end;