From e2f919d6259d0e179a217f65563398e21d0fae33 Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Wed, 7 Jul 2021 21:34:05 -0400 Subject: [PATCH] "approval needed" ui improved wording --- LibationLauncher/LibationLauncher.csproj | 2 +- .../Login/ApprovalNeededDialog.Designer.cs | 21 +-- .../Dialogs/Login/ApprovalNeededDialog.resx | 60 +++++++++ .../Login/ApprovalNeededDialog.Designer.cs | 12 +- .../Dialogs/Login/ApprovalNeededDialog.resx | 120 ++++++++++++++++++ WinFormsDesigner/WinFormsDesigner.csproj | 3 + 6 files changed, 204 insertions(+), 14 deletions(-) create mode 100644 LibationWinForms/Dialogs/Login/ApprovalNeededDialog.resx create mode 100644 WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.resx diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index 71cd3699..49d84d85 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.1.1.1 + 5.1.2.1 diff --git a/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.Designer.cs b/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.Designer.cs index ead126d9..68fc9b9c 100644 --- a/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.Designer.cs +++ b/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.Designer.cs @@ -34,9 +34,11 @@ // // approvedBtn // - this.approvedBtn.Location = new System.Drawing.Point(15, 25); + this.approvedBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.approvedBtn.Location = new System.Drawing.Point(18, 75); + this.approvedBtn.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.approvedBtn.Name = "approvedBtn"; - this.approvedBtn.Size = new System.Drawing.Size(79, 23); + this.approvedBtn.Size = new System.Drawing.Size(92, 27); this.approvedBtn.TabIndex = 1; this.approvedBtn.Text = "Approved"; this.approvedBtn.UseVisualStyleBackColor = true; @@ -45,27 +47,30 @@ // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Location = new System.Drawing.Point(14, 10); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(104, 13); + this.label1.Size = new System.Drawing.Size(314, 45); this.label1.TabIndex = 0; - this.label1.Text = "Click after approving"; + this.label1.Text = "Amazon is sending you an email.\r\n\r\nPlease press this button after you approve the" + + " notification."; // // ApprovalNeededDialog // this.AcceptButton = this.approvedBtn; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(149, 60); + this.ClientSize = new System.Drawing.Size(345, 115); this.Controls.Add(this.label1); this.Controls.Add(this.approvedBtn); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ApprovalNeededDialog"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Approval Needed"; + this.Text = "Approval Alert Detected"; this.ResumeLayout(false); this.PerformLayout(); diff --git a/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.resx b/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.resx new file mode 100644 index 00000000..f298a7be --- /dev/null +++ b/LibationWinForms/Dialogs/Login/ApprovalNeededDialog.resx @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.Designer.cs b/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.Designer.cs index 6b26968c..95f0b551 100644 --- a/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.Designer.cs +++ b/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.Designer.cs @@ -34,7 +34,8 @@ // // approvedBtn // - this.approvedBtn.Location = new System.Drawing.Point(15, 25); + this.approvedBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.approvedBtn.Location = new System.Drawing.Point(18, 75); this.approvedBtn.Name = "approvedBtn"; this.approvedBtn.Size = new System.Drawing.Size(79, 23); this.approvedBtn.TabIndex = 1; @@ -46,16 +47,17 @@ this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(104, 13); + this.label1.Size = new System.Drawing.Size(280, 39); this.label1.TabIndex = 0; - this.label1.Text = "Click after approving"; + this.label1.Text = "Amazon is sending you an email.\r\n\r\nPlease press this button after you approve the" + + " notification."; // // ApprovalNeededDialog // this.AcceptButton = this.approvedBtn; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(149, 60); + this.ClientSize = new System.Drawing.Size(345, 115); this.Controls.Add(this.label1); this.Controls.Add(this.approvedBtn); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; @@ -64,7 +66,7 @@ this.Name = "ApprovalNeededDialog"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Approval Needed"; + this.Text = "Approval Alert Detected"; this.ResumeLayout(false); this.PerformLayout(); diff --git a/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.resx b/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.resx new file mode 100644 index 00000000..1af7de15 --- /dev/null +++ b/WinFormsDesigner/Dialogs/Login/ApprovalNeededDialog.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/WinFormsDesigner/WinFormsDesigner.csproj b/WinFormsDesigner/WinFormsDesigner.csproj index 5eb48f40..da93d25b 100644 --- a/WinFormsDesigner/WinFormsDesigner.csproj +++ b/WinFormsDesigner/WinFormsDesigner.csproj @@ -182,6 +182,9 @@ LibationFilesDialog.cs + + ApprovalNeededDialog.cs + ScanAccountsDialog.cs