diff --git a/ShareX.IRCLib/IRCClientForm.Designer.cs b/ShareX.IRCLib/IRCClientForm.Designer.cs
index 76eefdf04..9417eeca0 100644
--- a/ShareX.IRCLib/IRCClientForm.Designer.cs
+++ b/ShareX.IRCLib/IRCClientForm.Designer.cs
@@ -29,6 +29,7 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IRCClientForm));
this.txtMessage = new System.Windows.Forms.TextBox();
this.cmsMessage = new System.Windows.Forms.ContextMenuStrip(this.components);
this.tsmiMessageBold = new System.Windows.Forms.ToolStripMenuItem();
@@ -77,12 +78,8 @@ private void InitializeComponent()
//
// txtMessage
//
- this.txtMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtMessage.Location = new System.Drawing.Point(248, 604);
+ resources.ApplyResources(this.txtMessage, "txtMessage");
this.txtMessage.Name = "txtMessage";
- this.txtMessage.Size = new System.Drawing.Size(600, 20);
- this.txtMessage.TabIndex = 0;
this.txtMessage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMessage_KeyDown);
//
// cmsMessage
@@ -95,37 +92,30 @@ private void InitializeComponent()
this.tsmiColors});
this.cmsMessage.Name = "cmsMessage";
this.cmsMessage.ShowImageMargin = false;
- this.cmsMessage.Size = new System.Drawing.Size(101, 114);
+ resources.ApplyResources(this.cmsMessage, "cmsMessage");
//
// tsmiMessageBold
//
- this.tsmiMessageBold.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
+ resources.ApplyResources(this.tsmiMessageBold, "tsmiMessageBold");
this.tsmiMessageBold.Name = "tsmiMessageBold";
- this.tsmiMessageBold.Size = new System.Drawing.Size(100, 22);
- this.tsmiMessageBold.Text = "Bold";
this.tsmiMessageBold.Click += new System.EventHandler(this.tsmiMessageBold_Click);
//
// tsmiMessageItalic
//
- this.tsmiMessageItalic.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
+ resources.ApplyResources(this.tsmiMessageItalic, "tsmiMessageItalic");
this.tsmiMessageItalic.Name = "tsmiMessageItalic";
- this.tsmiMessageItalic.Size = new System.Drawing.Size(100, 22);
- this.tsmiMessageItalic.Text = "Italic";
this.tsmiMessageItalic.Click += new System.EventHandler(this.tsmiMessageItalic_Click);
//
// tsmiMessageUnderline
//
- this.tsmiMessageUnderline.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
+ resources.ApplyResources(this.tsmiMessageUnderline, "tsmiMessageUnderline");
this.tsmiMessageUnderline.Name = "tsmiMessageUnderline";
- this.tsmiMessageUnderline.Size = new System.Drawing.Size(100, 22);
- this.tsmiMessageUnderline.Text = "Underline";
this.tsmiMessageUnderline.Click += new System.EventHandler(this.tsmiMessageUnderline_Click);
//
// tsmiMessageNormal
//
this.tsmiMessageNormal.Name = "tsmiMessageNormal";
- this.tsmiMessageNormal.Size = new System.Drawing.Size(100, 22);
- this.tsmiMessageNormal.Text = "Normal";
+ resources.ApplyResources(this.tsmiMessageNormal, "tsmiMessageNormal");
this.tsmiMessageNormal.Click += new System.EventHandler(this.tsmiMessageNormal_Click);
//
// tsmiColors
@@ -148,16 +138,14 @@ private void InitializeComponent()
this.tsmiColorGrey,
this.tsmiColorLightGrey});
this.tsmiColors.Name = "tsmiColors";
- this.tsmiColors.Size = new System.Drawing.Size(100, 22);
- this.tsmiColors.Text = "Colors";
+ resources.ApplyResources(this.tsmiColors, "tsmiColors");
//
// tsmiColorWhite
//
this.tsmiColorWhite.BackColor = System.Drawing.Color.White;
this.tsmiColorWhite.ForeColor = System.Drawing.Color.Black;
this.tsmiColorWhite.Name = "tsmiColorWhite";
- this.tsmiColorWhite.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorWhite.Text = "White";
+ resources.ApplyResources(this.tsmiColorWhite, "tsmiColorWhite");
this.tsmiColorWhite.Click += new System.EventHandler(this.tsmiColorWhite_Click);
//
// tsmiColorBlack
@@ -165,8 +153,7 @@ private void InitializeComponent()
this.tsmiColorBlack.BackColor = System.Drawing.Color.Black;
this.tsmiColorBlack.ForeColor = System.Drawing.Color.White;
this.tsmiColorBlack.Name = "tsmiColorBlack";
- this.tsmiColorBlack.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorBlack.Text = "Black";
+ resources.ApplyResources(this.tsmiColorBlack, "tsmiColorBlack");
this.tsmiColorBlack.Click += new System.EventHandler(this.tsmiColorBlack_Click);
//
// tsmiColorBlue
@@ -174,8 +161,7 @@ private void InitializeComponent()
this.tsmiColorBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(127)))));
this.tsmiColorBlue.ForeColor = System.Drawing.Color.White;
this.tsmiColorBlue.Name = "tsmiColorBlue";
- this.tsmiColorBlue.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorBlue.Text = "Blue";
+ resources.ApplyResources(this.tsmiColorBlue, "tsmiColorBlue");
this.tsmiColorBlue.Click += new System.EventHandler(this.tsmiColorBlue_Click);
//
// tsmiColorGreen
@@ -183,8 +169,7 @@ private void InitializeComponent()
this.tsmiColorGreen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(147)))), ((int)(((byte)(0)))));
this.tsmiColorGreen.ForeColor = System.Drawing.Color.White;
this.tsmiColorGreen.Name = "tsmiColorGreen";
- this.tsmiColorGreen.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorGreen.Text = "Green";
+ resources.ApplyResources(this.tsmiColorGreen, "tsmiColorGreen");
this.tsmiColorGreen.Click += new System.EventHandler(this.tsmiColorGreen_Click);
//
// tsmiColorLightRed
@@ -192,8 +177,7 @@ private void InitializeComponent()
this.tsmiColorLightRed.BackColor = System.Drawing.Color.Red;
this.tsmiColorLightRed.ForeColor = System.Drawing.Color.White;
this.tsmiColorLightRed.Name = "tsmiColorLightRed";
- this.tsmiColorLightRed.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorLightRed.Text = "Light Red";
+ resources.ApplyResources(this.tsmiColorLightRed, "tsmiColorLightRed");
this.tsmiColorLightRed.Click += new System.EventHandler(this.tsmiColorLightRed_Click);
//
// tsmiColorBrown
@@ -201,8 +185,7 @@ private void InitializeComponent()
this.tsmiColorBrown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.tsmiColorBrown.ForeColor = System.Drawing.Color.White;
this.tsmiColorBrown.Name = "tsmiColorBrown";
- this.tsmiColorBrown.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorBrown.Text = "Brown";
+ resources.ApplyResources(this.tsmiColorBrown, "tsmiColorBrown");
this.tsmiColorBrown.Click += new System.EventHandler(this.tsmiColorBrown_Click);
//
// tsmiColorPurple
@@ -210,8 +193,7 @@ private void InitializeComponent()
this.tsmiColorPurple.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(0)))), ((int)(((byte)(156)))));
this.tsmiColorPurple.ForeColor = System.Drawing.Color.White;
this.tsmiColorPurple.Name = "tsmiColorPurple";
- this.tsmiColorPurple.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorPurple.Text = "Purple";
+ resources.ApplyResources(this.tsmiColorPurple, "tsmiColorPurple");
this.tsmiColorPurple.Click += new System.EventHandler(this.tsmiColorPurple_Click);
//
// tsmiColorOrange
@@ -219,8 +201,7 @@ private void InitializeComponent()
this.tsmiColorOrange.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(127)))), ((int)(((byte)(0)))));
this.tsmiColorOrange.ForeColor = System.Drawing.Color.White;
this.tsmiColorOrange.Name = "tsmiColorOrange";
- this.tsmiColorOrange.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorOrange.Text = "Orange";
+ resources.ApplyResources(this.tsmiColorOrange, "tsmiColorOrange");
this.tsmiColorOrange.Click += new System.EventHandler(this.tsmiColorOrange_Click);
//
// tsmiColorYellow
@@ -228,8 +209,7 @@ private void InitializeComponent()
this.tsmiColorYellow.BackColor = System.Drawing.Color.Yellow;
this.tsmiColorYellow.ForeColor = System.Drawing.Color.Black;
this.tsmiColorYellow.Name = "tsmiColorYellow";
- this.tsmiColorYellow.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorYellow.Text = "Yellow";
+ resources.ApplyResources(this.tsmiColorYellow, "tsmiColorYellow");
this.tsmiColorYellow.Click += new System.EventHandler(this.tsmiColorYellow_Click);
//
// tsmiColorLightGreen
@@ -237,8 +217,7 @@ private void InitializeComponent()
this.tsmiColorLightGreen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(252)))), ((int)(((byte)(0)))));
this.tsmiColorLightGreen.ForeColor = System.Drawing.Color.Black;
this.tsmiColorLightGreen.Name = "tsmiColorLightGreen";
- this.tsmiColorLightGreen.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorLightGreen.Text = "Light Green";
+ resources.ApplyResources(this.tsmiColorLightGreen, "tsmiColorLightGreen");
this.tsmiColorLightGreen.Click += new System.EventHandler(this.tsmiColorLightGreen_Click);
//
// tsmiColorCyan
@@ -246,8 +225,7 @@ private void InitializeComponent()
this.tsmiColorCyan.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(147)))), ((int)(((byte)(147)))));
this.tsmiColorCyan.ForeColor = System.Drawing.Color.White;
this.tsmiColorCyan.Name = "tsmiColorCyan";
- this.tsmiColorCyan.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorCyan.Text = "Cyan";
+ resources.ApplyResources(this.tsmiColorCyan, "tsmiColorCyan");
this.tsmiColorCyan.Click += new System.EventHandler(this.tsmiColorCyan_Click);
//
// tsmiColorLightCyan
@@ -255,8 +233,7 @@ private void InitializeComponent()
this.tsmiColorLightCyan.BackColor = System.Drawing.Color.Aqua;
this.tsmiColorLightCyan.ForeColor = System.Drawing.Color.Black;
this.tsmiColorLightCyan.Name = "tsmiColorLightCyan";
- this.tsmiColorLightCyan.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorLightCyan.Text = "Light Cyan";
+ resources.ApplyResources(this.tsmiColorLightCyan, "tsmiColorLightCyan");
this.tsmiColorLightCyan.Click += new System.EventHandler(this.tsmiColorLightCyan_Click);
//
// tsmiColorLightBlue
@@ -264,8 +241,7 @@ private void InitializeComponent()
this.tsmiColorLightBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(252)))));
this.tsmiColorLightBlue.ForeColor = System.Drawing.Color.White;
this.tsmiColorLightBlue.Name = "tsmiColorLightBlue";
- this.tsmiColorLightBlue.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorLightBlue.Text = "Light Blue";
+ resources.ApplyResources(this.tsmiColorLightBlue, "tsmiColorLightBlue");
this.tsmiColorLightBlue.Click += new System.EventHandler(this.tsmiColorLightBlue_Click);
//
// tsmiColorPink
@@ -273,8 +249,7 @@ private void InitializeComponent()
this.tsmiColorPink.BackColor = System.Drawing.Color.Fuchsia;
this.tsmiColorPink.ForeColor = System.Drawing.Color.White;
this.tsmiColorPink.Name = "tsmiColorPink";
- this.tsmiColorPink.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorPink.Text = "Pink";
+ resources.ApplyResources(this.tsmiColorPink, "tsmiColorPink");
this.tsmiColorPink.Click += new System.EventHandler(this.tsmiColorPink_Click);
//
// tsmiColorGrey
@@ -282,8 +257,7 @@ private void InitializeComponent()
this.tsmiColorGrey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.tsmiColorGrey.ForeColor = System.Drawing.Color.White;
this.tsmiColorGrey.Name = "tsmiColorGrey";
- this.tsmiColorGrey.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorGrey.Text = "Grey";
+ resources.ApplyResources(this.tsmiColorGrey, "tsmiColorGrey");
this.tsmiColorGrey.Click += new System.EventHandler(this.tsmiColorGrey_Click);
//
// tsmiColorLightGrey
@@ -291,83 +265,53 @@ private void InitializeComponent()
this.tsmiColorLightGrey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
this.tsmiColorLightGrey.ForeColor = System.Drawing.Color.Black;
this.tsmiColorLightGrey.Name = "tsmiColorLightGrey";
- this.tsmiColorLightGrey.Size = new System.Drawing.Size(135, 22);
- this.tsmiColorLightGrey.Text = "Light Grey";
+ resources.ApplyResources(this.tsmiColorLightGrey, "tsmiColorLightGrey");
this.tsmiColorLightGrey.Click += new System.EventHandler(this.tsmiColorLightGrey_Click);
//
// btnMessageSend
//
- this.btnMessageSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnMessageSend.Enabled = false;
- this.btnMessageSend.Location = new System.Drawing.Point(888, 602);
+ resources.ApplyResources(this.btnMessageSend, "btnMessageSend");
this.btnMessageSend.Name = "btnMessageSend";
- this.btnMessageSend.Size = new System.Drawing.Size(80, 24);
- this.btnMessageSend.TabIndex = 2;
- this.btnMessageSend.Text = "Send";
this.btnMessageSend.UseVisualStyleBackColor = true;
this.btnMessageSend.Click += new System.EventHandler(this.btnMessageSend_Click);
//
// txtOutput
//
- this.txtOutput.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)));
+ resources.ApplyResources(this.txtOutput, "txtOutput");
this.txtOutput.BackColor = System.Drawing.Color.White;
- this.txtOutput.Location = new System.Drawing.Point(8, 8);
- this.txtOutput.Multiline = true;
this.txtOutput.Name = "txtOutput";
this.txtOutput.ReadOnly = true;
- this.txtOutput.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.txtOutput.Size = new System.Drawing.Size(960, 584);
- this.txtOutput.TabIndex = 2;
- this.txtOutput.WordWrap = false;
//
// tcMain
//
this.tcMain.Controls.Add(this.tpMain);
this.tcMain.Controls.Add(this.tpOutput);
this.tcMain.Controls.Add(this.tpMessages);
- this.tcMain.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tcMain.Location = new System.Drawing.Point(0, 0);
+ resources.ApplyResources(this.tcMain, "tcMain");
this.tcMain.Name = "tcMain";
this.tcMain.SelectedIndex = 0;
- this.tcMain.Size = new System.Drawing.Size(984, 661);
- this.tcMain.TabIndex = 0;
//
// tpMain
//
this.tpMain.Controls.Add(this.btnConnect);
this.tpMain.Controls.Add(this.pgSettings);
- this.tpMain.Location = new System.Drawing.Point(4, 22);
+ resources.ApplyResources(this.tpMain, "tpMain");
this.tpMain.Name = "tpMain";
- this.tpMain.Padding = new System.Windows.Forms.Padding(3);
- this.tpMain.Size = new System.Drawing.Size(976, 635);
- this.tpMain.TabIndex = 2;
- this.tpMain.Text = "Main";
this.tpMain.UseVisualStyleBackColor = true;
//
// btnConnect
//
- this.btnConnect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnConnect.Location = new System.Drawing.Point(8, 600);
+ resources.ApplyResources(this.btnConnect, "btnConnect");
this.btnConnect.Name = "btnConnect";
- this.btnConnect.Size = new System.Drawing.Size(112, 24);
- this.btnConnect.TabIndex = 0;
- this.btnConnect.Text = "Connect";
this.btnConnect.UseVisualStyleBackColor = true;
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
//
// pgSettings
//
- this.pgSettings.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)));
+ resources.ApplyResources(this.pgSettings, "pgSettings");
this.pgSettings.CategoryForeColor = System.Drawing.SystemColors.InactiveCaptionText;
- this.pgSettings.Location = new System.Drawing.Point(8, 8);
this.pgSettings.Name = "pgSettings";
this.pgSettings.PropertySort = System.Windows.Forms.PropertySort.NoSort;
- this.pgSettings.Size = new System.Drawing.Size(960, 584);
- this.pgSettings.TabIndex = 1;
this.pgSettings.ToolbarVisible = false;
//
// tpOutput
@@ -376,43 +320,25 @@ private void InitializeComponent()
this.tpOutput.Controls.Add(this.lblCommand);
this.tpOutput.Controls.Add(this.btnCommandSend);
this.tpOutput.Controls.Add(this.txtOutput);
- this.tpOutput.Location = new System.Drawing.Point(4, 22);
+ resources.ApplyResources(this.tpOutput, "tpOutput");
this.tpOutput.Name = "tpOutput";
- this.tpOutput.Padding = new System.Windows.Forms.Padding(3);
- this.tpOutput.Size = new System.Drawing.Size(976, 635);
- this.tpOutput.TabIndex = 0;
- this.tpOutput.Text = "IRC output";
this.tpOutput.UseVisualStyleBackColor = true;
//
// txtCommand
//
- this.txtCommand.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtCommand.Location = new System.Drawing.Point(72, 604);
+ resources.ApplyResources(this.txtCommand, "txtCommand");
this.txtCommand.Name = "txtCommand";
- this.txtCommand.Size = new System.Drawing.Size(808, 20);
- this.txtCommand.TabIndex = 0;
this.txtCommand.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCommand_KeyDown);
//
// lblCommand
//
- this.lblCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.lblCommand.AutoSize = true;
- this.lblCommand.Location = new System.Drawing.Point(8, 608);
+ resources.ApplyResources(this.lblCommand, "lblCommand");
this.lblCommand.Name = "lblCommand";
- this.lblCommand.Size = new System.Drawing.Size(57, 13);
- this.lblCommand.TabIndex = 2;
- this.lblCommand.Text = "Command:";
//
// btnCommandSend
//
- this.btnCommandSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnCommandSend.Enabled = false;
- this.btnCommandSend.Location = new System.Drawing.Point(888, 602);
+ resources.ApplyResources(this.btnCommandSend, "btnCommandSend");
this.btnCommandSend.Name = "btnCommandSend";
- this.btnCommandSend.Size = new System.Drawing.Size(80, 24);
- this.btnCommandSend.TabIndex = 1;
- this.btnCommandSend.Text = "Send";
this.btnCommandSend.UseVisualStyleBackColor = true;
this.btnCommandSend.Click += new System.EventHandler(this.btnCommandSend_Click);
//
@@ -425,77 +351,45 @@ private void InitializeComponent()
this.tpMessages.Controls.Add(this.txtChannel);
this.tpMessages.Controls.Add(this.txtMessage);
this.tpMessages.Controls.Add(this.btnMessageSend);
- this.tpMessages.Location = new System.Drawing.Point(4, 22);
+ resources.ApplyResources(this.tpMessages, "tpMessages");
this.tpMessages.Name = "tpMessages";
- this.tpMessages.Padding = new System.Windows.Forms.Padding(3);
- this.tpMessages.Size = new System.Drawing.Size(976, 635);
- this.tpMessages.TabIndex = 1;
- this.tpMessages.Text = "Messages";
this.tpMessages.UseVisualStyleBackColor = true;
//
// btnMessagesMenu
//
- this.btnMessagesMenu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnMessagesMenu.Location = new System.Drawing.Point(856, 602);
+ resources.ApplyResources(this.btnMessagesMenu, "btnMessagesMenu");
this.btnMessagesMenu.Name = "btnMessagesMenu";
- this.btnMessagesMenu.Size = new System.Drawing.Size(24, 24);
- this.btnMessagesMenu.TabIndex = 4;
- this.btnMessagesMenu.Text = "...";
this.btnMessagesMenu.UseVisualStyleBackColor = true;
this.btnMessagesMenu.MouseClick += new System.Windows.Forms.MouseEventHandler(this.btnMessagesMenu_MouseClick);
//
// lblMessage
//
- this.lblMessage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.lblMessage.AutoSize = true;
- this.lblMessage.Location = new System.Drawing.Point(192, 608);
+ resources.ApplyResources(this.lblMessage, "lblMessage");
this.lblMessage.Name = "lblMessage";
- this.lblMessage.Size = new System.Drawing.Size(53, 13);
- this.lblMessage.TabIndex = 0;
- this.lblMessage.Text = "Message:";
//
// lblChannel
//
- this.lblChannel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.lblChannel.AutoSize = true;
- this.lblChannel.Location = new System.Drawing.Point(8, 608);
+ resources.ApplyResources(this.lblChannel, "lblChannel");
this.lblChannel.Name = "lblChannel";
- this.lblChannel.Size = new System.Drawing.Size(76, 13);
- this.lblChannel.TabIndex = 2;
- this.lblChannel.Text = "Channel/Nick:";
//
// txtMessages
//
- this.txtMessages.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)));
+ resources.ApplyResources(this.txtMessages, "txtMessages");
this.txtMessages.BackColor = System.Drawing.Color.White;
- this.txtMessages.Location = new System.Drawing.Point(8, 8);
- this.txtMessages.Multiline = true;
this.txtMessages.Name = "txtMessages";
this.txtMessages.ReadOnly = true;
- this.txtMessages.ScrollBars = System.Windows.Forms.ScrollBars.Both;
- this.txtMessages.Size = new System.Drawing.Size(960, 584);
- this.txtMessages.TabIndex = 3;
- this.txtMessages.WordWrap = false;
//
// txtChannel
//
- this.txtChannel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.txtChannel.Location = new System.Drawing.Point(88, 604);
+ resources.ApplyResources(this.txtChannel, "txtChannel");
this.txtChannel.Name = "txtChannel";
- this.txtChannel.Size = new System.Drawing.Size(96, 20);
- this.txtChannel.TabIndex = 1;
//
// IRCClientForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(984, 661);
this.Controls.Add(this.tcMain);
this.Name = "IRCClientForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "ShareX - IRC client";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
this.cmsMessage.ResumeLayout(false);
this.tcMain.ResumeLayout(false);
diff --git a/ShareX.IRCLib/IRCClientForm.resx b/ShareX.IRCLib/IRCClientForm.resx
index abc047156..b0d4f273f 100644
--- a/ShareX.IRCLib/IRCClientForm.resx
+++ b/ShareX.IRCLib/IRCClientForm.resx
@@ -117,10 +117,775 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Bottom, Left, Right
+
+
+
+ 248, 604
+
+
+ 600, 20
+
+
+
+ 0
+
+
+ txtMessage
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 5
+
17, 17
+
+ Segoe UI, 9pt, style=Bold
+
+
+ 100, 22
+
+
+ Bold
+
+
+ Segoe UI, 9pt, style=Italic
+
+
+ 100, 22
+
+
+ Italic
+
+
+ Segoe UI, 9pt, style=Underline
+
+
+ 100, 22
+
+
+ Underline
+
+
+ 100, 22
+
+
+ Normal
+
+
+ 135, 22
+
+
+ White
+
+
+ 135, 22
+
+
+ Black
+
+
+ 135, 22
+
+
+ Blue
+
+
+ 135, 22
+
+
+ Green
+
+
+ 135, 22
+
+
+ Light Red
+
+
+ 135, 22
+
+
+ Brown
+
+
+ 135, 22
+
+
+ Purple
+
+
+ 135, 22
+
+
+ Orange
+
+
+ 135, 22
+
+
+ Yellow
+
+
+ 135, 22
+
+
+ Light Green
+
+
+ 135, 22
+
+
+ Cyan
+
+
+ 135, 22
+
+
+ Light Cyan
+
+
+ 135, 22
+
+
+ Light Blue
+
+
+ 135, 22
+
+
+ Pink
+
+
+ 135, 22
+
+
+ Grey
+
+
+ 135, 22
+
+
+ Light Grey
+
+
+ 100, 22
+
+
+ Colors
+
+
+ 101, 114
+
+
+ cmsMessage
+
+
+ System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Bottom, Right
+
+
+ False
+
+
+ 888, 602
+
+
+ 80, 24
+
+
+ 2
+
+
+ Send
+
+
+ btnMessageSend
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 6
+
+
+ Top, Bottom, Left, Right
+
+
+ 8, 8
+
+
+ True
+
+
+ Both
+
+
+ 960, 584
+
+
+ 2
+
+
+ False
+
+
+ txtOutput
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpOutput
+
+
+ 3
+
+
+ Bottom, Left
+
+
+ 8, 600
+
+
+ 112, 24
+
+
+ 0
+
+
+ Connect
+
+
+ btnConnect
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMain
+
+
+ 0
+
+
+ Top, Bottom, Left, Right
+
+
+ 8, 8
+
+
+ 960, 584
+
+
+ 1
+
+
+ pgSettings
+
+
+ System.Windows.Forms.PropertyGrid, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMain
+
+
+ 1
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 976, 635
+
+
+ 2
+
+
+ Main
+
+
+ tpMain
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tcMain
+
+
+ 0
+
+
+ Bottom, Left, Right
+
+
+ 72, 604
+
+
+ 808, 20
+
+
+ 0
+
+
+ txtCommand
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpOutput
+
+
+ 0
+
+
+ Bottom, Left
+
+
+ True
+
+
+ 8, 608
+
+
+ 57, 13
+
+
+ 2
+
+
+ Command:
+
+
+ lblCommand
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpOutput
+
+
+ 1
+
+
+ Bottom, Right
+
+
+ False
+
+
+ 888, 602
+
+
+ 80, 24
+
+
+ 1
+
+
+ Send
+
+
+ btnCommandSend
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpOutput
+
+
+ 2
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 976, 635
+
+
+ 0
+
+
+ IRC output
+
+
+ tpOutput
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tcMain
+
+
+ 1
+
+
+ Bottom, Right
+
+
+ 856, 602
+
+
+ 24, 24
+
+
+ 4
+
+
+ ...
+ @Invariant
+
+ btnMessagesMenu
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 0
+
+
+ Bottom, Left
+
+
+ True
+
+
+ 192, 608
+
+
+ 53, 13
+
+
+ 0
+
+
+ Message:
+
+
+ lblMessage
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 1
+
+
+ Bottom, Left
+
+
+ True
+
+
+ 8, 608
+
+
+ 76, 13
+
+
+ 2
+
+
+ Channel/Nick:
+
+
+ lblChannel
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 2
+
+
+ Top, Bottom, Left, Right
+
+
+ 8, 8
+
+
+ True
+
+
+ Both
+
+
+ 960, 584
+
+
+ 3
+
+
+ False
+
+
+ txtMessages
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 3
+
+
+ Bottom, Left
+
+
+ 88, 604
+
+
+ 96, 20
+
+
+ 1
+
+
+ txtChannel
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tpMessages
+
+
+ 4
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 976, 635
+
+
+ 1
+
+
+ Messages
+
+
+ tpMessages
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tcMain
+
+
+ 2
+
+
+ Fill
+
+
+ 0, 0
+
+
+ 984, 661
+
+
+ 0
+
+
+ tcMain
+
+
+ System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 1
+
+
+ True
+
62
+
+ 6, 13
+
+
+ 984, 661
+
+
+ CenterScreen
+
+
+ ShareX - IRC client
+
+
+ tsmiMessageBold
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiMessageItalic
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiMessageUnderline
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiMessageNormal
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColors
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorWhite
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorBlack
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorBlue
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorGreen
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorLightRed
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorBrown
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorPurple
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorOrange
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorYellow
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorLightGreen
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorCyan
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorLightCyan
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorLightBlue
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorPink
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorGrey
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tsmiColorLightGrey
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ IRCClientForm
+
+
+ System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
\ No newline at end of file
diff --git a/ShareX.MediaLib/Forms/VideoThumbnailerForm.Designer.cs b/ShareX.MediaLib/Forms/VideoThumbnailerForm.Designer.cs
index f19229a2f..8588a4887 100644
--- a/ShareX.MediaLib/Forms/VideoThumbnailerForm.Designer.cs
+++ b/ShareX.MediaLib/Forms/VideoThumbnailerForm.Designer.cs
@@ -28,6 +28,7 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VideoThumbnailerForm));
this.txtMediaPath = new System.Windows.Forms.TextBox();
this.btnStart = new System.Windows.Forms.Button();
this.pgOptions = new System.Windows.Forms.PropertyGrid();
@@ -37,54 +38,40 @@ private void InitializeComponent()
//
// txtMediaPath
//
- this.txtMediaPath.Location = new System.Drawing.Point(8, 8);
+ resources.ApplyResources(this.txtMediaPath, "txtMediaPath");
this.txtMediaPath.Name = "txtMediaPath";
- this.txtMediaPath.Size = new System.Drawing.Size(496, 20);
- this.txtMediaPath.TabIndex = 0;
//
// btnStart
//
- this.btnStart.Location = new System.Drawing.Point(544, 6);
+ resources.ApplyResources(this.btnStart, "btnStart");
this.btnStart.Name = "btnStart";
- this.btnStart.Size = new System.Drawing.Size(168, 24);
- this.btnStart.TabIndex = 1;
- this.btnStart.Text = "Take screenshots";
this.btnStart.UseVisualStyleBackColor = true;
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
//
// pgOptions
//
this.pgOptions.CategoryForeColor = System.Drawing.SystemColors.InactiveCaptionText;
- this.pgOptions.Location = new System.Drawing.Point(8, 40);
+ resources.ApplyResources(this.pgOptions, "pgOptions");
this.pgOptions.Name = "pgOptions";
this.pgOptions.PropertySort = System.Windows.Forms.PropertySort.Categorized;
- this.pgOptions.Size = new System.Drawing.Size(704, 416);
- this.pgOptions.TabIndex = 2;
this.pgOptions.ToolbarVisible = false;
//
// btnBrowse
//
- this.btnBrowse.Location = new System.Drawing.Point(512, 6);
+ resources.ApplyResources(this.btnBrowse, "btnBrowse");
this.btnBrowse.Name = "btnBrowse";
- this.btnBrowse.Size = new System.Drawing.Size(27, 24);
- this.btnBrowse.TabIndex = 3;
- this.btnBrowse.Text = "...";
this.btnBrowse.UseVisualStyleBackColor = true;
this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click);
//
// pbProgress
//
- this.pbProgress.Location = new System.Drawing.Point(544, 6);
+ resources.ApplyResources(this.pbProgress, "pbProgress");
this.pbProgress.Name = "pbProgress";
- this.pbProgress.Size = new System.Drawing.Size(168, 24);
- this.pbProgress.TabIndex = 4;
- this.pbProgress.Visible = false;
//
// VideoThumbnailerForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(721, 464);
this.Controls.Add(this.btnBrowse);
this.Controls.Add(this.pgOptions);
this.Controls.Add(this.txtMediaPath);
@@ -92,8 +79,6 @@ private void InitializeComponent()
this.Controls.Add(this.pbProgress);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Name = "VideoThumbnailerForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "ShareX - Video thumbnailer";
this.ResumeLayout(false);
this.PerformLayout();
diff --git a/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx b/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx
index 1af7de150..d2be111ae 100644
--- a/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx
+++ b/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx
@@ -117,4 +117,142 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 8, 8
+
+
+ 496, 20
+
+
+
+ 0
+
+
+ txtMediaPath
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 2
+
+
+ 544, 6
+
+
+ 168, 24
+
+
+ 1
+
+
+ Take screenshots
+
+
+ btnStart
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 3
+
+
+ 8, 40
+
+
+ 704, 416
+
+
+ 2
+
+
+ pgOptions
+
+
+ System.Windows.Forms.PropertyGrid, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 1
+
+
+ 512, 6
+
+
+ 27, 24
+
+
+ 3
+
+
+ ...
+ @Invariant
+
+ btnBrowse
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 0
+
+
+ 544, 6
+
+
+ 168, 24
+
+
+ 4
+
+
+ False
+
+
+ pbProgress
+
+
+ System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 4
+
+
+ True
+
+
+ 6, 13
+
+
+ 721, 464
+
+
+
+ CenterScreen
+
+
+ ShareX - Video thumbnailer
+
+
+ VideoThumbnailerForm
+
+
+ System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
\ No newline at end of file
diff --git a/ShareX/Forms/ChromeForm.Designer.cs b/ShareX/Forms/ChromeForm.Designer.cs
index e7c2c4f30..4bd932c1c 100644
--- a/ShareX/Forms/ChromeForm.Designer.cs
+++ b/ShareX/Forms/ChromeForm.Designer.cs
@@ -28,6 +28,7 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChromeForm));
this.btnRegister = new System.Windows.Forms.Button();
this.btnUnregister = new System.Windows.Forms.Button();
this.lbl1 = new System.Windows.Forms.Label();
@@ -39,78 +40,46 @@ private void InitializeComponent()
// btnRegister
//
this.btnRegister.Image = global::ShareX.Properties.Resources.tick_button;
- this.btnRegister.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.btnRegister.Location = new System.Drawing.Point(8, 32);
+ resources.ApplyResources(this.btnRegister, "btnRegister");
this.btnRegister.Name = "btnRegister";
- this.btnRegister.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
- this.btnRegister.Size = new System.Drawing.Size(192, 32);
- this.btnRegister.TabIndex = 0;
- this.btnRegister.Text = "Enable Chrome support";
- this.btnRegister.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.btnRegister.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnRegister.UseVisualStyleBackColor = true;
this.btnRegister.Click += new System.EventHandler(this.btnRegister_Click);
//
// btnUnregister
//
this.btnUnregister.Image = global::ShareX.Properties.Resources.cross_button;
- this.btnUnregister.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.btnUnregister.Location = new System.Drawing.Point(208, 32);
+ resources.ApplyResources(this.btnUnregister, "btnUnregister");
this.btnUnregister.Name = "btnUnregister";
- this.btnUnregister.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
- this.btnUnregister.Size = new System.Drawing.Size(192, 32);
- this.btnUnregister.TabIndex = 1;
- this.btnUnregister.Text = "Disable Chrome support";
- this.btnUnregister.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.btnUnregister.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnUnregister.UseVisualStyleBackColor = true;
this.btnUnregister.Click += new System.EventHandler(this.btnUnregister_Click);
//
// lbl1
//
- this.lbl1.Location = new System.Drawing.Point(8, 8);
+ resources.ApplyResources(this.lbl1, "lbl1");
this.lbl1.Name = "lbl1";
- this.lbl1.Size = new System.Drawing.Size(392, 24);
- this.lbl1.TabIndex = 2;
- this.lbl1.Text = "1. Enable Chrome support otherwise extension can\'t interact with ShareX.";
//
// lbl2
//
- this.lbl2.Location = new System.Drawing.Point(8, 80);
+ resources.ApplyResources(this.lbl2, "lbl2");
this.lbl2.Name = "lbl2";
- this.lbl2.Size = new System.Drawing.Size(392, 24);
- this.lbl2.TabIndex = 3;
- this.lbl2.Text = "2. Install ShareX Chrome extension from Chrome web store.";
//
// btnInstallExtension
//
this.btnInstallExtension.Image = global::ShareX.Properties.Resources.arrow_270;
- this.btnInstallExtension.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.btnInstallExtension.Location = new System.Drawing.Point(8, 104);
+ resources.ApplyResources(this.btnInstallExtension, "btnInstallExtension");
this.btnInstallExtension.Name = "btnInstallExtension";
- this.btnInstallExtension.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
- this.btnInstallExtension.Size = new System.Drawing.Size(392, 32);
- this.btnInstallExtension.TabIndex = 4;
- this.btnInstallExtension.Text = "Install ShareX Chrome extension";
- this.btnInstallExtension.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.btnInstallExtension.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.btnInstallExtension.UseVisualStyleBackColor = true;
this.btnInstallExtension.Click += new System.EventHandler(this.btnInstallExtension_Click);
//
// lbl3
//
- this.lbl3.Location = new System.Drawing.Point(8, 152);
+ resources.ApplyResources(this.lbl3, "lbl3");
this.lbl3.Name = "lbl3";
- this.lbl3.Size = new System.Drawing.Size(392, 40);
- this.lbl3.TabIndex = 5;
- this.lbl3.Text = "3. In Chrome right click on image or selected text and you will see \"Upload with " +
- "ShareX\" button in context menu.";
//
// ChromeForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(409, 195);
this.Controls.Add(this.lbl3);
this.Controls.Add(this.btnInstallExtension);
this.Controls.Add(this.lbl2);
@@ -120,8 +89,6 @@ private void InitializeComponent()
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "ChromeForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "ShareX - Chrome extension support";
this.ResumeLayout(false);
}
diff --git a/ShareX/Forms/ChromeForm.cs b/ShareX/Forms/ChromeForm.cs
index ee401d4cf..9ee9c56c0 100644
--- a/ShareX/Forms/ChromeForm.cs
+++ b/ShareX/Forms/ChromeForm.cs
@@ -70,7 +70,7 @@ private void btnRegister_Click(object sender, EventArgs e)
RegistryHelpers.RegisterChromeSupport(Program.ChromeHostManifestPath);
- MessageBox.Show("Chrome support enabled.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ MessageBox.Show(Resources.ChromeForm_btnRegister_Click_Chrome_support_enabled_, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
@@ -89,7 +89,7 @@ private void btnUnregister_Click(object sender, EventArgs e)
RegistryHelpers.UnregisterChromeSupport();
- MessageBox.Show("Chrome support disabled.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
+ MessageBox.Show(Resources.ChromeForm_btnUnregister_Click_Chrome_support_disabled_, "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
diff --git a/ShareX/Forms/ChromeForm.resx b/ShareX/Forms/ChromeForm.resx
index 1af7de150..bbea1db07 100644
--- a/ShareX/Forms/ChromeForm.resx
+++ b/ShareX/Forms/ChromeForm.resx
@@ -117,4 +117,208 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ MiddleLeft
+
+
+ 8, 32
+
+
+
+ 5, 0, 0, 0
+
+
+ 192, 32
+
+
+
+ 0
+
+
+ Enable Chrome support
+
+
+ MiddleLeft
+
+
+ ImageBeforeText
+
+
+ btnRegister
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 5
+
+
+ MiddleLeft
+
+
+ 208, 32
+
+
+ 5, 0, 0, 0
+
+
+ 192, 32
+
+
+ 1
+
+
+ Disable Chrome support
+
+
+ MiddleLeft
+
+
+ ImageBeforeText
+
+
+ btnUnregister
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 4
+
+
+ 8, 8
+
+
+ 392, 24
+
+
+ 2
+
+
+ 1. Enable Chrome support otherwise extension can't interact with ShareX.
+
+
+ lbl1
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 3
+
+
+ 8, 80
+
+
+ 392, 24
+
+
+ 3
+
+
+ 2. Install ShareX Chrome extension from Chrome web store.
+
+
+ lbl2
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 2
+
+
+ MiddleLeft
+
+
+ 8, 104
+
+
+ 5, 0, 0, 0
+
+
+ 392, 32
+
+
+ 4
+
+
+ Install ShareX Chrome extension
+
+
+ MiddleLeft
+
+
+ ImageBeforeText
+
+
+ btnInstallExtension
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 1
+
+
+ 8, 152
+
+
+ 392, 40
+
+
+ 5
+
+
+ 3. In Chrome right click on image or selected text and you will see "Upload with ShareX" button in context menu.
+
+
+ lbl3
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 0
+
+
+ True
+
+
+ 6, 13
+
+
+ 409, 195
+
+
+ CenterScreen
+
+
+ ShareX - Chrome extension support
+
+
+ ChromeForm
+
+
+ System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
\ No newline at end of file
diff --git a/ShareX/Properties/Resources.Designer.cs b/ShareX/Properties/Resources.Designer.cs
index 102e4bc9d..b9d52ef8f 100644
--- a/ShareX/Properties/Resources.Designer.cs
+++ b/ShareX/Properties/Resources.Designer.cs
@@ -454,6 +454,24 @@ public class Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Chrome support enabled..
+ ///
+ public static string ChromeForm_btnRegister_Click_Chrome_support_enabled_ {
+ get {
+ return ResourceManager.GetString("ChromeForm_btnRegister_Click_Chrome_support_enabled_", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Chrome support disabled..
+ ///
+ public static string ChromeForm_btnUnregister_Click_Chrome_support_disabled_ {
+ get {
+ return ResourceManager.GetString("ChromeForm_btnUnregister_Click_Chrome_support_disabled_", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized resource of type System.Drawing.Bitmap.
///
diff --git a/ShareX/Properties/Resources.resx b/ShareX/Properties/Resources.resx
index f37b8ff6f..f82c82cd8 100644
--- a/ShareX/Properties/Resources.resx
+++ b/ShareX/Properties/Resources.resx
@@ -784,4 +784,10 @@ Would you like to restart ShareX?
..\Resources\arrow-270.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ Chrome support enabled.
+
+
+ Chrome support disabled.
+
\ No newline at end of file