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 // 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.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.Name = "lblCompany";
this.lblCompany.Size = new System.Drawing.Size(490, 30); this.lblCompany.Size = new System.Drawing.Size(490, 30);
this.lblCompany.TabIndex = 0; this.lblCompany.TabIndex = 0;
@@ -47,17 +46,16 @@
// //
// lblPath // lblPath
// //
this.lblPath.Dock = System.Windows.Forms.DockStyle.Top; this.lblPath.Location = new System.Drawing.Point(12, 74);
this.lblPath.Location = new System.Drawing.Point(16, 46);
this.lblPath.Name = "lblPath"; 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.TabIndex = 1;
this.lblPath.Text = "path";
// //
// lblExplain // 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.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.Name = "lblExplain";
this.lblExplain.Size = new System.Drawing.Size(490, 23); this.lblExplain.Size = new System.Drawing.Size(490, 23);
this.lblExplain.TabIndex = 2; this.lblExplain.TabIndex = 2;
@@ -65,8 +63,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 3; this.btnCancel.TabIndex = 3;
@@ -75,6 +74,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(435, 158);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -98,7 +98,6 @@
this.Controls.Add(this.lblCompany); this.Controls.Add(this.lblCompany);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "ApproveCompanyFile"; this.Name = "ApproveCompanyFile";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "QuickBooks Company file"; this.Text = "QuickBooks Company file";

View File

@@ -29,7 +29,7 @@
<BootstrapperEnabled>true</BootstrapperEnabled> <BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
@@ -40,7 +40,7 @@
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath> <OutputPath>bin\Release\</OutputPath>
@@ -50,10 +50,10 @@
<Prefer32Bit>false</Prefer32Bit> <Prefer32Bit>false</Prefer32Bit>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Interop.QBFC15, Version=15.0.0.1, Culture=neutral, PublicKeyToken=31d8aec643e18259, processorArchitecture=MSIL"> <Reference Include="interop.QBFC14, Version=15.0.0.1, Culture=neutral, PublicKeyToken=31d8aec643e18259, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<EmbedInteropTypes>True</EmbedInteropTypes> <EmbedInteropTypes>True</EmbedInteropTypes>
<HintPath>..\..\..\..\Program Files\Common Files\Intuit\QuickBooks\Interop.QBFC15.dll</HintPath> <HintPath>..\..\..\..\Program Files (x86)\Common Files\Intuit\QuickBooks\interop.QBFC14.dll</HintPath>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>

View File

@@ -41,6 +41,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(550, 368);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -51,6 +52,7 @@
// //
// btnCancel // 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.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(4, 368); this.btnCancel.Location = new System.Drawing.Point(4, 368);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
@@ -62,6 +64,9 @@
// //
// lblTitle // 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.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.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; this.lblTitle.ForeColor = System.Drawing.SystemColors.WindowText;
@@ -74,6 +79,9 @@
// //
// groupBox1 // 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.rbChangeQB);
this.groupBox1.Controls.Add(this.rbChangeAya); this.groupBox1.Controls.Add(this.rbChangeAya);
this.groupBox1.Controls.Add(this.rbQBOnce); this.groupBox1.Controls.Add(this.rbQBOnce);

View File

@@ -109,7 +109,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(708, 736);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -120,7 +120,7 @@
// //
// btnCancel // 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.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(7, 736); this.btnCancel.Location = new System.Drawing.Point(7, 736);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
@@ -134,6 +134,9 @@
// //
this.edHeader.AcceptsReturn = true; this.edHeader.AcceptsReturn = true;
this.edHeader.AcceptsTab = 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.Location = new System.Drawing.Point(3, 50);
this.edHeader.Multiline = true; this.edHeader.Multiline = true;
this.edHeader.Name = "edHeader"; this.edHeader.Name = "edHeader";
@@ -147,7 +150,7 @@
// //
this.lblHeader.AutoSize = true; 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.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.Name = "lblHeader";
this.lblHeader.Size = new System.Drawing.Size(151, 13); this.lblHeader.Size = new System.Drawing.Size(151, 13);
this.lblHeader.TabIndex = 22; this.lblHeader.TabIndex = 22;
@@ -155,6 +158,9 @@
// //
// label1 // 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.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.Location = new System.Drawing.Point(3, 115);
this.label1.Name = "label1"; this.label1.Name = "label1";
@@ -177,6 +183,9 @@
// //
this.edFooter.AcceptsReturn = true; this.edFooter.AcceptsReturn = true;
this.edFooter.AcceptsTab = 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.Location = new System.Drawing.Point(3, 182);
this.edFooter.Multiline = true; this.edFooter.Multiline = true;
this.edFooter.Name = "edFooter"; this.edFooter.Name = "edFooter";
@@ -200,6 +209,9 @@
// //
this.edUnit.AcceptsReturn = true; this.edUnit.AcceptsReturn = true;
this.edUnit.AcceptsTab = 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.Location = new System.Drawing.Point(3, 258);
this.edUnit.Multiline = true; this.edUnit.Multiline = true;
this.edUnit.Name = "edUnit"; this.edUnit.Name = "edUnit";
@@ -223,6 +235,9 @@
// //
this.edService.AcceptsReturn = true; this.edService.AcceptsReturn = true;
this.edService.AcceptsTab = 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.Location = new System.Drawing.Point(3, 330);
this.edService.Multiline = true; this.edService.Multiline = true;
this.edService.Name = "edService"; this.edService.Name = "edService";
@@ -246,6 +261,9 @@
// //
this.edTravel.AcceptsReturn = true; this.edTravel.AcceptsReturn = true;
this.edTravel.AcceptsTab = 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.Location = new System.Drawing.Point(3, 404);
this.edTravel.Multiline = true; this.edTravel.Multiline = true;
this.edTravel.Name = "edTravel"; this.edTravel.Name = "edTravel";
@@ -269,6 +287,9 @@
// //
this.edOutsideService.AcceptsReturn = true; this.edOutsideService.AcceptsReturn = true;
this.edOutsideService.AcceptsTab = 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.Location = new System.Drawing.Point(3, 477);
this.edOutsideService.Multiline = true; this.edOutsideService.Multiline = true;
this.edOutsideService.Name = "edOutsideService"; this.edOutsideService.Name = "edOutsideService";
@@ -292,6 +313,9 @@
// //
this.edMiscExpense.AcceptsReturn = true; this.edMiscExpense.AcceptsReturn = true;
this.edMiscExpense.AcceptsTab = 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.Location = new System.Drawing.Point(3, 560);
this.edMiscExpense.Multiline = true; this.edMiscExpense.Multiline = true;
this.edMiscExpense.Name = "edMiscExpense"; this.edMiscExpense.Name = "edMiscExpense";
@@ -315,6 +339,9 @@
// //
this.edLoanItem.AcceptsReturn = true; this.edLoanItem.AcceptsReturn = true;
this.edLoanItem.AcceptsTab = 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.Location = new System.Drawing.Point(3, 641);
this.edLoanItem.Multiline = true; this.edLoanItem.Multiline = true;
this.edLoanItem.Name = "edLoanItem"; this.edLoanItem.Name = "edLoanItem";

View File

@@ -38,6 +38,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(550, 368);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -48,6 +49,7 @@
// //
// btnCancel // 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.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(12, 368); this.btnCancel.Location = new System.Drawing.Point(12, 368);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
@@ -59,6 +61,8 @@
// //
// edAyaObjects // 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.BackColor = System.Drawing.SystemColors.Window;
this.edAyaObjects.Location = new System.Drawing.Point(12, 33); this.edAyaObjects.Location = new System.Drawing.Point(12, 33);
this.edAyaObjects.Multiline = true; this.edAyaObjects.Multiline = true;
@@ -79,6 +83,8 @@
// //
// label2 // 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.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.Location = new System.Drawing.Point(15, 279);
this.label2.Name = "label2"; this.label2.Name = "label2";
@@ -88,6 +94,8 @@
// //
// edQBItem // 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.BackColor = System.Drawing.SystemColors.Window;
this.edQBItem.Location = new System.Drawing.Point(12, 303); this.edQBItem.Location = new System.Drawing.Point(12, 303);
this.edQBItem.Name = "edQBItem"; this.edQBItem.Name = "edQBItem";

View File

@@ -39,6 +39,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(550, 368);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -49,6 +50,7 @@
// //
// btnCancel // 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.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(12, 368); this.btnCancel.Location = new System.Drawing.Point(12, 368);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";

View File

@@ -36,6 +36,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(372, 132);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -46,6 +47,7 @@
// //
// btnCancel // 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.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(30, 132); this.btnCancel.Location = new System.Drawing.Point(30, 132);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";

View File

@@ -36,7 +36,8 @@
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 19; this.btnOK.TabIndex = 19;
@@ -46,8 +47,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 18; this.btnCancel.TabIndex = 18;
@@ -57,17 +59,15 @@
// //
// cbItems // cbItems
// //
this.cbItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbItems.FormattingEnabled = true; 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.Name = "cbItems";
this.cbItems.Size = new System.Drawing.Size(715, 21); this.cbItems.Size = new System.Drawing.Size(715, 21);
this.cbItems.TabIndex = 17; this.cbItems.TabIndex = 17;
// //
// label1 // label1
// //
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(715, 13); this.label1.Size = new System.Drawing.Size(715, 13);
@@ -88,7 +88,6 @@
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "MapSelectAyaNovaItem"; this.Name = "MapSelectAyaNovaItem";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowIcon = false; this.ShowIcon = false;
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.Text = "AyaNova items"; this.Text = "AyaNova items";

View File

@@ -37,7 +37,6 @@
// //
// label1 // label1
// //
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Location = new System.Drawing.Point(16, 16); this.label1.Location = new System.Drawing.Point(16, 16);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(715, 13); this.label1.Size = new System.Drawing.Size(715, 13);
@@ -46,17 +45,17 @@
// //
// cbQBItems // cbQBItems
// //
this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBItems.FormattingEnabled = true; 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.Name = "cbQBItems";
this.cbQBItems.Size = new System.Drawing.Size(715, 21); this.cbQBItems.Size = new System.Drawing.Size(715, 21);
this.cbQBItems.TabIndex = 12; this.cbQBItems.TabIndex = 12;
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 14; this.btnOK.TabIndex = 14;
@@ -66,8 +65,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 13; this.btnCancel.TabIndex = 13;
@@ -78,7 +78,7 @@
// ckNothing // ckNothing
// //
this.ckNothing.AutoSize = true; 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.Name = "ckNothing";
this.ckNothing.Size = new System.Drawing.Size(133, 17); this.ckNothing.Size = new System.Drawing.Size(133, 17);
this.ckNothing.TabIndex = 15; this.ckNothing.TabIndex = 15;
@@ -101,7 +101,6 @@
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "MapSelectQBItem"; this.Name = "MapSelectQBItem";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowIcon = false; this.ShowIcon = false;
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.Text = "QB Items"; this.Text = "QB Items";

View File

@@ -32,12 +32,12 @@
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label(); this.lblTitle = new System.Windows.Forms.Label();
this.lblDescription = 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.ckAutoClose = new System.Windows.Forms.CheckBox();
this.SuspendLayout(); this.SuspendLayout();
// //
// btnOK // 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.Location = new System.Drawing.Point(550, 368);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -48,8 +48,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +59,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,29 +67,18 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; 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 // ckAutoClose
// //
this.ckAutoClose.AutoSize = true; this.ckAutoClose.AutoSize = true;
this.ckAutoClose.Dock = System.Windows.Forms.DockStyle.Top; this.ckAutoClose.Location = new System.Drawing.Point(16, 223);
this.ckAutoClose.Location = new System.Drawing.Point(16, 224);
this.ckAutoClose.Name = "ckAutoClose"; 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.TabIndex = 11;
this.ckAutoClose.Text = "Auto close invoiced work orders"; this.ckAutoClose.Text = "Auto close invoiced work orders";
this.ckAutoClose.UseVisualStyleBackColor = true; this.ckAutoClose.UseVisualStyleBackColor = true;
@@ -101,17 +90,15 @@
this.CancelButton = this.btnCancel; this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(637, 403); this.ClientSize = new System.Drawing.Size(637, 403);
this.Controls.Add(this.ckAutoClose); this.Controls.Add(this.ckAutoClose);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.lblDescription); this.Controls.Add(this.lblDescription);
this.Controls.Add(this.lblTitle); this.Controls.Add(this.lblTitle);
this.Controls.Add(this.btnOK); this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetAutoClose"; this.Name = "SetAutoClose";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetAutoClose"; this.Text = "Set auto close";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@@ -124,7 +111,6 @@
private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Label lblDescription; private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.CheckBox ckAutoClose; private System.Windows.Forms.CheckBox ckAutoClose;
} }
} }

View File

@@ -36,6 +36,7 @@
// //
// btnOK // 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.Location = new System.Drawing.Point(550, 368);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -46,8 +47,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -56,7 +58,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -65,7 +66,6 @@
// //
// lblDescription // 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.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, 46);
this.lblDescription.Name = "lblDescription"; this.lblDescription.Name = "lblDescription";
@@ -84,10 +84,9 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetInfoOnly"; this.Name = "SetInfoOnly";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetInfoOnly"; this.Text = "Set info only";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@@ -32,13 +32,13 @@
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label(); this.lblTitle = new System.Windows.Forms.Label();
this.lblDescription = 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.ckSetMemo = new System.Windows.Forms.CheckBox();
this.SuspendLayout(); this.SuspendLayout();
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +48,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +59,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,29 +67,18 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; 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 // ckSetMemo
// //
this.ckSetMemo.AutoSize = true; this.ckSetMemo.AutoSize = true;
this.ckSetMemo.Dock = System.Windows.Forms.DockStyle.Top; this.ckSetMemo.Location = new System.Drawing.Point(16, 223);
this.ckSetMemo.Location = new System.Drawing.Point(16, 224);
this.ckSetMemo.Name = "ckSetMemo"; 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.TabIndex = 11;
this.ckSetMemo.Text = "Set memo field"; this.ckSetMemo.Text = "Set memo field";
this.ckSetMemo.UseVisualStyleBackColor = true; this.ckSetMemo.UseVisualStyleBackColor = true;
@@ -101,14 +90,12 @@
this.CancelButton = this.btnCancel; this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(637, 403); this.ClientSize = new System.Drawing.Size(637, 403);
this.Controls.Add(this.ckSetMemo); this.Controls.Add(this.ckSetMemo);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.lblDescription); this.Controls.Add(this.lblDescription);
this.Controls.Add(this.lblTitle); this.Controls.Add(this.lblTitle);
this.Controls.Add(this.btnOK); this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetMemoField"; this.Name = "SetMemoField";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetMemoField"; this.Text = "SetMemoField";
@@ -124,7 +111,6 @@
private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Label lblDescription; private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.CheckBox ckSetMemo; private System.Windows.Forms.CheckBox ckSetMemo;
} }
} }

View File

@@ -38,7 +38,8 @@
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +49,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +60,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,28 +68,25 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
// //
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.Location = new System.Drawing.Point(16, 237);
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; 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.TabIndex = 10;
this.lblStatus.Text = "QuickBooks item";
// //
// cbQBItems // cbQBItems
// //
this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBItems.FormattingEnabled = true; 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.Name = "cbQBItems";
this.cbQBItems.Size = new System.Drawing.Size(605, 21); this.cbQBItems.Size = new System.Drawing.Size(605, 21);
this.cbQBItems.TabIndex = 11; this.cbQBItems.TabIndex = 11;
@@ -107,13 +105,11 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBChargeAs"; this.Name = "SetQBChargeAs";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBChargeAs"; this.Text = "Set QB Charge As";
this.Load += new System.EventHandler(this.SetQBChargeAsLoad); this.Load += new System.EventHandler(this.SetQBChargeAsLoad);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout();
} }

View File

@@ -49,7 +49,6 @@ namespace AyaNovaQBI
this.cbQBItems.ValueMember = "ID"; this.cbQBItems.ValueMember = "ID";
this.lblStatus.Text = "QuickBooks item:";
if (string.IsNullOrWhiteSpace(_selectedQBItem)) if (string.IsNullOrWhiteSpace(_selectedQBItem))
cbQBItems.SelectedIndex = 0; cbQBItems.SelectedIndex = 0;

View File

@@ -38,7 +38,8 @@
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +49,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +60,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,9 +68,8 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
@@ -77,18 +77,17 @@
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Location = new System.Drawing.Point(16, 229);
this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; 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.TabIndex = 10;
this.lblStatus.Text = "QuickBooks transaction class";
// //
// cbQBClasses // cbQBClasses
// //
this.cbQBClasses.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBClasses.FormattingEnabled = true; 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.Name = "cbQBClasses";
this.cbQBClasses.Size = new System.Drawing.Size(605, 21); this.cbQBClasses.Size = new System.Drawing.Size(605, 21);
this.cbQBClasses.TabIndex = 11; this.cbQBClasses.TabIndex = 11;
@@ -107,10 +106,9 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBClass"; this.Name = "SetQBClass";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBClass"; this.Text = "Set QB Class";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();

View File

@@ -48,7 +48,7 @@ namespace AyaNovaQBI
cbQBClasses.DataSource = QBClasses; cbQBClasses.DataSource = QBClasses;
cbQBClasses.DisplayMember = "FullName"; cbQBClasses.DisplayMember = "FullName";
cbQBClasses.ValueMember = "ID"; cbQBClasses.ValueMember = "ID";
lblStatus.Text = "QuickBooks transaction class";
cbQBClasses.SelectedValue = _selectedQBClass; cbQBClasses.SelectedValue = _selectedQBClass;
} }

View File

@@ -79,8 +79,7 @@
// //
// btnOK // btnOK
// //
this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
| System.Windows.Forms.AnchorStyles.Right)));
this.btnOK.Location = new System.Drawing.Point(350, 410); this.btnOK.Location = new System.Drawing.Point(350, 410);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
@@ -91,8 +90,7 @@
// //
// btnCancel // btnCancel
// //
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
| System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(12, 410); this.btnCancel.Location = new System.Drawing.Point(12, 410);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";

View File

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

View File

@@ -38,7 +38,8 @@
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +49,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +60,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,9 +68,8 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
@@ -77,18 +77,17 @@
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Location = new System.Drawing.Point(17, 233);
this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; 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.TabIndex = 10;
this.lblStatus.Text = "QuickBooks Invoice template";
// //
// cbQBItems // cbQBItems
// //
this.cbQBItems.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBItems.FormattingEnabled = true; 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.Name = "cbQBItems";
this.cbQBItems.Size = new System.Drawing.Size(605, 21); this.cbQBItems.Size = new System.Drawing.Size(605, 21);
this.cbQBItems.TabIndex = 11; this.cbQBItems.TabIndex = 11;
@@ -107,10 +106,9 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBInvoiceTemplate"; this.Name = "SetQBInvoiceTemplate";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 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.Load += new System.EventHandler(this.SetQBClass_load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();

View File

@@ -38,7 +38,8 @@
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +49,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +60,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,9 +68,8 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
@@ -77,18 +77,17 @@
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Location = new System.Drawing.Point(17, 233);
this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; 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.TabIndex = 10;
this.lblStatus.Text = "QuickBooks terms";
// //
// cbQBTerms // cbQBTerms
// //
this.cbQBTerms.Dock = System.Windows.Forms.DockStyle.Top;
this.cbQBTerms.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQBTerms.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbQBTerms.FormattingEnabled = true; 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.Name = "cbQBTerms";
this.cbQBTerms.Size = new System.Drawing.Size(605, 21); this.cbQBTerms.Size = new System.Drawing.Size(605, 21);
this.cbQBTerms.TabIndex = 11; this.cbQBTerms.TabIndex = 11;
@@ -107,10 +106,9 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetQBTerms"; this.Name = "SetQBTerms";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SetQBTerms"; this.Text = "Set QB Terms";
this.Load += new System.EventHandler(this.SetQBClass_load); this.Load += new System.EventHandler(this.SetQBClass_load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();

View File

@@ -32,13 +32,13 @@
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button();
this.lblTitle = new System.Windows.Forms.Label(); this.lblTitle = new System.Windows.Forms.Label();
this.lblDescription = 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.ckPrinted = new System.Windows.Forms.CheckBox();
this.SuspendLayout(); this.SuspendLayout();
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +48,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +59,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,29 +67,18 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; 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 // ckPrinted
// //
this.ckPrinted.AutoSize = true; this.ckPrinted.AutoSize = true;
this.ckPrinted.Dock = System.Windows.Forms.DockStyle.Top; this.ckPrinted.Location = new System.Drawing.Point(16, 223);
this.ckPrinted.Location = new System.Drawing.Point(16, 224);
this.ckPrinted.Name = "ckPrinted"; 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.TabIndex = 11;
this.ckPrinted.Text = "Set to be printed"; this.ckPrinted.Text = "Set to be printed";
this.ckPrinted.UseVisualStyleBackColor = true; this.ckPrinted.UseVisualStyleBackColor = true;
@@ -101,17 +90,15 @@
this.CancelButton = this.btnCancel; this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(637, 403); this.ClientSize = new System.Drawing.Size(637, 403);
this.Controls.Add(this.ckPrinted); this.Controls.Add(this.ckPrinted);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.lblDescription); this.Controls.Add(this.lblDescription);
this.Controls.Add(this.lblTitle); this.Controls.Add(this.lblTitle);
this.Controls.Add(this.btnOK); this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetToBePrinted"; this.Name = "SetToBePrinted";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 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.Load += new System.EventHandler(this.SetQBClass_load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@@ -124,7 +111,6 @@
private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Label lblTitle; private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Label lblDescription; private System.Windows.Forms.Label lblDescription;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.CheckBox ckPrinted; private System.Windows.Forms.CheckBox ckPrinted;
} }
} }

View File

@@ -38,7 +38,8 @@
// //
// btnOK // 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.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(75, 23);
this.btnOK.TabIndex = 6; this.btnOK.TabIndex = 6;
@@ -48,8 +49,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 5; this.btnCancel.TabIndex = 5;
@@ -58,7 +60,6 @@
// //
// lblTitle // 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.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.Location = new System.Drawing.Point(16, 16);
this.lblTitle.Name = "lblTitle"; this.lblTitle.Name = "lblTitle";
@@ -67,9 +68,8 @@
// //
// lblDescription // 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.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.Name = "lblDescription";
this.lblDescription.Size = new System.Drawing.Size(605, 165); this.lblDescription.Size = new System.Drawing.Size(605, 165);
this.lblDescription.TabIndex = 8; this.lblDescription.TabIndex = 8;
@@ -77,18 +77,17 @@
// lblStatus // lblStatus
// //
this.lblStatus.AutoSize = true; this.lblStatus.AutoSize = true;
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top; this.lblStatus.Location = new System.Drawing.Point(17, 234);
this.lblStatus.Location = new System.Drawing.Point(16, 211);
this.lblStatus.Name = "lblStatus"; 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.TabIndex = 10;
this.lblStatus.Text = "Work order status";
// //
// cbStatus // cbStatus
// //
this.cbStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.cbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbStatus.FormattingEnabled = true; 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.Name = "cbStatus";
this.cbStatus.Size = new System.Drawing.Size(605, 21); this.cbStatus.Size = new System.Drawing.Size(605, 21);
this.cbStatus.TabIndex = 11; this.cbStatus.TabIndex = 11;
@@ -107,10 +106,9 @@
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "SetWOStatus"; this.Name = "SetWOStatus";
this.Padding = new System.Windows.Forms.Padding(16);
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 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.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SetWOStatus_FormClosing);
this.Load += new System.EventHandler(this.SetWOStatus_Load); this.Load += new System.EventHandler(this.SetWOStatus_Load);
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@@ -34,22 +34,27 @@
// //
// lblOps // 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.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.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.TabIndex = 0;
this.lblOps.Text = "Operation...";
this.lblOps.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblOps.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// lblStep // 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.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.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.TabIndex = 1;
this.lblStep.Text = "Step";
this.lblStep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblStep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// Waiting // Waiting
@@ -57,7 +62,7 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window; 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.ControlBox = false;
this.Controls.Add(this.lblStep); this.Controls.Add(this.lblStep);
this.Controls.Add(this.lblOps); this.Controls.Add(this.lblOps);

View File

@@ -104,7 +104,8 @@
// //
// btnLogin // 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.Name = "btnLogin";
this.btnLogin.Size = new System.Drawing.Size(75, 23); this.btnLogin.Size = new System.Drawing.Size(75, 23);
this.btnLogin.TabIndex = 2; this.btnLogin.TabIndex = 2;
@@ -114,8 +115,9 @@
// //
// btnCancel // 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.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.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 10; this.btnCancel.TabIndex = 10;

View File

@@ -1,4 +1,4 @@
using Interop.QBFC15; using Interop.QBFC14;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using System; using System;
using System.Collections; using System.Collections;

View File

@@ -54,8 +54,8 @@ function CheckForQBFC(): Boolean;
begin begin
if not QBFCChecked then begin if not QBFCChecked then begin
QBFCCheckResult := True; QBFCCheckResult := True;
if not FileExists(ExpandConstant('{commoncf64}\Intuit\QuickBooks\QbFC15.dll')) then begin if not FileExists(ExpandConstant('{commoncf64}\Intuit\QuickBooks\QbFC14.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; 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 if not QBFCCheckResult then begin
WizardForm.CancelButton.OnClick(WizardForm.CancelButton); WizardForm.CancelButton.OnClick(WizardForm.CancelButton);
end; end;