Font scaling fuckery
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
<setting name="serverurl" serializeAs="String">
|
||||
<value>http://localhost:7575</value>
|
||||
</setting>
|
||||
<setting name="authuser" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
</AyaNovaQBI.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
30
AyaNovaQBI/ApproveCompanyFile.Designer.cs
generated
30
AyaNovaQBI/ApproveCompanyFile.Designer.cs
generated
@@ -30,42 +30,32 @@
|
||||
{
|
||||
this.lblCompany = new System.Windows.Forms.Label();
|
||||
this.lblPath = new System.Windows.Forms.Label();
|
||||
this.lblExplain = new System.Windows.Forms.Label();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblCompany
|
||||
//
|
||||
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(12, 38);
|
||||
this.lblCompany.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblCompany.Location = new System.Drawing.Point(12, 9);
|
||||
this.lblCompany.Name = "lblCompany";
|
||||
this.lblCompany.Size = new System.Drawing.Size(490, 30);
|
||||
this.lblCompany.Size = new System.Drawing.Size(613, 24);
|
||||
this.lblCompany.TabIndex = 0;
|
||||
this.lblCompany.Text = "A company";
|
||||
//
|
||||
// lblPath
|
||||
//
|
||||
this.lblPath.Location = new System.Drawing.Point(12, 74);
|
||||
this.lblPath.Location = new System.Drawing.Point(12, 33);
|
||||
this.lblPath.Name = "lblPath";
|
||||
this.lblPath.Size = new System.Drawing.Size(490, 47);
|
||||
this.lblPath.Size = new System.Drawing.Size(613, 47);
|
||||
this.lblPath.TabIndex = 1;
|
||||
this.lblPath.Text = "path";
|
||||
//
|
||||
// lblExplain
|
||||
//
|
||||
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(12, 9);
|
||||
this.lblExplain.Name = "lblExplain";
|
||||
this.lblExplain.Size = new System.Drawing.Size(490, 23);
|
||||
this.lblExplain.TabIndex = 2;
|
||||
this.lblExplain.Text = "AyaNova QBI will work with this company file";
|
||||
//
|
||||
// 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(3, 158);
|
||||
this.btnCancel.Location = new System.Drawing.Point(12, 111);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 3;
|
||||
@@ -75,7 +65,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.Location = new System.Drawing.Point(550, 111);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 4;
|
||||
@@ -89,18 +79,17 @@
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(522, 193);
|
||||
this.ClientSize = new System.Drawing.Size(637, 146);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.btnOK);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.lblExplain);
|
||||
this.Controls.Add(this.lblPath);
|
||||
this.Controls.Add(this.lblCompany);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Name = "ApproveCompanyFile";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "QuickBooks Company file";
|
||||
this.Text = "AyaNova QBI will work with this company file";
|
||||
this.TopMost = true;
|
||||
this.Load += new System.EventHandler(this.ApproveCompanyFile_Load);
|
||||
this.ResumeLayout(false);
|
||||
@@ -111,7 +100,6 @@
|
||||
|
||||
private System.Windows.Forms.Label lblCompany;
|
||||
private System.Windows.Forms.Label lblPath;
|
||||
private System.Windows.Forms.Label lblExplain;
|
||||
private System.Windows.Forms.Button btnCancel;
|
||||
private System.Windows.Forms.Button btnOK;
|
||||
}
|
||||
|
||||
11
AyaNovaQBI/InvoiceTemplateBuilder.Designer.cs
generated
11
AyaNovaQBI/InvoiceTemplateBuilder.Designer.cs
generated
@@ -110,7 +110,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(708, 736);
|
||||
this.btnOK.Location = new System.Drawing.Point(710, 736);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 21;
|
||||
@@ -122,7 +122,7 @@
|
||||
//
|
||||
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.Location = new System.Drawing.Point(9, 736);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 20;
|
||||
@@ -161,13 +161,13 @@
|
||||
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("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(3, 115);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(782, 23);
|
||||
this.label1.TabIndex = 23;
|
||||
this.label1.Text = "Line items (charges - parts, service, expenses etc)";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
@@ -827,8 +827,7 @@
|
||||
//
|
||||
// InvoiceTemplateBuilder
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(803, 771);
|
||||
this.Controls.Add(this.label8);
|
||||
this.Controls.Add(this.edLoanItem);
|
||||
|
||||
12
AyaNovaQBI/Properties/Settings.Designer.cs
generated
12
AyaNovaQBI/Properties/Settings.Designer.cs
generated
@@ -34,5 +34,17 @@ namespace AyaNovaQBI.Properties {
|
||||
this["serverurl"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string authuser {
|
||||
get {
|
||||
return ((string)(this["authuser"]));
|
||||
}
|
||||
set {
|
||||
this["authuser"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,5 +5,8 @@
|
||||
<Setting Name="serverurl" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">http://localhost:7575</Value>
|
||||
</Setting>
|
||||
<Setting Name="authuser" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
12
AyaNovaQBI/Waiting.Designer.cs
generated
12
AyaNovaQBI/Waiting.Designer.cs
generated
@@ -36,13 +36,12 @@
|
||||
//
|
||||
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", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblOps.Location = new System.Drawing.Point(11, 11);
|
||||
this.lblOps.Name = "lblOps";
|
||||
this.lblOps.Size = new System.Drawing.Size(468, 28);
|
||||
this.lblOps.Size = new System.Drawing.Size(614, 28);
|
||||
this.lblOps.TabIndex = 0;
|
||||
this.lblOps.Text = "Operation...";
|
||||
this.lblOps.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// lblStep
|
||||
//
|
||||
@@ -50,19 +49,18 @@
|
||||
| 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(11, 49);
|
||||
this.lblStep.Location = new System.Drawing.Point(11, 50);
|
||||
this.lblStep.Name = "lblStep";
|
||||
this.lblStep.Size = new System.Drawing.Size(468, 37);
|
||||
this.lblStep.Size = new System.Drawing.Size(614, 87);
|
||||
this.lblStep.TabIndex = 1;
|
||||
this.lblStep.Text = "Step";
|
||||
this.lblStep.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// Waiting
|
||||
//
|
||||
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(491, 97);
|
||||
this.ClientSize = new System.Drawing.Size(637, 146);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.lblStep);
|
||||
this.Controls.Add(this.lblOps);
|
||||
|
||||
@@ -18,13 +18,18 @@ namespace AyaNovaQBI
|
||||
{
|
||||
System.Net.ServicePointManager.SecurityProtocol = (System.Net.SecurityProtocolType)3072;
|
||||
}
|
||||
|
||||
|
||||
edUserName.Text = Properties.Settings.Default.authuser;
|
||||
edServerUrl.Text = Properties.Settings.Default.serverurl;
|
||||
|
||||
#if (DEBUG)
|
||||
edUserName.Text = "Accounting";
|
||||
edPassword.Text = "Accounting";
|
||||
#endif
|
||||
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(edUserName.Text))
|
||||
edPassword.Focus();
|
||||
}
|
||||
|
||||
private async void btnTest_Click(object sender, EventArgs e)
|
||||
@@ -82,6 +87,7 @@ namespace AyaNovaQBI
|
||||
|
||||
btnLogin.Enabled = btnTest.Enabled = true;
|
||||
//successful login, persist server setting
|
||||
Properties.Settings.Default.authuser = edUserName.Text;
|
||||
Properties.Settings.Default.serverurl = edServerUrl.Text;
|
||||
Properties.Settings.Default.Save();
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ UninstallDisplayIcon={app}\logo.ico
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
ArchitecturesInstallIn64BitMode=x64
|
||||
ArchitecturesAllowed=x64
|
||||
;ArchitecturesInstallIn64BitMode=x64
|
||||
;ArchitecturesAllowed=x64
|
||||
|
||||
|
||||
|
||||
@@ -54,8 +54,8 @@ function CheckForQBFC(): Boolean;
|
||||
begin
|
||||
if not QBFCChecked then begin
|
||||
QBFCCheckResult := True;
|
||||
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 FileExists(ExpandConstant('{commoncf32}\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('{commoncf32}\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;
|
||||
|
||||
Reference in New Issue
Block a user