From c9160f2246b1d18452262a1f9f4365f4efbcb43b Mon Sep 17 00:00:00 2001 From: Akipuff Date: Sat, 5 Jan 2019 20:57:54 +0300 Subject: [PATCH] Minor Fixes --- YgoProPatcher/Client.Designer.cs | 138 +++++++++++++++---------------- YgoProPatcher/Client.cs | 2 +- 2 files changed, 70 insertions(+), 70 deletions(-) diff --git a/YgoProPatcher/Client.Designer.cs b/YgoProPatcher/Client.Designer.cs index 75f96e8..e9e0f1c 100644 --- a/YgoProPatcher/Client.Designer.cs +++ b/YgoProPatcher/Client.Designer.cs @@ -62,9 +62,9 @@ private void InitializeComponent() this.submitFaceButton = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.UpdateCheckerTimeNumeric)).BeginInit(); this.SuspendLayout(); - // + // // YGOPRO1PathButton - // + // this.YGOPRO1PathButton.Enabled = false; this.YGOPRO1PathButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.YGOPRO1PathButton.Location = new System.Drawing.Point(525, 73); @@ -75,9 +75,9 @@ private void InitializeComponent() this.YGOPRO1PathButton.UseVisualStyleBackColor = true; this.YGOPRO1PathButton.Visible = false; this.YGOPRO1PathButton.Click += new System.EventHandler(this.YgoProLinksButton_Click); - // + // // YGOPRO2PathButton - // + // this.YGOPRO2PathButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.YGOPRO2PathButton.Location = new System.Drawing.Point(525, 28); this.YGOPRO2PathButton.Name = "YGOPRO2PathButton"; @@ -86,9 +86,9 @@ private void InitializeComponent() this.YGOPRO2PathButton.Text = "Select Path"; this.YGOPRO2PathButton.UseVisualStyleBackColor = true; this.YGOPRO2PathButton.Click += new System.EventHandler(this.YGOPRO2Button_Click); - // + // // YGOPRO1Label - // + // this.YGOPRO1Label.AutoSize = true; this.YGOPRO1Label.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.YGOPRO1Label.Location = new System.Drawing.Point(9, 79); @@ -97,9 +97,9 @@ private void InitializeComponent() this.YGOPRO1Label.TabIndex = 2; this.YGOPRO1Label.Text = "Path to YgoProLinks:"; this.YGOPRO1Label.Visible = false; - // + // // label2 - // + // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label2.Location = new System.Drawing.Point(9, 31); @@ -107,25 +107,25 @@ private void InitializeComponent() this.label2.Size = new System.Drawing.Size(122, 17); this.label2.TabIndex = 3; this.label2.Text = "Path to YGOPro2:"; - // + // // YgoProLinksPath - // + // this.YgoProLinksPath.Enabled = false; this.YgoProLinksPath.Location = new System.Drawing.Point(159, 78); this.YgoProLinksPath.Name = "YgoProLinksPath"; this.YgoProLinksPath.Size = new System.Drawing.Size(360, 20); this.YgoProLinksPath.TabIndex = 4; this.YgoProLinksPath.Visible = false; - // + // // YgoPro2Path - // + // this.YgoPro2Path.Location = new System.Drawing.Point(159, 31); this.YgoPro2Path.Name = "YgoPro2Path"; this.YgoPro2Path.Size = new System.Drawing.Size(360, 20); this.YgoPro2Path.TabIndex = 5; - // + // // UpdateButton - // + // this.UpdateButton.BackColor = System.Drawing.SystemColors.ActiveCaption; this.UpdateButton.Font = new System.Drawing.Font("MS Reference Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.UpdateButton.ForeColor = System.Drawing.SystemColors.ControlText; @@ -136,9 +136,9 @@ private void InitializeComponent() this.UpdateButton.Text = "Update YGOPro2"; this.UpdateButton.UseVisualStyleBackColor = false; this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click); - // + // // Status - // + // this.Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.Status.Location = new System.Drawing.Point(33, 307); this.Status.Name = "Status"; @@ -146,18 +146,18 @@ private void InitializeComponent() this.Status.TabIndex = 8; this.Status.Text = "Ready"; this.Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // + // // progressBar - // + // this.progressBar.Location = new System.Drawing.Point(225, 333); this.progressBar.Maximum = 90; this.progressBar.Name = "progressBar"; this.progressBar.Size = new System.Drawing.Size(182, 23); this.progressBar.TabIndex = 9; this.progressBar.Visible = false; - // + // // cancelButton - // + // this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Location = new System.Drawing.Point(225, 383); this.cancelButton.Name = "cancelButton"; @@ -167,9 +167,9 @@ private void InitializeComponent() this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.Visible = false; this.cancelButton.Click += new System.EventHandler(this.Cancel_Click); - // + // // internetCheckbox - // + // this.internetCheckbox.AutoSize = true; this.internetCheckbox.Checked = true; this.internetCheckbox.CheckState = System.Windows.Forms.CheckState.Checked; @@ -179,16 +179,16 @@ private void InitializeComponent() this.internetCheckbox.Name = "internetCheckbox"; this.internetCheckbox.Size = new System.Drawing.Size(394, 21); this.internetCheckbox.TabIndex = 11; - this.internetCheckbox.Text = "Download high quality pictures from the internet if possible"; + this.internetCheckbox.Text = "Download high quality pictures from the internet if possible."; this.internetCheckbox.UseVisualStyleBackColor = true; - // + // // backgroundWorker1 - // + // this.backgroundWorker1.WorkerSupportsCancellation = true; this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.BackgroundWorker1_DoWork); - // + // // footerLabel - // + // this.footerLabel.AutoSize = true; this.footerLabel.Enabled = false; this.footerLabel.Font = new System.Drawing.Font("Lato", 8.999999F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Italic | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -197,9 +197,9 @@ private void InitializeComponent() this.footerLabel.Size = new System.Drawing.Size(111, 15); this.footerLabel.TabIndex = 12; this.footerLabel.Text = "Created by Szefo09, "; - // + // // gitHubDownloadCheckbox - // + // this.gitHubDownloadCheckbox.AutoSize = true; this.gitHubDownloadCheckbox.Checked = true; this.gitHubDownloadCheckbox.CheckState = System.Windows.Forms.CheckState.Checked; @@ -208,12 +208,12 @@ private void InitializeComponent() this.gitHubDownloadCheckbox.Name = "gitHubDownloadCheckbox"; this.gitHubDownloadCheckbox.Size = new System.Drawing.Size(371, 21); this.gitHubDownloadCheckbox.TabIndex = 13; - this.gitHubDownloadCheckbox.Text = "Download files from the internet without YGOPro Percy"; + this.gitHubDownloadCheckbox.Text = "Download files from the internet without YGOPro Percy."; this.gitHubDownloadCheckbox.UseVisualStyleBackColor = true; this.gitHubDownloadCheckbox.CheckedChanged += new System.EventHandler(this.GitHubDownloadCheckbox_CheckedChanged); - // + // // exitButton - // + // this.exitButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.exitButton.Location = new System.Drawing.Point(225, 383); this.exitButton.Name = "exitButton"; @@ -223,47 +223,47 @@ private void InitializeComponent() this.exitButton.UseVisualStyleBackColor = true; this.exitButton.Visible = false; this.exitButton.Click += new System.EventHandler(this.ExitButton_Click); - // + // // OverwriteCheckbox - // + // this.OverwriteCheckbox.AutoSize = true; this.OverwriteCheckbox.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.OverwriteCheckbox.Location = new System.Drawing.Point(12, 198); this.OverwriteCheckbox.Name = "OverwriteCheckbox"; this.OverwriteCheckbox.Size = new System.Drawing.Size(153, 38); this.OverwriteCheckbox.TabIndex = 16; - this.OverwriteCheckbox.Text = "Overwrite Pictures\r\n(Not recommended)"; + this.OverwriteCheckbox.Text = "Overwrite pictures.\r\n(Not recommended)"; this.OverwriteCheckbox.UseVisualStyleBackColor = true; - // + // // debug - // + // this.debug.AutoSize = true; this.debug.Location = new System.Drawing.Point(545, 230); this.debug.Name = "debug"; this.debug.Size = new System.Drawing.Size(0, 13); this.debug.TabIndex = 17; - // + // // ReinstallCheckbox - // + // this.ReinstallCheckbox.AutoSize = true; this.ReinstallCheckbox.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Underline); this.ReinstallCheckbox.Location = new System.Drawing.Point(12, 242); this.ReinstallCheckbox.Name = "ReinstallCheckbox"; this.ReinstallCheckbox.Size = new System.Drawing.Size(189, 38); this.ReinstallCheckbox.TabIndex = 19; - this.ReinstallCheckbox.Text = "Reinstall YGOPro2 Client \r\nbefore updating\r\n"; + this.ReinstallCheckbox.Text = "Reinstall YGOPro2 client \r\nbefore updating.\r\n"; this.ReinstallCheckbox.UseVisualStyleBackColor = true; - // + // // toolTip1 - // + // this.toolTip1.AutomaticDelay = 100; this.toolTip1.AutoPopDelay = 10000; this.toolTip1.InitialDelay = 100; this.toolTip1.ReshowDelay = 20; this.toolTip1.ShowAlways = true; - // + // // FinishButton - // + // this.FinishButton.BackColor = System.Drawing.Color.DarkKhaki; this.FinishButton.Enabled = false; this.FinishButton.Font = new System.Drawing.Font("MS Reference Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -272,13 +272,13 @@ private void InitializeComponent() this.FinishButton.Name = "FinishButton"; this.FinishButton.Size = new System.Drawing.Size(182, 82); this.FinishButton.TabIndex = 21; - this.FinishButton.Text = "Exit the updater\r\n&&\r\nLaunch YGOPro2"; + this.FinishButton.Text = "Exit the updater\r\n&&\r\nLaunch YGOPro2."; this.FinishButton.UseVisualStyleBackColor = false; this.FinishButton.Visible = false; this.FinishButton.Click += new System.EventHandler(this.FinishButton_Click); - // + // // label4 - // + // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label4.Location = new System.Drawing.Point(459, 330); @@ -287,13 +287,13 @@ private void InitializeComponent() this.label4.TabIndex = 23; this.label4.Text = "Please close YGOPro2\r\nbefore updating!"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // + // // backgroundWorker2 - // + // this.backgroundWorker2.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker2_DoWork); - // + // // UpdateCheckerButton - // + // this.UpdateCheckerButton.Location = new System.Drawing.Point(485, 112); this.UpdateCheckerButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.UpdateCheckerButton.Name = "UpdateCheckerButton"; @@ -302,9 +302,9 @@ private void InitializeComponent() this.UpdateCheckerButton.Text = "Check For New Updates"; this.UpdateCheckerButton.UseVisualStyleBackColor = true; this.UpdateCheckerButton.Click += new System.EventHandler(this.UpdateCheckerButton_Click); - // + // // UpdateCheckerTimeNumeric - // + // this.UpdateCheckerTimeNumeric.Location = new System.Drawing.Point(578, 180); this.UpdateCheckerTimeNumeric.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.UpdateCheckerTimeNumeric.Maximum = new decimal(new int[] { @@ -326,9 +326,9 @@ private void InitializeComponent() 0, 0}); this.UpdateCheckerTimeNumeric.ValueChanged += new System.EventHandler(this.UpdateCheckerTimeNumeric_ValueChanged); - // + // // label1 - // + // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label1.Location = new System.Drawing.Point(430, 182); @@ -337,18 +337,18 @@ private void InitializeComponent() this.label1.Size = new System.Drawing.Size(145, 15); this.label1.TabIndex = 26; this.label1.Text = "Minutes between checks:"; - // + // // UpdateWhenLabel - // + // this.UpdateWhenLabel.AutoSize = true; this.UpdateWhenLabel.Location = new System.Drawing.Point(430, 209); this.UpdateWhenLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.UpdateWhenLabel.Name = "UpdateWhenLabel"; this.UpdateWhenLabel.Size = new System.Drawing.Size(0, 13); this.UpdateWhenLabel.TabIndex = 27; - // + // // MimimizeButton - // + // this.MimimizeButton.Location = new System.Drawing.Point(505, 242); this.MimimizeButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.MimimizeButton.Name = "MimimizeButton"; @@ -357,16 +357,16 @@ private void InitializeComponent() this.MimimizeButton.Text = "Minimize to taskbar"; this.MimimizeButton.UseVisualStyleBackColor = true; this.MimimizeButton.Click += new System.EventHandler(this.MinimizeButton_Click); - // + // // notifyIcon1 - // + // this.notifyIcon1.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.notifyIcon1.Text = "YgoProPatcher "; this.notifyIcon1.Visible = true; this.notifyIcon1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseClick); - // + // // StartMinimizedCheckbox - // + // this.StartMinimizedCheckbox.AutoSize = true; this.StartMinimizedCheckbox.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.StartMinimizedCheckbox.Location = new System.Drawing.Point(476, 278); @@ -374,22 +374,22 @@ private void InitializeComponent() this.StartMinimizedCheckbox.Name = "StartMinimizedCheckbox"; this.StartMinimizedCheckbox.Size = new System.Drawing.Size(151, 38); this.StartMinimizedCheckbox.TabIndex = 29; - this.StartMinimizedCheckbox.Text = "Start minimized and\r\ncheck for updates"; + this.StartMinimizedCheckbox.Text = "Start minimized and\r\ncheck for updates."; this.StartMinimizedCheckbox.UseVisualStyleBackColor = true; - // + // // submitFaceButton - // + // this.submitFaceButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.submitFaceButton.Location = new System.Drawing.Point(12, 379); this.submitFaceButton.Name = "submitFaceButton"; this.submitFaceButton.Size = new System.Drawing.Size(189, 62); this.submitFaceButton.TabIndex = 30; - this.submitFaceButton.Text = "Click this if You want to \r\nsubmit Your own custom face icon for YGOPro2"; + this.submitFaceButton.Text = "Click this if you want to \r\nsubmit your own custom face icon for YGOPro2"; this.submitFaceButton.UseVisualStyleBackColor = true; this.submitFaceButton.Click += new System.EventHandler(this.FormSubmitButton_click); - // + // // YgoProPatcher - // + // this.AcceptButton = this.UpdateButton; this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; diff --git a/YgoProPatcher/Client.cs b/YgoProPatcher/Client.cs index d27be26..3025c23 100644 --- a/YgoProPatcher/Client.cs +++ b/YgoProPatcher/Client.cs @@ -41,7 +41,7 @@ public YgoProPatcher() toolTip1.SetToolTip(UpdateWhenLabel, "This label tells you if/when the next check will occur or if it's on cooldown!"); toolTip1.SetToolTip(MimimizeButton, "This button makes the application minimize to taskbar!\nUseful if you want to check for updates without this window taking space!"); toolTip1.SetToolTip(StartMinimizedCheckbox, "This lets you make YgoProPatcher start in background,\nchecking for new updates in background!"); - toolTip1.SetToolTip(submitFaceButton, "This button will open you a website where you can submit a custom face icon\nthat others will be able to see if they also update using the patcher."); + toolTip1.SetToolTip(submitFaceButton, "This button will open a webpage where you can submit a custom face icon\nthat others will be able to see if they also update using the patcher."); string version = Data.version; footerLabel.Text += version; CheckForNewVersionOfPatcher(version);