diff --git a/src/Configurations.cs b/src/Configurations.cs index d1bdf76..700c234 100644 --- a/src/Configurations.cs +++ b/src/Configurations.cs @@ -14,6 +14,6 @@ public static class Configurations /// /// 配置 /// - public static readonly Configuration UISettings = new(Path.Combine(Constants.ConfigurationDirectory, "UISettings.json"), new UISettings(UIStyle.LightBlue, LogLevel.Info, false, false, true, true)); + public static readonly Configuration UISettings = new(Path.Combine(Constants.ConfigurationDirectory, "UISettings.json"), new UISettings(UIStyle.Blue, LogLevel.Info, false, false, true, true)); } } diff --git a/src/Constants.cs b/src/Constants.cs index 2549415..f297df2 100644 --- a/src/Constants.cs +++ b/src/Constants.cs @@ -18,12 +18,12 @@ public static class Constants /// /// 项目链接 /// - public static readonly string RepositoryLink = "https://github.com/Mo-Ink/SeewoHelper"; + public static readonly string RepositoryLink = "https://github.com/SugarMGP/SeewoHelper"; /// - /// Mo-Ink Github 主页 + /// SugarMGP Github 主页 /// - public static readonly string MoInkLink = "https://github.com/Mo-Ink"; + public static readonly string SugarLink = "https://github.com/SugarMGP"; /// /// Ricky Github 主页 @@ -38,7 +38,7 @@ public static class Constants /// /// Releases API 链接 /// - public static readonly string ReleasesLink = "https://api.github.com/repos/Mo-Ink/SeewoHelper/releases"; + public static readonly string ReleasesLink = "https://api.github.com/repos/SugarMGP/SeewoHelper/releases"; /// /// 应用运行文件夹路径 diff --git a/src/Forms/FileSortingInfoGettingWindow.Designer.cs b/src/Forms/FileSortingInfoGettingWindow.Designer.cs index fc89e3d..0cb878b 100644 --- a/src/Forms/FileSortingInfoGettingWindow.Designer.cs +++ b/src/Forms/FileSortingInfoGettingWindow.Designer.cs @@ -77,7 +77,7 @@ private void InitializeComponent() this.buttonOK.Name = "buttonOK"; this.buttonOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonOK.Size = new System.Drawing.Size(91, 40); - this.buttonOK.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonOK.Style = Sunny.UI.UIStyle.Blue; this.buttonOK.TabIndex = 0; this.buttonOK.Text = "确定"; this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click); @@ -99,7 +99,7 @@ private void InitializeComponent() this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCancel.Size = new System.Drawing.Size(92, 40); - this.buttonCancel.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonCancel.Style = Sunny.UI.UIStyle.Blue; this.buttonCancel.TabIndex = 1; this.buttonCancel.Text = "取消"; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); @@ -111,7 +111,7 @@ private void InitializeComponent() this.label1.Location = new System.Drawing.Point(3, 50); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 19); - this.label1.Style = Sunny.UI.UIStyle.LightBlue; + this.label1.Style = Sunny.UI.UIStyle.Blue; this.label1.TabIndex = 6; this.label1.Text = "名称:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -123,7 +123,7 @@ private void InitializeComponent() this.label2.Location = new System.Drawing.Point(3, 82); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(74, 19); - this.label2.Style = Sunny.UI.UIStyle.LightBlue; + this.label2.Style = Sunny.UI.UIStyle.Blue; this.label2.TabIndex = 7; this.label2.Text = "指定路径:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -135,7 +135,7 @@ private void InitializeComponent() this.label3.Location = new System.Drawing.Point(3, 116); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 19); - this.label3.Style = Sunny.UI.UIStyle.LightBlue; + this.label3.Style = Sunny.UI.UIStyle.Blue; this.label3.TabIndex = 8; this.label3.Text = "关键词:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -153,7 +153,7 @@ private void InitializeComponent() this.textBoxName.Name = "textBoxName"; this.textBoxName.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.textBoxName.Size = new System.Drawing.Size(815, 25); - this.textBoxName.Style = Sunny.UI.UIStyle.LightBlue; + this.textBoxName.Style = Sunny.UI.UIStyle.Blue; this.textBoxName.TabIndex = 9; // // textBoxPath @@ -170,7 +170,7 @@ private void InitializeComponent() this.textBoxPath.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.textBoxPath.ReadOnly = true; this.textBoxPath.Size = new System.Drawing.Size(768, 25); - this.textBoxPath.Style = Sunny.UI.UIStyle.LightBlue; + this.textBoxPath.Style = Sunny.UI.UIStyle.Blue; this.textBoxPath.TabIndex = 10; // // textBoxKeywords @@ -187,7 +187,7 @@ private void InitializeComponent() this.textBoxKeywords.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.textBoxKeywords.ReadOnly = true; this.textBoxKeywords.Size = new System.Drawing.Size(768, 25); - this.textBoxKeywords.Style = Sunny.UI.UIStyle.LightBlue; + this.textBoxKeywords.Style = Sunny.UI.UIStyle.Blue; this.textBoxKeywords.TabIndex = 11; // // buttonGettingPath @@ -203,7 +203,7 @@ private void InitializeComponent() this.buttonGettingPath.Name = "buttonGettingPath"; this.buttonGettingPath.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonGettingPath.Size = new System.Drawing.Size(38, 24); - this.buttonGettingPath.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonGettingPath.Style = Sunny.UI.UIStyle.Blue; this.buttonGettingPath.TabIndex = 12; this.buttonGettingPath.Text = "..."; this.buttonGettingPath.Click += new System.EventHandler(this.ButtonGettingPath_Click); @@ -221,7 +221,7 @@ private void InitializeComponent() this.buttonEditKeyword.Name = "buttonEditKeyword"; this.buttonEditKeyword.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonEditKeyword.Size = new System.Drawing.Size(38, 24); - this.buttonEditKeyword.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonEditKeyword.Style = Sunny.UI.UIStyle.Blue; this.buttonEditKeyword.TabIndex = 13; this.buttonEditKeyword.Text = "编辑"; this.buttonEditKeyword.Click += new System.EventHandler(this.ButtonEditKeyword_Click); @@ -248,7 +248,7 @@ private void InitializeComponent() this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FileSortingInfoGettingWindow"; - this.Style = Sunny.UI.UIStyle.LightBlue; + this.Style = Sunny.UI.UIStyle.Blue; this.Text = "添加/编辑文件整理信息"; this.Load += new System.EventHandler(this.FileSortingInfoGettingWindow_Load); this.tableLayoutPanelButton.ResumeLayout(false); diff --git a/src/Forms/KeywordEditWindow.Designer.cs b/src/Forms/KeywordEditWindow.Designer.cs index 34f716b..fcaf6f5 100644 --- a/src/Forms/KeywordEditWindow.Designer.cs +++ b/src/Forms/KeywordEditWindow.Designer.cs @@ -86,7 +86,7 @@ private void InitializeComponent() this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonDelete.Size = new System.Drawing.Size(102, 33); - this.buttonDelete.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonDelete.Style = Sunny.UI.UIStyle.Blue; this.buttonDelete.TabIndex = 1; this.buttonDelete.Text = "删除"; this.buttonDelete.Click += new System.EventHandler(this.ButtonDelete_Click); @@ -105,7 +105,7 @@ private void InitializeComponent() this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonAdd.Size = new System.Drawing.Size(102, 32); - this.buttonAdd.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonAdd.Style = Sunny.UI.UIStyle.Blue; this.buttonAdd.TabIndex = 0; this.buttonAdd.Text = "新建"; this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click); @@ -144,7 +144,7 @@ private void InitializeComponent() this.buttonOK.Name = "buttonOK"; this.buttonOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonOK.Size = new System.Drawing.Size(91, 42); - this.buttonOK.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonOK.Style = Sunny.UI.UIStyle.Blue; this.buttonOK.TabIndex = 0; this.buttonOK.Text = "确定"; this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click); @@ -166,7 +166,7 @@ private void InitializeComponent() this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCancel.Size = new System.Drawing.Size(92, 42); - this.buttonCancel.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonCancel.Style = Sunny.UI.UIStyle.Blue; this.buttonCancel.TabIndex = 1; this.buttonCancel.Text = "取消"; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); @@ -187,7 +187,7 @@ private void InitializeComponent() this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "KeywordEditWindow"; - this.Style = Sunny.UI.UIStyle.LightBlue; + this.Style = Sunny.UI.UIStyle.Blue; this.Text = "编辑关键词"; this.Load += new System.EventHandler(this.KeywordEditWindow_Load); this.tableLayoutPanel.ResumeLayout(false); diff --git a/src/Forms/KeywordGettingWindow.Designer.cs b/src/Forms/KeywordGettingWindow.Designer.cs index 6e2157b..0bf460d 100644 --- a/src/Forms/KeywordGettingWindow.Designer.cs +++ b/src/Forms/KeywordGettingWindow.Designer.cs @@ -69,7 +69,7 @@ private void InitializeComponent() this.labelMatchingWay.Location = new System.Drawing.Point(3, 36); this.labelMatchingWay.Name = "labelMatchingWay"; this.labelMatchingWay.Size = new System.Drawing.Size(74, 36); - this.labelMatchingWay.Style = Sunny.UI.UIStyle.LightBlue; + this.labelMatchingWay.Style = Sunny.UI.UIStyle.Blue; this.labelMatchingWay.TabIndex = 2; this.labelMatchingWay.Text = "匹配方式:"; this.labelMatchingWay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -84,7 +84,7 @@ private void InitializeComponent() this.labelPattern.Location = new System.Drawing.Point(3, 0); this.labelPattern.Name = "labelPattern"; this.labelPattern.Size = new System.Drawing.Size(74, 36); - this.labelPattern.Style = Sunny.UI.UIStyle.LightBlue; + this.labelPattern.Style = Sunny.UI.UIStyle.Blue; this.labelPattern.TabIndex = 1; this.labelPattern.Text = "关键词:"; this.labelPattern.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -105,7 +105,7 @@ private void InitializeComponent() this.textBoxPattern.Name = "textBoxPattern"; this.textBoxPattern.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.textBoxPattern.Size = new System.Drawing.Size(694, 28); - this.textBoxPattern.Style = Sunny.UI.UIStyle.LightBlue; + this.textBoxPattern.Style = Sunny.UI.UIStyle.Blue; this.textBoxPattern.TabIndex = 2; this.textBoxPattern.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; // @@ -129,7 +129,7 @@ private void InitializeComponent() this.comboBoxMatchingWay.Name = "comboBoxMatchingWay"; this.comboBoxMatchingWay.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); this.comboBoxMatchingWay.Size = new System.Drawing.Size(694, 25); - this.comboBoxMatchingWay.Style = Sunny.UI.UIStyle.LightBlue; + this.comboBoxMatchingWay.Style = Sunny.UI.UIStyle.Blue; this.comboBoxMatchingWay.TabIndex = 3; this.comboBoxMatchingWay.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; // @@ -168,7 +168,7 @@ private void InitializeComponent() this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCancel.Size = new System.Drawing.Size(96, 40); - this.buttonCancel.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonCancel.Style = Sunny.UI.UIStyle.Blue; this.buttonCancel.TabIndex = 1; this.buttonCancel.Text = "取消"; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); @@ -189,7 +189,7 @@ private void InitializeComponent() this.buttonOK.Name = "buttonOK"; this.buttonOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonOK.Size = new System.Drawing.Size(97, 40); - this.buttonOK.Style = Sunny.UI.UIStyle.LightBlue; + this.buttonOK.Style = Sunny.UI.UIStyle.Blue; this.buttonOK.TabIndex = 0; this.buttonOK.Text = "确定"; this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click); @@ -206,7 +206,7 @@ private void InitializeComponent() this.Margin = new System.Windows.Forms.Padding(4); this.MaximizeBox = false; this.Name = "KeywordGettingWindow"; - this.Style = Sunny.UI.UIStyle.LightBlue; + this.Style = Sunny.UI.UIStyle.Blue; this.Text = "修改关键词"; this.Load += new System.EventHandler(this.KeywordGettingWindow_Load); this.tableLayoutPanel1.ResumeLayout(false); diff --git a/src/Forms/ReleaseAssetDownloadingWindow.Designer.cs b/src/Forms/ReleaseAssetDownloadingWindow.Designer.cs index 5fd7e26..13695f1 100644 --- a/src/Forms/ReleaseAssetDownloadingWindow.Designer.cs +++ b/src/Forms/ReleaseAssetDownloadingWindow.Designer.cs @@ -53,7 +53,7 @@ private void InitializeComponent() this.listBoxRelease.Name = "listBoxRelease"; this.listBoxRelease.Padding = new System.Windows.Forms.Padding(2); this.listBoxRelease.Size = new System.Drawing.Size(300, 330); - this.listBoxRelease.Style = Sunny.UI.UIStyle.LightBlue; + this.listBoxRelease.Style = Sunny.UI.UIStyle.Blue; this.listBoxRelease.TabIndex = 0; this.listBoxRelease.Text = null; this.listBoxRelease.TextAlignment = System.Drawing.StringAlignment.Center; @@ -87,7 +87,7 @@ private void InitializeComponent() this.checkBoxFastGit.Name = "checkBoxFastGit"; this.checkBoxFastGit.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxFastGit.Size = new System.Drawing.Size(144, 36); - this.checkBoxFastGit.Style = Sunny.UI.UIStyle.LightBlue; + this.checkBoxFastGit.Style = Sunny.UI.UIStyle.Blue; this.checkBoxFastGit.TabIndex = 1; this.checkBoxFastGit.Text = "使用FastGit加速"; // @@ -101,7 +101,7 @@ private void InitializeComponent() this.labelVersion.Location = new System.Drawing.Point(3, 0); this.labelVersion.Name = "labelVersion"; this.labelVersion.Size = new System.Drawing.Size(302, 33); - this.labelVersion.Style = Sunny.UI.UIStyle.LightBlue; + this.labelVersion.Style = Sunny.UI.UIStyle.Blue; this.labelVersion.TabIndex = 2; this.labelVersion.Text = "当前版本"; this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -116,7 +116,7 @@ private void InitializeComponent() this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ReleaseAssetDownloadingWindow"; - this.Style = Sunny.UI.UIStyle.LightBlue; + this.Style = Sunny.UI.UIStyle.Blue; this.Text = "双击Release以下载"; this.Load += new System.EventHandler(this.UpdateReleaseChooseWindow_Load); this.tableLayoutPanel.ResumeLayout(false); diff --git a/src/Forms/UpdateCheckerWindow.Designer.cs b/src/Forms/UpdateCheckerWindow.Designer.cs index d5fd0c2..0136ec1 100644 --- a/src/Forms/UpdateCheckerWindow.Designer.cs +++ b/src/Forms/UpdateCheckerWindow.Designer.cs @@ -50,13 +50,14 @@ private void InitializeComponent() this.ButtonOK.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.ButtonOK.Font = new System.Drawing.Font("微软雅黑", 10.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.ButtonOK.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); + this.ButtonOK.IsScaled = false; this.ButtonOK.Location = new System.Drawing.Point(284, 282); this.ButtonOK.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.ButtonOK.MinimumSize = new System.Drawing.Size(1, 1); this.ButtonOK.Name = "ButtonOK"; this.ButtonOK.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.ButtonOK.Size = new System.Drawing.Size(97, 42); - this.ButtonOK.Style = Sunny.UI.UIStyle.LightBlue; + this.ButtonOK.Style = Sunny.UI.UIStyle.Blue; this.ButtonOK.TabIndex = 4; this.ButtonOK.Text = "确定"; this.ButtonOK.Click += new System.EventHandler(this.ButtonOK_Click); @@ -71,7 +72,6 @@ private void InitializeComponent() this.labelTitle.Location = new System.Drawing.Point(3, 0); this.labelTitle.Name = "labelTitle"; this.labelTitle.Size = new System.Drawing.Size(384, 82); - this.labelTitle.Style = Sunny.UI.UIStyle.LightBlue; this.labelTitle.TabIndex = 2; this.labelTitle.Text = "检查更新"; this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -126,7 +126,7 @@ private void InitializeComponent() this.labelPreRelease.Location = new System.Drawing.Point(3, 72); this.labelPreRelease.Name = "labelPreRelease"; this.labelPreRelease.Size = new System.Drawing.Size(186, 73); - this.labelPreRelease.Style = Sunny.UI.UIStyle.LightBlue; + this.labelPreRelease.Style = Sunny.UI.UIStyle.Blue; this.labelPreRelease.TabIndex = 1; this.labelPreRelease.Text = "最新开发版:"; this.labelPreRelease.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -147,7 +147,7 @@ private void InitializeComponent() this.linkLabelRelease.Location = new System.Drawing.Point(195, 0); this.linkLabelRelease.Name = "linkLabelRelease"; this.linkLabelRelease.Size = new System.Drawing.Size(186, 72); - this.linkLabelRelease.Style = Sunny.UI.UIStyle.LightBlue; + this.linkLabelRelease.Style = Sunny.UI.UIStyle.Blue; this.linkLabelRelease.TabIndex = 2; this.linkLabelRelease.TabStop = true; this.linkLabelRelease.Text = "检测中……"; @@ -172,7 +172,7 @@ private void InitializeComponent() this.linkLabelPrerelease.Location = new System.Drawing.Point(195, 72); this.linkLabelPrerelease.Name = "linkLabelPrerelease"; this.linkLabelPrerelease.Size = new System.Drawing.Size(186, 73); - this.linkLabelPrerelease.Style = Sunny.UI.UIStyle.LightBlue; + this.linkLabelPrerelease.Style = Sunny.UI.UIStyle.Blue; this.linkLabelPrerelease.TabIndex = 3; this.linkLabelPrerelease.TabStop = true; this.linkLabelPrerelease.Text = "检测中……"; @@ -191,7 +191,7 @@ private void InitializeComponent() this.labelRelease.Location = new System.Drawing.Point(3, 0); this.labelRelease.Name = "labelRelease"; this.labelRelease.Size = new System.Drawing.Size(186, 72); - this.labelRelease.Style = Sunny.UI.UIStyle.LightBlue; + this.labelRelease.Style = Sunny.UI.UIStyle.Blue; this.labelRelease.TabIndex = 0; this.labelRelease.Text = "最新正式版:"; this.labelRelease.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -205,13 +205,14 @@ private void InitializeComponent() this.ButtonCheckAgain.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.ButtonCheckAgain.Font = new System.Drawing.Font("微软雅黑", 10.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.ButtonCheckAgain.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); + this.ButtonCheckAgain.IsScaled = false; this.ButtonCheckAgain.Location = new System.Drawing.Point(170, 282); this.ButtonCheckAgain.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.ButtonCheckAgain.MinimumSize = new System.Drawing.Size(1, 1); this.ButtonCheckAgain.Name = "ButtonCheckAgain"; this.ButtonCheckAgain.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.ButtonCheckAgain.Size = new System.Drawing.Size(108, 42); - this.ButtonCheckAgain.Style = Sunny.UI.UIStyle.LightBlue; + this.ButtonCheckAgain.Style = Sunny.UI.UIStyle.Blue; this.ButtonCheckAgain.TabIndex = 5; this.ButtonCheckAgain.Text = "重新检测"; this.ButtonCheckAgain.Click += new System.EventHandler(this.ButtonCheckAgain_Click); @@ -232,7 +233,7 @@ private void InitializeComponent() this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "UpdateCheckerWindow"; - this.Style = Sunny.UI.UIStyle.LightBlue; + this.Style = Sunny.UI.UIStyle.Blue; this.Text = "检查更新"; this.Load += new System.EventHandler(this.UpgradeWindow_Load); this.tableLayoutPanel1.ResumeLayout(false); diff --git a/src/Forms/WindowMain.Designer.cs b/src/Forms/WindowMain.Designer.cs index dda3df0..ad5a346 100644 --- a/src/Forms/WindowMain.Designer.cs +++ b/src/Forms/WindowMain.Designer.cs @@ -70,11 +70,11 @@ private void InitializeComponent() this.labelProgramName = new Sunny.UI.UILabel(); this.labelVersion = new Sunny.UI.UILabel(); this.tableLayoutPanelContributors = new System.Windows.Forms.TableLayoutPanel(); - this.uiAvatarMoInk = new Sunny.UI.UIAvatar(); + this.uiAvatarSugar = new Sunny.UI.UIAvatar(); this.uiAvatarRicky = new Sunny.UI.UIAvatar(); this.tableLayoutPanelMoInk = new System.Windows.Forms.TableLayoutPanel(); - this.symbolLabelMoInk = new Sunny.UI.UISymbolLabel(); - this.linkLabelMoInkGithub = new Sunny.UI.UILinkLabel(); + this.symbolLabelSugar = new Sunny.UI.UISymbolLabel(); + this.linkLabelSugarGithub = new Sunny.UI.UILinkLabel(); this.tableLayoutPanelRicky = new System.Windows.Forms.TableLayoutPanel(); this.linkLabelRickyGithub = new Sunny.UI.UILinkLabel(); this.symbolLabelRicky = new Sunny.UI.UISymbolLabel(); @@ -110,7 +110,7 @@ private void InitializeComponent() // // tabPageFileSorting // - this.tabPageFileSorting.BackColor = System.Drawing.Color.White; + this.tabPageFileSorting.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(249)))), ((int)(((byte)(241))))); this.tabPageFileSorting.Controls.Add(this.buttonStartFileSorting); this.tabPageFileSorting.Controls.Add(this.comboBoxExtraFileSortingWay); this.tabPageFileSorting.Controls.Add(this.labelExtraFileSortingWay); @@ -127,17 +127,12 @@ private void InitializeComponent() // buttonStartFileSorting // this.buttonStartFileSorting.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonStartFileSorting.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonStartFileSorting.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonStartFileSorting.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.buttonStartFileSorting.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonStartFileSorting.Location = new System.Drawing.Point(706, 413); this.buttonStartFileSorting.Margin = new System.Windows.Forms.Padding(4); this.buttonStartFileSorting.MinimumSize = new System.Drawing.Size(1, 1); this.buttonStartFileSorting.Name = "buttonStartFileSorting"; - this.buttonStartFileSorting.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonStartFileSorting.Size = new System.Drawing.Size(91, 32); - this.buttonStartFileSorting.Style = Sunny.UI.UIStyle.LightBlue; this.buttonStartFileSorting.TabIndex = 16; this.buttonStartFileSorting.Text = "整理"; this.buttonStartFileSorting.Click += new System.EventHandler(this.ButtonStartFileSorting_Click); @@ -154,7 +149,6 @@ private void InitializeComponent() this.comboBoxExtraFileSortingWay.Name = "comboBoxExtraFileSortingWay"; this.comboBoxExtraFileSortingWay.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); this.comboBoxExtraFileSortingWay.Size = new System.Drawing.Size(655, 26); - this.comboBoxExtraFileSortingWay.Style = Sunny.UI.UIStyle.LightBlue; this.comboBoxExtraFileSortingWay.TabIndex = 20; this.comboBoxExtraFileSortingWay.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; // @@ -165,7 +159,6 @@ private void InitializeComponent() this.labelExtraFileSortingWay.Location = new System.Drawing.Point(7, 7); this.labelExtraFileSortingWay.Name = "labelExtraFileSortingWay"; this.labelExtraFileSortingWay.Size = new System.Drawing.Size(135, 20); - this.labelExtraFileSortingWay.Style = Sunny.UI.UIStyle.LightBlue; this.labelExtraFileSortingWay.TabIndex = 19; this.labelExtraFileSortingWay.Text = "额外文件处理方式:"; this.labelExtraFileSortingWay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -216,6 +209,7 @@ private void InitializeComponent() this.tableLayoutPanelSubjectStorageInfoListControlButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanelSubjectStorageInfoListControlButtons.Controls.Add(this.buttonFileSortingInfoAdd, 0, 0); this.tableLayoutPanelSubjectStorageInfoListControlButtons.Controls.Add(this.buttonFileSortingInfoRemove, 1, 0); + this.tableLayoutPanelSubjectStorageInfoListControlButtons.ForeColor = System.Drawing.Color.White; this.tableLayoutPanelSubjectStorageInfoListControlButtons.Location = new System.Drawing.Point(4, 409); this.tableLayoutPanelSubjectStorageInfoListControlButtons.Margin = new System.Windows.Forms.Padding(4); this.tableLayoutPanelSubjectStorageInfoListControlButtons.Name = "tableLayoutPanelSubjectStorageInfoListControlButtons"; @@ -230,17 +224,12 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonFileSortingInfoAdd.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonFileSortingInfoAdd.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonFileSortingInfoAdd.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonFileSortingInfoAdd.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.buttonFileSortingInfoAdd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonFileSortingInfoAdd.Location = new System.Drawing.Point(4, 4); this.buttonFileSortingInfoAdd.Margin = new System.Windows.Forms.Padding(4); this.buttonFileSortingInfoAdd.MinimumSize = new System.Drawing.Size(1, 1); this.buttonFileSortingInfoAdd.Name = "buttonFileSortingInfoAdd"; - this.buttonFileSortingInfoAdd.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonFileSortingInfoAdd.Size = new System.Drawing.Size(91, 32); - this.buttonFileSortingInfoAdd.Style = Sunny.UI.UIStyle.LightBlue; this.buttonFileSortingInfoAdd.TabIndex = 0; this.buttonFileSortingInfoAdd.Text = "添加"; this.buttonFileSortingInfoAdd.Click += new System.EventHandler(this.ButtonSubjectStorageInfoAdd_Click); @@ -251,17 +240,12 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonFileSortingInfoRemove.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonFileSortingInfoRemove.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonFileSortingInfoRemove.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonFileSortingInfoRemove.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.buttonFileSortingInfoRemove.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonFileSortingInfoRemove.Location = new System.Drawing.Point(103, 4); this.buttonFileSortingInfoRemove.Margin = new System.Windows.Forms.Padding(4); this.buttonFileSortingInfoRemove.MinimumSize = new System.Drawing.Size(1, 1); this.buttonFileSortingInfoRemove.Name = "buttonFileSortingInfoRemove"; - this.buttonFileSortingInfoRemove.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonFileSortingInfoRemove.Size = new System.Drawing.Size(91, 32); - this.buttonFileSortingInfoRemove.Style = Sunny.UI.UIStyle.LightBlue; this.buttonFileSortingInfoRemove.TabIndex = 1; this.buttonFileSortingInfoRemove.Text = "删除"; this.buttonFileSortingInfoRemove.Click += new System.EventHandler(this.ButtonSubjectInfoRemove_Click); @@ -282,20 +266,19 @@ private void InitializeComponent() this.tabControl.Location = new System.Drawing.Point(4, 39); this.tabControl.MainPage = ""; this.tabControl.Margin = new System.Windows.Forms.Padding(4); - this.tabControl.MenuStyle = Sunny.UI.UIMenuStyle.Custom; + this.tabControl.MenuStyle = Sunny.UI.UIMenuStyle.White; this.tabControl.Name = "tabControl"; this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(801, 493); this.tabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; - this.tabControl.Style = Sunny.UI.UIStyle.LightBlue; - this.tabControl.TabBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250))))); + this.tabControl.TabBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.tabControl.TabIndex = 1; - this.tabControl.TabSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.tabControl.TabSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250))))); this.tabControl.TabUnSelectedForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); // // tabPageUsefulFeatures // - this.tabPageUsefulFeatures.BackColor = System.Drawing.Color.White; + this.tabPageUsefulFeatures.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(249)))), ((int)(((byte)(241))))); this.tabPageUsefulFeatures.Controls.Add(this.groupBoxQuicklyControl); this.tabPageUsefulFeatures.Controls.Add(this.checkBoxDisableServiceWindowsSearch); this.tabPageUsefulFeatures.Controls.Add(this.checkBoxDisableServiceWindowsUpdate); @@ -323,14 +306,13 @@ private void InitializeComponent() // // processBarQuicklyControl // - this.processBarQuicklyControl.DecimalCount = 1; + this.processBarQuicklyControl.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); this.processBarQuicklyControl.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.processBarQuicklyControl.Location = new System.Drawing.Point(6, 25); this.processBarQuicklyControl.Maximum = 1000; this.processBarQuicklyControl.MinimumSize = new System.Drawing.Size(70, 5); this.processBarQuicklyControl.Name = "processBarQuicklyControl"; this.processBarQuicklyControl.Size = new System.Drawing.Size(782, 32); - this.processBarQuicklyControl.Style = Sunny.UI.UIStyle.LightBlue; this.processBarQuicklyControl.TabIndex = 8; this.processBarQuicklyControl.TagString = ""; this.processBarQuicklyControl.Text = "0.0%"; @@ -358,16 +340,11 @@ private void InitializeComponent() // this.buttonShutdown.Anchor = System.Windows.Forms.AnchorStyles.None; this.buttonShutdown.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonShutdown.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonShutdown.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonShutdown.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.buttonShutdown.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonShutdown.Location = new System.Drawing.Point(38, 4); this.buttonShutdown.MinimumSize = new System.Drawing.Size(1, 1); this.buttonShutdown.Name = "buttonShutdown"; - this.buttonShutdown.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonShutdown.Size = new System.Drawing.Size(120, 51); - this.buttonShutdown.Style = Sunny.UI.UIStyle.LightBlue; this.buttonShutdown.TabIndex = 3; this.buttonShutdown.Text = "关机"; this.buttonShutdown.Click += new System.EventHandler(this.ButtonShutdown_Click); @@ -376,16 +353,11 @@ private void InitializeComponent() // this.buttonCancel.Anchor = System.Windows.Forms.AnchorStyles.None; this.buttonCancel.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonCancel.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonCancel.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCancel.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.buttonCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCancel.Location = new System.Drawing.Point(629, 4); this.buttonCancel.MinimumSize = new System.Drawing.Size(1, 1); this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCancel.Size = new System.Drawing.Size(120, 51); - this.buttonCancel.Style = Sunny.UI.UIStyle.LightBlue; this.buttonCancel.TabIndex = 6; this.buttonCancel.Text = "取消操作"; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); @@ -394,16 +366,11 @@ private void InitializeComponent() // this.buttonRestart.Anchor = System.Windows.Forms.AnchorStyles.None; this.buttonRestart.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonRestart.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonRestart.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonRestart.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.buttonRestart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonRestart.Location = new System.Drawing.Point(235, 4); this.buttonRestart.MinimumSize = new System.Drawing.Size(1, 1); this.buttonRestart.Name = "buttonRestart"; - this.buttonRestart.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonRestart.Size = new System.Drawing.Size(120, 51); - this.buttonRestart.Style = Sunny.UI.UIStyle.LightBlue; this.buttonRestart.TabIndex = 4; this.buttonRestart.Text = "重启"; this.buttonRestart.Click += new System.EventHandler(this.ButtonRestart_Click); @@ -412,16 +379,11 @@ private void InitializeComponent() // this.buttonLogout.Anchor = System.Windows.Forms.AnchorStyles.None; this.buttonLogout.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonLogout.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonLogout.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonLogout.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.buttonLogout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonLogout.Location = new System.Drawing.Point(432, 4); this.buttonLogout.MinimumSize = new System.Drawing.Size(1, 1); this.buttonLogout.Name = "buttonLogout"; - this.buttonLogout.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonLogout.Size = new System.Drawing.Size(120, 51); - this.buttonLogout.Style = Sunny.UI.UIStyle.LightBlue; this.buttonLogout.TabIndex = 5; this.buttonLogout.Text = "注销"; this.buttonLogout.Click += new System.EventHandler(this.ButtonLogout_Click); @@ -436,7 +398,6 @@ private void InitializeComponent() this.checkBoxDisableServiceWindowsSearch.Name = "checkBoxDisableServiceWindowsSearch"; this.checkBoxDisableServiceWindowsSearch.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxDisableServiceWindowsSearch.Size = new System.Drawing.Size(207, 26); - this.checkBoxDisableServiceWindowsSearch.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxDisableServiceWindowsSearch.TabIndex = 2; this.checkBoxDisableServiceWindowsSearch.Text = "禁用 Windows Search"; // @@ -450,7 +411,6 @@ private void InitializeComponent() this.checkBoxDisableServiceWindowsUpdate.Name = "checkBoxDisableServiceWindowsUpdate"; this.checkBoxDisableServiceWindowsUpdate.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxDisableServiceWindowsUpdate.Size = new System.Drawing.Size(207, 26); - this.checkBoxDisableServiceWindowsUpdate.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxDisableServiceWindowsUpdate.TabIndex = 1; this.checkBoxDisableServiceWindowsUpdate.Text = "禁用 Windows Update"; // @@ -464,12 +424,12 @@ private void InitializeComponent() this.checkBoxDisableServiceShellHardwareDetection.Name = "checkBoxDisableServiceShellHardwareDetection"; this.checkBoxDisableServiceShellHardwareDetection.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxDisableServiceShellHardwareDetection.Size = new System.Drawing.Size(144, 26); - this.checkBoxDisableServiceShellHardwareDetection.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxDisableServiceShellHardwareDetection.TabIndex = 0; this.checkBoxDisableServiceShellHardwareDetection.Text = "禁用 自动播放"; // // tabPageSettings // + this.tabPageSettings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(249)))), ((int)(((byte)(241))))); this.tabPageSettings.Controls.Add(this.checkBoxHideToNotify); this.tabPageSettings.Controls.Add(this.checkBoxDoubleClickNotify); this.tabPageSettings.Controls.Add(this.checkBoxHideWhenStart); @@ -482,7 +442,6 @@ private void InitializeComponent() this.tabPageSettings.Size = new System.Drawing.Size(801, 453); this.tabPageSettings.TabIndex = 3; this.tabPageSettings.Text = "设置"; - this.tabPageSettings.UseVisualStyleBackColor = true; // // checkBoxHideToNotify // @@ -494,7 +453,6 @@ private void InitializeComponent() this.checkBoxHideToNotify.Name = "checkBoxHideToNotify"; this.checkBoxHideToNotify.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxHideToNotify.Size = new System.Drawing.Size(192, 26); - this.checkBoxHideToNotify.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxHideToNotify.TabIndex = 7; this.checkBoxHideToNotify.Text = "关闭窗口隐藏至托盘"; this.checkBoxHideToNotify.CheckedChanged += new System.EventHandler(this.CheckBoxHideToNotify_CheckedChanged); @@ -509,7 +467,6 @@ private void InitializeComponent() this.checkBoxDoubleClickNotify.Name = "checkBoxDoubleClickNotify"; this.checkBoxDoubleClickNotify.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxDoubleClickNotify.Size = new System.Drawing.Size(192, 26); - this.checkBoxDoubleClickNotify.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxDoubleClickNotify.TabIndex = 6; this.checkBoxDoubleClickNotify.Text = "双击托盘图标显示界面"; this.checkBoxDoubleClickNotify.CheckedChanged += new System.EventHandler(this.CheckBoxDoubleClickNotify_CheckedChanged); @@ -523,7 +480,6 @@ private void InitializeComponent() this.checkBoxHideWhenStart.Name = "checkBoxHideWhenStart"; this.checkBoxHideWhenStart.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxHideWhenStart.Size = new System.Drawing.Size(164, 26); - this.checkBoxHideWhenStart.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxHideWhenStart.TabIndex = 5; this.checkBoxHideWhenStart.Text = "启动时隐藏到托盘"; this.checkBoxHideWhenStart.ValueChanged += new Sunny.UI.UICheckBox.OnValueChanged(this.CheckBoxHideWhenStart_ValueChanged); @@ -537,7 +493,6 @@ private void InitializeComponent() this.checkBoxAutoCheckUpdate.Name = "checkBoxAutoCheckUpdate"; this.checkBoxAutoCheckUpdate.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxAutoCheckUpdate.Size = new System.Drawing.Size(192, 26); - this.checkBoxAutoCheckUpdate.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxAutoCheckUpdate.TabIndex = 4; this.checkBoxAutoCheckUpdate.Text = "启动时自动检查更新"; this.checkBoxAutoCheckUpdate.ValueChanged += new Sunny.UI.UICheckBox.OnValueChanged(this.CheckBoxAutoCheckUpdate_ValueChanged); @@ -545,16 +500,11 @@ private void InitializeComponent() // buttonCleanLog // this.buttonCleanLog.Cursor = System.Windows.Forms.Cursors.Hand; - this.buttonCleanLog.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); - this.buttonCleanLog.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCleanLog.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.buttonCleanLog.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCleanLog.Location = new System.Drawing.Point(6, 211); this.buttonCleanLog.MinimumSize = new System.Drawing.Size(1, 1); this.buttonCleanLog.Name = "buttonCleanLog"; - this.buttonCleanLog.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.buttonCleanLog.Size = new System.Drawing.Size(123, 36); - this.buttonCleanLog.Style = Sunny.UI.UIStyle.LightBlue; this.buttonCleanLog.TabIndex = 3; this.buttonCleanLog.Text = "清除Logs"; this.buttonCleanLog.Click += new System.EventHandler(this.ButtonCleanLog_Click); @@ -568,7 +518,6 @@ private void InitializeComponent() this.checkBoxAutoStart.Name = "checkBoxAutoStart"; this.checkBoxAutoStart.Padding = new System.Windows.Forms.Padding(22, 0, 0, 0); this.checkBoxAutoStart.Size = new System.Drawing.Size(123, 26); - this.checkBoxAutoStart.Style = Sunny.UI.UIStyle.LightBlue; this.checkBoxAutoStart.TabIndex = 2; this.checkBoxAutoStart.Text = "开机自动启动"; this.checkBoxAutoStart.ValueChanged += new Sunny.UI.UICheckBox.OnValueChanged(this.CheckBoxAutoStart_ValueChanged); @@ -597,7 +546,7 @@ private void InitializeComponent() this.labelStyle.Location = new System.Drawing.Point(3, 0); this.labelStyle.Name = "labelStyle"; this.labelStyle.Size = new System.Drawing.Size(50, 42); - this.labelStyle.Style = Sunny.UI.UIStyle.LightBlue; + this.labelStyle.Style = Sunny.UI.UIStyle.Blue; this.labelStyle.TabIndex = 1; this.labelStyle.Text = "皮肤"; this.labelStyle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -618,20 +567,19 @@ private void InitializeComponent() this.comboBoxStyle.Name = "comboBoxStyle"; this.comboBoxStyle.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); this.comboBoxStyle.Size = new System.Drawing.Size(162, 29); - this.comboBoxStyle.Style = Sunny.UI.UIStyle.LightBlue; this.comboBoxStyle.TabIndex = 0; this.comboBoxStyle.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; this.comboBoxStyle.SelectedIndexChanged += new System.EventHandler(this.ComboBoxStyle_SelectedIndexChanged); // // tabPageAbout // + this.tabPageAbout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(249)))), ((int)(((byte)(241))))); this.tabPageAbout.Controls.Add(this.tableLayoutPanelAbout); this.tabPageAbout.Location = new System.Drawing.Point(0, 40); this.tabPageAbout.Name = "tabPageAbout"; - this.tabPageAbout.Size = new System.Drawing.Size(801, 453); + this.tabPageAbout.Size = new System.Drawing.Size(200, 60); this.tabPageAbout.TabIndex = 4; this.tabPageAbout.Text = "关于"; - this.tabPageAbout.UseVisualStyleBackColor = true; this.tabPageAbout.Paint += new System.Windows.Forms.PaintEventHandler(this.TabPageAbout_Paint); // // tableLayoutPanelAbout @@ -646,7 +594,7 @@ private void InitializeComponent() this.tableLayoutPanelAbout.RowCount = 2; this.tableLayoutPanelAbout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanelAbout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanelAbout.Size = new System.Drawing.Size(801, 453); + this.tableLayoutPanelAbout.Size = new System.Drawing.Size(200, 60); this.tableLayoutPanelAbout.TabIndex = 5; // // tableLayoutPanelInfo @@ -663,7 +611,7 @@ private void InitializeComponent() this.tableLayoutPanelInfo.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanelInfo.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanelInfo.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); - this.tableLayoutPanelInfo.Size = new System.Drawing.Size(795, 220); + this.tableLayoutPanelInfo.Size = new System.Drawing.Size(194, 24); this.tableLayoutPanelInfo.TabIndex = 0; // // linkLabelGithub @@ -675,13 +623,10 @@ private void InitializeComponent() this.linkLabelGithub.AutoSize = true; this.linkLabelGithub.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.linkLabelGithub.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.linkLabelGithub.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.linkLabelGithub.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; - this.linkLabelGithub.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); - this.linkLabelGithub.Location = new System.Drawing.Point(3, 146); + this.linkLabelGithub.Location = new System.Drawing.Point(3, 16); this.linkLabelGithub.Name = "linkLabelGithub"; - this.linkLabelGithub.Size = new System.Drawing.Size(789, 74); - this.linkLabelGithub.Style = Sunny.UI.UIStyle.LightBlue; + this.linkLabelGithub.Size = new System.Drawing.Size(188, 8); this.linkLabelGithub.TabIndex = 4; this.linkLabelGithub.TabStop = true; this.linkLabelGithub.Text = "GitHub 仓库地址"; @@ -698,8 +643,8 @@ private void InitializeComponent() this.labelProgramName.Font = new System.Drawing.Font("微软雅黑", 26F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); this.labelProgramName.Location = new System.Drawing.Point(3, 0); this.labelProgramName.Name = "labelProgramName"; - this.labelProgramName.Size = new System.Drawing.Size(789, 73); - this.labelProgramName.Style = Sunny.UI.UIStyle.LightBlue; + this.labelProgramName.Size = new System.Drawing.Size(188, 8); + this.labelProgramName.Style = Sunny.UI.UIStyle.Blue; this.labelProgramName.TabIndex = 2; this.labelProgramName.Text = "SeewoHelper"; this.labelProgramName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -711,10 +656,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.labelVersion.AutoSize = true; this.labelVersion.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.labelVersion.Location = new System.Drawing.Point(3, 73); + this.labelVersion.Location = new System.Drawing.Point(3, 8); this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(789, 73); - this.labelVersion.Style = Sunny.UI.UIStyle.LightBlue; + this.labelVersion.Size = new System.Drawing.Size(188, 8); + this.labelVersion.Style = Sunny.UI.UIStyle.Blue; this.labelVersion.TabIndex = 3; this.labelVersion.Text = "应用版本:"; this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -726,35 +671,34 @@ private void InitializeComponent() this.tableLayoutPanelContributors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanelContributors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanelContributors.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); - this.tableLayoutPanelContributors.Controls.Add(this.uiAvatarMoInk, 0, 0); + this.tableLayoutPanelContributors.Controls.Add(this.uiAvatarSugar, 0, 0); this.tableLayoutPanelContributors.Controls.Add(this.uiAvatarRicky, 2, 0); this.tableLayoutPanelContributors.Controls.Add(this.tableLayoutPanelMoInk, 1, 0); this.tableLayoutPanelContributors.Controls.Add(this.tableLayoutPanelRicky, 3, 0); this.tableLayoutPanelContributors.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelContributors.Location = new System.Drawing.Point(3, 229); + this.tableLayoutPanelContributors.Location = new System.Drawing.Point(3, 33); this.tableLayoutPanelContributors.Name = "tableLayoutPanelContributors"; this.tableLayoutPanelContributors.RowCount = 1; this.tableLayoutPanelContributors.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanelContributors.Size = new System.Drawing.Size(795, 221); + this.tableLayoutPanelContributors.Size = new System.Drawing.Size(194, 24); this.tableLayoutPanelContributors.TabIndex = 1; // - // uiAvatarMoInk + // uiAvatarSugar // - this.uiAvatarMoInk.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.uiAvatarSugar.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.uiAvatarMoInk.AvatarSize = 180; - this.uiAvatarMoInk.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.uiAvatarMoInk.Icon = Sunny.UI.UIAvatar.UIIcon.Image; - this.uiAvatarMoInk.Image = ((System.Drawing.Image)(resources.GetObject("uiAvatarMoInk.Image"))); - this.uiAvatarMoInk.Location = new System.Drawing.Point(3, 3); - this.uiAvatarMoInk.MinimumSize = new System.Drawing.Size(1, 1); - this.uiAvatarMoInk.Name = "uiAvatarMoInk"; - this.uiAvatarMoInk.Size = new System.Drawing.Size(192, 215); - this.uiAvatarMoInk.Style = Sunny.UI.UIStyle.LightBlue; - this.uiAvatarMoInk.SymbolSize = 50; - this.uiAvatarMoInk.TabIndex = 0; - this.uiAvatarMoInk.Text = "uiAvatar1"; + this.uiAvatarSugar.AvatarSize = 180; + this.uiAvatarSugar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.uiAvatarSugar.Icon = Sunny.UI.UIAvatar.UIIcon.Image; + this.uiAvatarSugar.Image = ((System.Drawing.Image)(resources.GetObject("uiAvatarSugar.Image"))); + this.uiAvatarSugar.Location = new System.Drawing.Point(3, 3); + this.uiAvatarSugar.MinimumSize = new System.Drawing.Size(1, 1); + this.uiAvatarSugar.Name = "uiAvatarSugar"; + this.uiAvatarSugar.Size = new System.Drawing.Size(42, 18); + this.uiAvatarSugar.SymbolSize = 50; + this.uiAvatarSugar.TabIndex = 0; + this.uiAvatarSugar.Text = "uiAvatar1"; // // uiAvatarRicky // @@ -765,11 +709,10 @@ private void InitializeComponent() this.uiAvatarRicky.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.uiAvatarRicky.Icon = Sunny.UI.UIAvatar.UIIcon.Image; this.uiAvatarRicky.Image = ((System.Drawing.Image)(resources.GetObject("uiAvatarRicky.Image"))); - this.uiAvatarRicky.Location = new System.Drawing.Point(399, 3); + this.uiAvatarRicky.Location = new System.Drawing.Point(99, 3); this.uiAvatarRicky.MinimumSize = new System.Drawing.Size(1, 1); this.uiAvatarRicky.Name = "uiAvatarRicky"; - this.uiAvatarRicky.Size = new System.Drawing.Size(192, 215); - this.uiAvatarRicky.Style = Sunny.UI.UIStyle.LightBlue; + this.uiAvatarRicky.Size = new System.Drawing.Size(42, 18); this.uiAvatarRicky.SymbolSize = 50; this.uiAvatarRicky.TabIndex = 1; this.uiAvatarRicky.Text = "uiAvatar2"; @@ -778,56 +721,52 @@ private void InitializeComponent() // this.tableLayoutPanelMoInk.ColumnCount = 1; this.tableLayoutPanelMoInk.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanelMoInk.Controls.Add(this.symbolLabelMoInk, 0, 1); - this.tableLayoutPanelMoInk.Controls.Add(this.linkLabelMoInkGithub, 0, 2); + this.tableLayoutPanelMoInk.Controls.Add(this.symbolLabelSugar, 0, 1); + this.tableLayoutPanelMoInk.Controls.Add(this.linkLabelSugarGithub, 0, 2); this.tableLayoutPanelMoInk.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelMoInk.Location = new System.Drawing.Point(201, 3); + this.tableLayoutPanelMoInk.Location = new System.Drawing.Point(51, 3); this.tableLayoutPanelMoInk.Name = "tableLayoutPanelMoInk"; this.tableLayoutPanelMoInk.RowCount = 4; this.tableLayoutPanelMoInk.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); this.tableLayoutPanelMoInk.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanelMoInk.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanelMoInk.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); - this.tableLayoutPanelMoInk.Size = new System.Drawing.Size(192, 215); + this.tableLayoutPanelMoInk.Size = new System.Drawing.Size(42, 18); this.tableLayoutPanelMoInk.TabIndex = 2; // - // symbolLabelMoInk + // symbolLabelSugar // - this.symbolLabelMoInk.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.symbolLabelSugar.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.symbolLabelMoInk.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.symbolLabelMoInk.Location = new System.Drawing.Point(3, 38); - this.symbolLabelMoInk.MinimumSize = new System.Drawing.Size(1, 1); - this.symbolLabelMoInk.Name = "symbolLabelMoInk"; - this.symbolLabelMoInk.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); - this.symbolLabelMoInk.Size = new System.Drawing.Size(186, 66); - this.symbolLabelMoInk.Style = Sunny.UI.UIStyle.LightBlue; - this.symbolLabelMoInk.Symbol = 61447; - this.symbolLabelMoInk.TabIndex = 0; - this.symbolLabelMoInk.Text = "Mo-Ink"; - // - // linkLabelMoInkGithub - // - this.linkLabelMoInkGithub.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40))))); - this.linkLabelMoInkGithub.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.symbolLabelSugar.Font = new System.Drawing.Font("微软雅黑", 17F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.symbolLabelSugar.Location = new System.Drawing.Point(3, 38); + this.symbolLabelSugar.MinimumSize = new System.Drawing.Size(1, 1); + this.symbolLabelSugar.Name = "symbolLabelSugar"; + this.symbolLabelSugar.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); + this.symbolLabelSugar.Size = new System.Drawing.Size(36, 1); + this.symbolLabelSugar.Symbol = 61447; + this.symbolLabelSugar.TabIndex = 0; + this.symbolLabelSugar.Text = "SugarMGP"; + // + // linkLabelSugarGithub + // + this.linkLabelSugarGithub.ActiveLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(155)))), ((int)(((byte)(40))))); + this.linkLabelSugarGithub.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.linkLabelMoInkGithub.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); - this.linkLabelMoInkGithub.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.linkLabelMoInkGithub.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); - this.linkLabelMoInkGithub.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; - this.linkLabelMoInkGithub.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); - this.linkLabelMoInkGithub.Location = new System.Drawing.Point(3, 107); - this.linkLabelMoInkGithub.Name = "linkLabelMoInkGithub"; - this.linkLabelMoInkGithub.Size = new System.Drawing.Size(186, 72); - this.linkLabelMoInkGithub.Style = Sunny.UI.UIStyle.LightBlue; - this.linkLabelMoInkGithub.TabIndex = 1; - this.linkLabelMoInkGithub.TabStop = true; - this.linkLabelMoInkGithub.Text = "GitHub 主页"; - this.linkLabelMoInkGithub.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.linkLabelMoInkGithub.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); - this.linkLabelMoInkGithub.Click += new System.EventHandler(this.LinkLabelMoInkGithub_Click); + this.linkLabelSugarGithub.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); + this.linkLabelSugarGithub.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.linkLabelSugarGithub.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; + this.linkLabelSugarGithub.Location = new System.Drawing.Point(3, 9); + this.linkLabelSugarGithub.Name = "linkLabelSugarGithub"; + this.linkLabelSugarGithub.Size = new System.Drawing.Size(36, 1); + this.linkLabelSugarGithub.TabIndex = 1; + this.linkLabelSugarGithub.TabStop = true; + this.linkLabelSugarGithub.Text = "GitHub 主页"; + this.linkLabelSugarGithub.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.linkLabelSugarGithub.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); + this.linkLabelSugarGithub.Click += new System.EventHandler(this.LinkLabelMoInkGithub_Click); // // tableLayoutPanelRicky // @@ -836,14 +775,14 @@ private void InitializeComponent() this.tableLayoutPanelRicky.Controls.Add(this.linkLabelRickyGithub, 0, 2); this.tableLayoutPanelRicky.Controls.Add(this.symbolLabelRicky, 0, 1); this.tableLayoutPanelRicky.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanelRicky.Location = new System.Drawing.Point(597, 3); + this.tableLayoutPanelRicky.Location = new System.Drawing.Point(147, 3); this.tableLayoutPanelRicky.Name = "tableLayoutPanelRicky"; this.tableLayoutPanelRicky.RowCount = 4; this.tableLayoutPanelRicky.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); this.tableLayoutPanelRicky.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanelRicky.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanelRicky.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F)); - this.tableLayoutPanelRicky.Size = new System.Drawing.Size(195, 215); + this.tableLayoutPanelRicky.Size = new System.Drawing.Size(44, 18); this.tableLayoutPanelRicky.TabIndex = 3; // // linkLabelRickyGithub @@ -854,13 +793,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.linkLabelRickyGithub.DisabledLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255))))); this.linkLabelRickyGithub.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.linkLabelRickyGithub.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); this.linkLabelRickyGithub.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; - this.linkLabelRickyGithub.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48))))); - this.linkLabelRickyGithub.Location = new System.Drawing.Point(3, 107); + this.linkLabelRickyGithub.Location = new System.Drawing.Point(3, 9); this.linkLabelRickyGithub.Name = "linkLabelRickyGithub"; - this.linkLabelRickyGithub.Size = new System.Drawing.Size(189, 72); - this.linkLabelRickyGithub.Style = Sunny.UI.UIStyle.LightBlue; + this.linkLabelRickyGithub.Size = new System.Drawing.Size(38, 1); this.linkLabelRickyGithub.TabIndex = 2; this.linkLabelRickyGithub.TabStop = true; this.linkLabelRickyGithub.Text = "GitHub 主页"; @@ -878,15 +814,14 @@ private void InitializeComponent() this.symbolLabelRicky.MinimumSize = new System.Drawing.Size(1, 1); this.symbolLabelRicky.Name = "symbolLabelRicky"; this.symbolLabelRicky.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0); - this.symbolLabelRicky.Size = new System.Drawing.Size(189, 66); - this.symbolLabelRicky.Style = Sunny.UI.UIStyle.LightBlue; + this.symbolLabelRicky.Size = new System.Drawing.Size(38, 1); this.symbolLabelRicky.Symbol = 61447; this.symbolLabelRicky.TabIndex = 1; this.symbolLabelRicky.Text = "Ricky8955555"; // // tabPageLogs // - this.tabPageLogs.BackColor = System.Drawing.Color.White; + this.tabPageLogs.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(249)))), ((int)(((byte)(241))))); this.tabPageLogs.Controls.Add(this.comboBoxLogLevel); this.tabPageLogs.Controls.Add(this.labelLogLevel); this.tabPageLogs.Controls.Add(this.textBoxLogs); @@ -894,7 +829,7 @@ private void InitializeComponent() this.tabPageLogs.Location = new System.Drawing.Point(0, 40); this.tabPageLogs.Margin = new System.Windows.Forms.Padding(4); this.tabPageLogs.Name = "tabPageLogs"; - this.tabPageLogs.Size = new System.Drawing.Size(801, 453); + this.tabPageLogs.Size = new System.Drawing.Size(200, 60); this.tabPageLogs.TabIndex = 2; this.tabPageLogs.Text = "日志"; // @@ -910,7 +845,6 @@ private void InitializeComponent() this.comboBoxLogLevel.Name = "comboBoxLogLevel"; this.comboBoxLogLevel.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); this.comboBoxLogLevel.Size = new System.Drawing.Size(255, 23); - this.comboBoxLogLevel.Style = Sunny.UI.UIStyle.LightBlue; this.comboBoxLogLevel.TabIndex = 2; this.comboBoxLogLevel.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; this.comboBoxLogLevel.SelectedIndexChanged += new System.EventHandler(this.ComboBoxLogLevel_SelectedIndexChanged); @@ -922,7 +856,6 @@ private void InitializeComponent() this.labelLogLevel.Location = new System.Drawing.Point(4, 423); this.labelLogLevel.Name = "labelLogLevel"; this.labelLogLevel.Size = new System.Drawing.Size(79, 20); - this.labelLogLevel.Style = Sunny.UI.UIStyle.LightBlue; this.labelLogLevel.TabIndex = 1; this.labelLogLevel.Text = "日志级别:"; this.labelLogLevel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -930,20 +863,18 @@ private void InitializeComponent() // textBoxLogs // this.textBoxLogs.AutoScroll = true; + this.textBoxLogs.ButtonSymbol = 61761; this.textBoxLogs.Cursor = System.Windows.Forms.Cursors.IBeam; - this.textBoxLogs.FillColor = System.Drawing.Color.White; this.textBoxLogs.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.textBoxLogs.Location = new System.Drawing.Point(4, 5); this.textBoxLogs.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.textBoxLogs.Maximum = 2147483647D; - this.textBoxLogs.Minimum = -2147483648D; this.textBoxLogs.MinimumSize = new System.Drawing.Size(1, 1); this.textBoxLogs.Multiline = true; this.textBoxLogs.Name = "textBoxLogs"; this.textBoxLogs.Padding = new System.Windows.Forms.Padding(5); this.textBoxLogs.ReadOnly = true; + this.textBoxLogs.ShowText = false; this.textBoxLogs.Size = new System.Drawing.Size(793, 413); - this.textBoxLogs.Style = Sunny.UI.UIStyle.LightBlue; this.textBoxLogs.TabIndex = 0; this.textBoxLogs.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; this.textBoxLogs.WordWarp = false; @@ -1012,9 +943,8 @@ private void InitializeComponent() // // WindowMain // - this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255))))); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255))))); this.ClientSize = new System.Drawing.Size(809, 536); this.ContextMenuStrip = this.contextMenuStrip; this.Controls.Add(this.tabControl); @@ -1024,7 +954,6 @@ private void InitializeComponent() this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "WindowMain"; - this.Style = Sunny.UI.UIStyle.LightBlue; this.Text = "SeewoHelper"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.WindowMain_FormClosing); this.Load += new System.EventHandler(this.WindowMain_Load); @@ -1093,11 +1022,11 @@ private void InitializeComponent() private Sunny.UI.UILabel labelVersion; private Sunny.UI.UILinkLabel linkLabelGithub; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelContributors; - private Sunny.UI.UIAvatar uiAvatarMoInk; + private Sunny.UI.UIAvatar uiAvatarSugar; private Sunny.UI.UIAvatar uiAvatarRicky; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelMoInk; - private Sunny.UI.UISymbolLabel symbolLabelMoInk; - private Sunny.UI.UILinkLabel linkLabelMoInkGithub; + private Sunny.UI.UISymbolLabel symbolLabelSugar; + private Sunny.UI.UILinkLabel linkLabelSugarGithub; private System.Windows.Forms.TableLayoutPanel tableLayoutPanelRicky; private Sunny.UI.UILinkLabel linkLabelRickyGithub; private Sunny.UI.UISymbolLabel symbolLabelRicky; diff --git a/src/Forms/WindowMain.cs b/src/Forms/WindowMain.cs index 5dd2c3e..af9c159 100644 --- a/src/Forms/WindowMain.cs +++ b/src/Forms/WindowMain.cs @@ -295,7 +295,7 @@ private void TabPageAbout_Paint(object sender, PaintEventArgs e) private void LinkLabelMoInkGithub_Click(object sender, EventArgs e) { - NetUtilities.Start(Constants.MoInkLink); + NetUtilities.Start(Constants.SugarLink); } private void LinkLabelRickyGithub_Click(object sender, EventArgs e) diff --git a/src/Forms/WindowMain.resx b/src/Forms/WindowMain.resx index 619953c..09c561e 100644 --- a/src/Forms/WindowMain.resx +++ b/src/Forms/WindowMain.resx @@ -58,7 +58,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABGdBTUEAALGPC/xhBQAA/8dJREFUeF7s /XdsHMmapwsXDi4OBovBxeLgYAaD/fMCi4sPiwUGi8UMFotZLObumNMtQ+8pOomkLCVS3nuvltS+W6bV diff --git a/src/Properties/Resources.Designer.cs b/src/Properties/Resources.Designer.cs new file mode 100644 index 0000000..040061e --- /dev/null +++ b/src/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace SeewoHelper.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SeewoHelper.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/src/Properties/Resources.resx b/src/Properties/Resources.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/src/Properties/Resources.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/src/SeewoHelper.csproj b/src/SeewoHelper.csproj index 2f4f27b..98b161a 100644 --- a/src/SeewoHelper.csproj +++ b/src/SeewoHelper.csproj @@ -4,7 +4,7 @@ WinExe net5.0-windows true - Mo_Ink + SugarMGP 一个为 Seewo 等一体机定制的教室多媒体辅助程序 app.manifest favicon.ico @@ -14,8 +14,23 @@ - + + + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + \ No newline at end of file