From ce8bf8cf1029491e14c1884e90c85e088e10dfd9 Mon Sep 17 00:00:00 2001 From: Glauber Donizeti Gasparotto Junior Date: Sat, 6 Jan 2018 14:33:32 -0200 Subject: [PATCH] refactory menu about: change name to 'help' and add 'documentation/release notes/donate menu' items --- src/WiremockUI/Forms/FormDonate.Designer.cs | 140 +++++++++ src/WiremockUI/Forms/FormDonate.cs | 25 ++ src/WiremockUI/Forms/FormDonate.resx | 266 ++++++++++++++++++ src/WiremockUI/Forms/FormMaster.Designer.cs | 157 +++++++---- src/WiremockUI/Forms/FormMaster.cs | 52 +++- src/WiremockUI/Forms/FormMaster.resx | 2 +- src/WiremockUI/Languages/Resource.Designer.cs | 36 +++ src/WiremockUI/Languages/Resource.en.resx | 12 + src/WiremockUI/Languages/Resource.resx | 12 + src/WiremockUI/WiremockUI.csproj | 9 + 10 files changed, 648 insertions(+), 63 deletions(-) create mode 100644 src/WiremockUI/Forms/FormDonate.Designer.cs create mode 100644 src/WiremockUI/Forms/FormDonate.cs create mode 100644 src/WiremockUI/Forms/FormDonate.resx diff --git a/src/WiremockUI/Forms/FormDonate.Designer.cs b/src/WiremockUI/Forms/FormDonate.Designer.cs new file mode 100644 index 0000000..a7f353b --- /dev/null +++ b/src/WiremockUI/Forms/FormDonate.Designer.cs @@ -0,0 +1,140 @@ +namespace WiremockUI +{ + partial class FormDonate + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDonate)); + this.btnClose = new System.Windows.Forms.Button(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.groupBox1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // btnClose + // + this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnClose.Location = new System.Drawing.Point(166, 248); + this.btnClose.Name = "btnClose"; + this.btnClose.Size = new System.Drawing.Size(154, 34); + this.btnClose.TabIndex = 5; + this.btnClose.Text = "Fechar"; + this.btnClose.UseVisualStyleBackColor = true; + this.btnClose.Click += new System.EventHandler(this.btnClose_Click); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.textBox1); + this.groupBox1.Controls.Add(this.pictureBox2); + this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox1.Location = new System.Drawing.Point(12, 12); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(308, 230); + this.groupBox1.TabIndex = 6; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "BitCoin: "; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(16, 28); + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(282, 20); + this.textBox1.TabIndex = 6; + this.textBox1.Text = "19DmxWBNcaUGjm2PQAuMBD4Y8ZbrGyMLzK"; + // + // pictureBox2 + // + this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); + this.pictureBox2.Location = new System.Drawing.Point(70, 54); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(157, 157); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBox2.TabIndex = 4; + this.pictureBox2.TabStop = false; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.pictureBox1); + this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.groupBox2.Location = new System.Drawing.Point(326, 12); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(157, 230); + this.groupBox2.TabIndex = 7; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "PayPal: "; + // + // pictureBox1 + // + this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand; + this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); + this.pictureBox1.Location = new System.Drawing.Point(6, 28); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(100, 27); + this.pictureBox1.TabIndex = 1; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // FormDonate + // + this.AcceptButton = this.btnClose; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.CancelButton = this.btnClose; + this.ClientSize = new System.Drawing.Size(495, 288); + this.Controls.Add(this.groupBox2); + this.Controls.Add(this.groupBox1); + this.Controls.Add(this.btnClose); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "FormDonate"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Donate"; + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + this.groupBox2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + private System.Windows.Forms.Button btnClose; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.PictureBox pictureBox1; + } +} \ No newline at end of file diff --git a/src/WiremockUI/Forms/FormDonate.cs b/src/WiremockUI/Forms/FormDonate.cs new file mode 100644 index 0000000..baca447 --- /dev/null +++ b/src/WiremockUI/Forms/FormDonate.cs @@ -0,0 +1,25 @@ +using System; +using System.Windows.Forms; +using WiremockUI.Languages; + +namespace WiremockUI +{ + public partial class FormDonate : Form + { + public FormDonate() + { + InitializeComponent(); + btnClose.Text = Resource.btnClose; + } + + private void btnClose_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + Helper.Process("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=BJKBZXZJFVNUL&lc=US&item_name=wiremockui&item_number=wiremockui¤cy_code=BRL&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"); + } + } +} diff --git a/src/WiremockUI/Forms/FormDonate.resx b/src/WiremockUI/Forms/FormDonate.resx new file mode 100644 index 0000000..d33b6a1 --- /dev/null +++ b/src/WiremockUI/Forms/FormDonate.resx @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAAJ0AAACdCAIAAAAhRO2BAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAADkhJREFUeF7tmlGO3DgMRBfIIQLkEkHuf4cglwiQQwTIFmYK3dLzuGxadk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hgaGhKJxQKh + sI8v0ML/H4w7x2P+DCpMMFYKhGPGJJuqCv4FUGnhTTWhOhHYJBSJ+vv74UGBP0fw/ROeJigFvLTKUBoB + 8N93ri++Dn+dVAAAAABJRU5ErkJggg== + + + \ No newline at end of file diff --git a/src/WiremockUI/Forms/FormMaster.Designer.cs b/src/WiremockUI/Forms/FormMaster.Designer.cs index 7be5828..7788736 100644 --- a/src/WiremockUI/Forms/FormMaster.Designer.cs +++ b/src/WiremockUI/Forms/FormMaster.Designer.cs @@ -53,15 +53,21 @@ private void InitializeComponent() this.menuTextCompare = new System.Windows.Forms.ToolStripMenuItem(); this.menuTextEditor = new System.Windows.Forms.ToolStripMenuItem(); this.menuJsonVisualizer = new System.Windows.Forms.ToolStripMenuItem(); - this.menuAbout = new System.Windows.Forms.ToolStripMenuItem(); + this.menuCertificates = new System.Windows.Forms.ToolStripMenuItem(); + this.menuHelp = new System.Windows.Forms.ToolStripMenuItem(); + this.docToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.releaseNotesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); + this.donateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator(); + this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitContainer = new System.Windows.Forms.SplitContainer(); + this.treeServices = new WiremockUI.TreeViewCustom(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); + this.tabForms = new WiremockUI.TabControlCustom(); this.pnlSelectFile = new System.Windows.Forms.Panel(); this.btnCancelFileSelectiong = new System.Windows.Forms.Button(); this.lblSelectFileCompare = new System.Windows.Forms.Label(); - this.menuCertificates = new System.Windows.Forms.ToolStripMenuItem(); - this.treeServices = new WiremockUI.TreeViewCustom(); - this.tabForms = new WiremockUI.TabControlCustom(); this.menuOptions.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); this.splitContainer.Panel1.SuspendLayout(); @@ -76,7 +82,7 @@ private void InitializeComponent() this.menuFile, this.menuServices, this.menuTools, - this.menuAbout}); + this.menuHelp}); this.menuOptions.Location = new System.Drawing.Point(0, 0); this.menuOptions.Name = "menuOptions"; this.menuOptions.Size = new System.Drawing.Size(675, 24); @@ -261,12 +267,66 @@ private void InitializeComponent() this.menuJsonVisualizer.Text = "&Visualizador de JSON"; this.menuJsonVisualizer.Click += new System.EventHandler(this.visualizadorDeJSONToolStripMenuItem_Click); // - // menuAbout + // menuCertificates + // + this.menuCertificates.Name = "menuCertificates"; + this.menuCertificates.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) + | System.Windows.Forms.Keys.S))); + this.menuCertificates.Size = new System.Drawing.Size(251, 22); + this.menuCertificates.Text = "SSL (Global)"; + this.menuCertificates.Click += new System.EventHandler(this.certificateSettingsToolStripMenuItem_Click); + // + // menuHelp + // + this.menuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.docToolStripMenuItem, + this.releaseNotesToolStripMenuItem, + this.toolStripMenuItem6, + this.donateToolStripMenuItem, + this.toolStripMenuItem5, + this.aboutToolStripMenuItem}); + this.menuHelp.Name = "menuHelp"; + this.menuHelp.Size = new System.Drawing.Size(44, 20); + this.menuHelp.Text = "&Help"; + // + // docToolStripMenuItem + // + this.docToolStripMenuItem.Name = "docToolStripMenuItem"; + this.docToolStripMenuItem.Size = new System.Drawing.Size(196, 22); + this.docToolStripMenuItem.Text = "Documentação"; + this.docToolStripMenuItem.Click += new System.EventHandler(this.docToolStripMenuItem_Click); + // + // releaseNotesToolStripMenuItem + // + this.releaseNotesToolStripMenuItem.Name = "releaseNotesToolStripMenuItem"; + this.releaseNotesToolStripMenuItem.Size = new System.Drawing.Size(196, 22); + this.releaseNotesToolStripMenuItem.Text = "Notas de versões"; + this.releaseNotesToolStripMenuItem.Click += new System.EventHandler(this.releaseNotesToolStripMenuItem_Click); + // + // toolStripMenuItem6 + // + this.toolStripMenuItem6.Name = "toolStripMenuItem6"; + this.toolStripMenuItem6.Size = new System.Drawing.Size(193, 6); + // + // donateToolStripMenuItem + // + this.donateToolStripMenuItem.Name = "donateToolStripMenuItem"; + this.donateToolStripMenuItem.Size = new System.Drawing.Size(196, 22); + this.donateToolStripMenuItem.Text = "Doações para o projeto"; + this.donateToolStripMenuItem.Click += new System.EventHandler(this.donateToolStripMenuItem_Click); // - this.menuAbout.Name = "menuAbout"; - this.menuAbout.Size = new System.Drawing.Size(49, 20); - this.menuAbout.Text = "S&obre"; - this.menuAbout.Click += new System.EventHandler(this.aboutMenuItem_Click); + // toolStripMenuItem5 + // + this.toolStripMenuItem5.Name = "toolStripMenuItem5"; + this.toolStripMenuItem5.Size = new System.Drawing.Size(193, 6); + // + // aboutToolStripMenuItem + // + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + this.aboutToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(196, 22); + this.aboutToolStripMenuItem.Text = "Sobre"; + this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); // // splitContainer // @@ -285,6 +345,25 @@ private void InitializeComponent() this.splitContainer.SplitterDistance = 200; this.splitContainer.TabIndex = 2; // + // treeServices + // + this.treeServices.AllowDrop = true; + this.treeServices.Dock = System.Windows.Forms.DockStyle.Fill; + this.treeServices.HideSelection = false; + this.treeServices.ImageIndex = 0; + this.treeServices.ImageList = this.imageList1; + this.treeServices.Location = new System.Drawing.Point(0, 0); + this.treeServices.Name = "treeServices"; + this.treeServices.SelectedImageIndex = 0; + this.treeServices.Size = new System.Drawing.Size(200, 364); + this.treeServices.TabIndex = 1; + this.treeServices.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeServices_BeforeLabelEdit); + this.treeServices.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeServices_AfterLabelEdit); + this.treeServices.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeServices_BeforeCollapse); + this.treeServices.DoubleClick += new System.EventHandler(this.treeServices_DoubleClick); + this.treeServices.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeServices_KeyDown); + this.treeServices.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeServices_MouseMove); + // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); @@ -308,6 +387,17 @@ private void InitializeComponent() this.imageList1.Images.SetKeyName(16, "check"); this.imageList1.Images.SetKeyName(17, "scenario"); // + // tabForms + // + this.tabForms.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabForms.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; + this.tabForms.Location = new System.Drawing.Point(0, 0); + this.tabForms.Name = "tabForms"; + this.tabForms.Padding = new System.Drawing.Point(20, 5); + this.tabForms.SelectedIndex = 0; + this.tabForms.Size = new System.Drawing.Size(471, 364); + this.tabForms.TabIndex = 0; + // // pnlSelectFile // this.pnlSelectFile.BackColor = System.Drawing.SystemColors.ButtonFace; @@ -343,45 +433,6 @@ private void InitializeComponent() "ques para selecionar."; this.lblSelectFileCompare.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // menuCertificates - // - this.menuCertificates.Name = "menuCertificates"; - this.menuCertificates.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Alt) - | System.Windows.Forms.Keys.S))); - this.menuCertificates.Size = new System.Drawing.Size(251, 22); - this.menuCertificates.Text = "SSL (Global)"; - this.menuCertificates.Click += new System.EventHandler(this.certificateSettingsToolStripMenuItem_Click); - // - // treeServices - // - this.treeServices.AllowDrop = true; - this.treeServices.Dock = System.Windows.Forms.DockStyle.Fill; - this.treeServices.HideSelection = false; - this.treeServices.ImageIndex = 0; - this.treeServices.ImageList = this.imageList1; - this.treeServices.Location = new System.Drawing.Point(0, 0); - this.treeServices.Name = "treeServices"; - this.treeServices.SelectedImageIndex = 0; - this.treeServices.Size = new System.Drawing.Size(200, 364); - this.treeServices.TabIndex = 1; - this.treeServices.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeServices_BeforeLabelEdit); - this.treeServices.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.treeServices_AfterLabelEdit); - this.treeServices.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeServices_BeforeCollapse); - this.treeServices.DoubleClick += new System.EventHandler(this.treeServices_DoubleClick); - this.treeServices.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeServices_KeyDown); - this.treeServices.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeServices_MouseMove); - // - // tabForms - // - this.tabForms.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabForms.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - this.tabForms.Location = new System.Drawing.Point(0, 0); - this.tabForms.Name = "tabForms"; - this.tabForms.Padding = new System.Drawing.Point(20, 5); - this.tabForms.SelectedIndex = 0; - this.tabForms.Size = new System.Drawing.Size(471, 364); - this.tabForms.TabIndex = 0; - // // FormMaster // this.AllowDrop = true; @@ -428,7 +479,7 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem menuRefresh; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; private System.Windows.Forms.ToolStripMenuItem menuClose; - private System.Windows.Forms.ToolStripMenuItem menuAbout; + private System.Windows.Forms.ToolStripMenuItem menuHelp; private TabControlCustom tabForms; private System.Windows.Forms.ToolStripMenuItem menuTools; private System.Windows.Forms.ToolStripMenuItem menuWebRequest; @@ -444,5 +495,11 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem menuFindInFiles; private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4; private System.Windows.Forms.ToolStripMenuItem menuCertificates; + private System.Windows.Forms.ToolStripMenuItem donateToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem docToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem5; + private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem releaseNotesToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripMenuItem6; } } \ No newline at end of file diff --git a/src/WiremockUI/Forms/FormMaster.cs b/src/WiremockUI/Forms/FormMaster.cs index 350f050..8b89927 100644 --- a/src/WiremockUI/Forms/FormMaster.cs +++ b/src/WiremockUI/Forms/FormMaster.cs @@ -86,27 +86,40 @@ public FormMaster() private void UpdateLabels() { + // Others Text = Resource.FormMasterTitle; + btnCancelFileSelectiong.Text = Resource.btnCancelFileSelectiong; + + // File menu menuFile.Text = Resource.menuFile; mnuLanguages.Text = Resource.menuLanguages; - menuAbout.Text = Resource.menuAbout; - menuAddServer.Text = Resource.menuAddServer; menuClose.Text = Resource.menuClose; menuRefresh.Text = Resource.menuRefresh; + menuOpenFilesFolder.Text = Resource.menuOpenFilesFolder; + menuFindInFiles.Text = Resource.menuFindInFiles; + + // Execute menu + menuAddServer.Text = Resource.menuAddServer; menuServices.Text = Resource.menuServices; menuPlayAll.Text = Resource.menuPlayAll; menuPlayAndRecordAll.Text = Resource.menuPlayAndRecordAll; menuStopAll.Text = Resource.menuStopAll; + + // Tools menu menuTools.Text = Resource.menuTools; menuWebRequest.Text = Resource.menuWebRequest; menuTextCompare.Text = Resource.menuTextCompare; menuTextEditor.Text = Resource.menuTextEditor; menuJsonVisualizer.Text = Resource.menuJsonVisualizer; - menuCertificates.Text = Resource.menuCertificates; - menuOpenFilesFolder.Text = Resource.menuOpenFilesFolder; - menuFindInFiles.Text = Resource.menuFindInFiles; + menuCertificates.Text = Resource.menuCertificates; lblSelectFileCompare.Text = Resource.lblSelectFileCompare; - btnCancelFileSelectiong.Text = Resource.btnCancelFileSelectiong; + + // help + menuHelp.Text = Resource.menuHelp; + aboutToolStripMenuItem.Text = Resource.menuAbout; + docToolStripMenuItem.Text = Resource.menuDocumentation; + donateToolStripMenuItem.Text = Resource.menuDonate; + releaseNotesToolStripMenuItem.Text = Resource.menuReleases; } private void UpdateVersion() @@ -1745,12 +1758,7 @@ private void treeServices_BeforeCollapse(object sender, TreeViewCancelEventArgs { if (treeX > e.Node.Bounds.Left) e.Cancel = true; } - - private void aboutMenuItem_Click(object sender, EventArgs e) - { - new FormAbout().ShowDialog(); - } - + private bool IsMapEnable(string fileNameWithExtension) { return Path.GetFileName(fileNameWithExtension).Split('.').Last() == "json"; @@ -2013,5 +2021,25 @@ private void certificateSettingsToolStripMenuItem_Click(object sender, EventArgs { OpenSslSettings(); } + + private void donateToolStripMenuItem_Click(object sender, EventArgs e) + { + new FormDonate() { Text = donateToolStripMenuItem.Text }.ShowDialog(); + } + + private void aboutToolStripMenuItem_Click(object sender, EventArgs e) + { + new FormAbout().ShowDialog(); + } + + private void docToolStripMenuItem_Click(object sender, EventArgs e) + { + Helper.Process("https://github.com/juniorgasparotto/WiremockUI"); + } + + private void releaseNotesToolStripMenuItem_Click(object sender, EventArgs e) + { + Helper.Process("https://github.com/juniorgasparotto/WiremockUI/releases"); + } } } diff --git a/src/WiremockUI/Forms/FormMaster.resx b/src/WiremockUI/Forms/FormMaster.resx index 4ecc2ac..cc0e17e 100644 --- a/src/WiremockUI/Forms/FormMaster.resx +++ b/src/WiremockUI/Forms/FormMaster.resx @@ -251,7 +251,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADQ - HAAAAk1TRnQBSQFMAgEBEgEAAfwBAQH8AQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + HAAAAk1TRnQBSQFMAgEBEgEAASQBAgEkAQIBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAAVADAAEBAQABCAYAARQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA diff --git a/src/WiremockUI/Languages/Resource.Designer.cs b/src/WiremockUI/Languages/Resource.Designer.cs index ba427b1..8d280be 100644 --- a/src/WiremockUI/Languages/Resource.Designer.cs +++ b/src/WiremockUI/Languages/Resource.Designer.cs @@ -1014,6 +1014,24 @@ internal static string menuClose { } } + /// + /// Looks up a localized string similar to Documentação. + /// + internal static string menuDocumentation { + get { + return ResourceManager.GetString("menuDocumentation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Doações para o projeto. + /// + internal static string menuDonate { + get { + return ResourceManager.GetString("menuDonate", resourceCulture); + } + } + /// /// Looks up a localized string similar to &Arquivo. /// @@ -1032,6 +1050,15 @@ internal static string menuFindInFiles { } } + /// + /// Looks up a localized string similar to Ajuda. + /// + internal static string menuHelp { + get { + return ResourceManager.GetString("menuHelp", resourceCulture); + } + } + /// /// Looks up a localized string similar to &Visualizador de JSON. /// @@ -1086,6 +1113,15 @@ internal static string menuRefresh { } } + /// + /// Looks up a localized string similar to Notas de versões. + /// + internal static string menuReleases { + get { + return ResourceManager.GetString("menuReleases", resourceCulture); + } + } + /// /// Looks up a localized string similar to &Executar. /// diff --git a/src/WiremockUI/Languages/Resource.en.resx b/src/WiremockUI/Languages/Resource.en.resx index 790962c..ae595af 100644 --- a/src/WiremockUI/Languages/Resource.en.resx +++ b/src/WiremockUI/Languages/Resource.en.resx @@ -738,4 +738,16 @@ Check for any invalid certificates in the "SSL TrustStore Global" settings + + Documentation + + + Donations for this project + + + Help + + + Releases notes + \ No newline at end of file diff --git a/src/WiremockUI/Languages/Resource.resx b/src/WiremockUI/Languages/Resource.resx index 11708eb..e4819d0 100644 --- a/src/WiremockUI/Languages/Resource.resx +++ b/src/WiremockUI/Languages/Resource.resx @@ -738,4 +738,16 @@ Verificar se existe algum certificado inválido nas configurações de "SSL TrustStore Global" + + Documentação + + + Doações para o projeto + + + Ajuda + + + Notas de versões + \ No newline at end of file diff --git a/src/WiremockUI/WiremockUI.csproj b/src/WiremockUI/WiremockUI.csproj index 1a3731a..4f38185 100644 --- a/src/WiremockUI/WiremockUI.csproj +++ b/src/WiremockUI/WiremockUI.csproj @@ -222,6 +222,12 @@ + + Form + + + FormDonate.cs + Form @@ -413,6 +419,9 @@ + + FormDonate.cs + FormDevTools.cs