From 56f1222c314c5ed4084768add0ba616669e0f614 Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Sun, 24 Dec 2017 18:28:47 +0100 Subject: [PATCH] Replace FrmBase64 with FrmCoder --- VAR.Toolbox/Code/CoderBase64.cs | 26 ++++ VAR.Toolbox/Code/ICoder.cs | 8 ++ VAR.Toolbox/UI/FrmBase64.Designer.cs | 135 ------------------ VAR.Toolbox/UI/FrmBase64.cs | 42 ------ VAR.Toolbox/UI/FrmCoder.Designer.cs | 190 ++++++++++++++++++++++++++ VAR.Toolbox/UI/FrmCoder.cs | 65 +++++++++ VAR.Toolbox/UI/FrmToolbox.Designer.cs | 24 ++-- VAR.Toolbox/UI/FrmToolbox.cs | 4 +- VAR.Toolbox/VAR.Toolbox.csproj | 8 +- 9 files changed, 308 insertions(+), 194 deletions(-) create mode 100644 VAR.Toolbox/Code/CoderBase64.cs create mode 100644 VAR.Toolbox/Code/ICoder.cs delete mode 100644 VAR.Toolbox/UI/FrmBase64.Designer.cs delete mode 100644 VAR.Toolbox/UI/FrmBase64.cs create mode 100644 VAR.Toolbox/UI/FrmCoder.Designer.cs create mode 100644 VAR.Toolbox/UI/FrmCoder.cs diff --git a/VAR.Toolbox/Code/CoderBase64.cs b/VAR.Toolbox/Code/CoderBase64.cs new file mode 100644 index 0000000..6ef8b07 --- /dev/null +++ b/VAR.Toolbox/Code/CoderBase64.cs @@ -0,0 +1,26 @@ +using System; +using System.Text; + +namespace VAR.Toolbox.Code +{ + public class CoderBase64 : ICoder + { + public string Decode(string input, string key) + { + byte[] encodedDataAsBytes + = Convert.FromBase64String(input); + string returnValue = + Encoding.ASCII.GetString(encodedDataAsBytes); + return returnValue; + } + + public string Encode(string input, string key) + { + byte[] toEncodeAsBytes + = Encoding.ASCII.GetBytes(input); + string returnValue + = Convert.ToBase64String(toEncodeAsBytes); + return returnValue; + } + } +} diff --git a/VAR.Toolbox/Code/ICoder.cs b/VAR.Toolbox/Code/ICoder.cs new file mode 100644 index 0000000..8955287 --- /dev/null +++ b/VAR.Toolbox/Code/ICoder.cs @@ -0,0 +1,8 @@ +namespace VAR.Toolbox.Code +{ + public interface ICoder + { + string Encode(string input, string key); + string Decode(string input, string key); + } +} diff --git a/VAR.Toolbox/UI/FrmBase64.Designer.cs b/VAR.Toolbox/UI/FrmBase64.Designer.cs deleted file mode 100644 index 744bc26..0000000 --- a/VAR.Toolbox/UI/FrmBase64.Designer.cs +++ /dev/null @@ -1,135 +0,0 @@ -namespace VAR.Toolbox.UI -{ - partial class FrmBase64 - { - /// - /// 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() - { - this.txtInput = new System.Windows.Forms.TextBox(); - this.btnDecodeBase64 = new System.Windows.Forms.Button(); - this.txtOutput = new System.Windows.Forms.TextBox(); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.btnEncodeBase64 = new System.Windows.Forms.Button(); - this.splitContainer1.Panel1.SuspendLayout(); - this.splitContainer1.Panel2.SuspendLayout(); - this.splitContainer1.SuspendLayout(); - this.SuspendLayout(); - // - // txtInput - // - this.txtInput.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.txtInput.Location = new System.Drawing.Point(12, 14); - this.txtInput.Multiline = true; - this.txtInput.Name = "txtInput"; - this.txtInput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtInput.Size = new System.Drawing.Size(353, 364); - this.txtInput.TabIndex = 0; - // - // btnDecodeBase64 - // - this.btnDecodeBase64.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnDecodeBase64.Location = new System.Drawing.Point(12, 384); - this.btnDecodeBase64.Name = "btnDecodeBase64"; - this.btnDecodeBase64.Size = new System.Drawing.Size(105, 23); - this.btnDecodeBase64.TabIndex = 1; - this.btnDecodeBase64.Text = "Decode Base64"; - this.btnDecodeBase64.UseVisualStyleBackColor = true; - this.btnDecodeBase64.Click += new System.EventHandler(this.btnDecodeBase64_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))); - this.txtOutput.Location = new System.Drawing.Point(3, 14); - this.txtOutput.Multiline = true; - this.txtOutput.Name = "txtOutput"; - this.txtOutput.ReadOnly = true; - this.txtOutput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtOutput.Size = new System.Drawing.Size(356, 364); - this.txtOutput.TabIndex = 2; - // - // splitContainer1 - // - this.splitContainer1.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.splitContainer1.Location = new System.Drawing.Point(0, 0); - this.splitContainer1.Name = "splitContainer1"; - // - // splitContainer1.Panel1 - // - this.splitContainer1.Panel1.Controls.Add(this.btnEncodeBase64); - this.splitContainer1.Panel1.Controls.Add(this.btnDecodeBase64); - this.splitContainer1.Panel1.Controls.Add(this.txtInput); - // - // splitContainer1.Panel2 - // - this.splitContainer1.Panel2.Controls.Add(this.txtOutput); - this.splitContainer1.Size = new System.Drawing.Size(743, 418); - this.splitContainer1.SplitterDistance = 368; - this.splitContainer1.TabIndex = 3; - // - // btnEncodeBase64 - // - this.btnEncodeBase64.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnEncodeBase64.Location = new System.Drawing.Point(123, 384); - this.btnEncodeBase64.Name = "btnEncodeBase64"; - this.btnEncodeBase64.Size = new System.Drawing.Size(107, 23); - this.btnEncodeBase64.TabIndex = 3; - this.btnEncodeBase64.Text = "Encode Base64"; - this.btnEncodeBase64.UseVisualStyleBackColor = true; - this.btnEncodeBase64.Click += new System.EventHandler(this.btnEncodeBase64_Click); - // - // frmBase64 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(743, 417); - this.Controls.Add(this.splitContainer1); - this.Name = "frmBase64"; - this.Text = "Base64"; - this.splitContainer1.Panel1.ResumeLayout(false); - this.splitContainer1.Panel1.PerformLayout(); - this.splitContainer1.Panel2.ResumeLayout(false); - this.splitContainer1.Panel2.PerformLayout(); - this.splitContainer1.ResumeLayout(false); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TextBox txtInput; - private System.Windows.Forms.Button btnDecodeBase64; - private System.Windows.Forms.TextBox txtOutput; - private System.Windows.Forms.SplitContainer splitContainer1; - private System.Windows.Forms.Button btnEncodeBase64; - } -} - diff --git a/VAR.Toolbox/UI/FrmBase64.cs b/VAR.Toolbox/UI/FrmBase64.cs deleted file mode 100644 index 7e62c33..0000000 --- a/VAR.Toolbox/UI/FrmBase64.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Text; -using System.Windows.Forms; - -namespace VAR.Toolbox.UI -{ - public partial class FrmBase64 : Form - { - public FrmBase64() - { - InitializeComponent(); - } - - static public string Base64Encode(string toEncode) - { - byte[] toEncodeAsBytes - = Encoding.ASCII.GetBytes(toEncode); - string returnValue - = System.Convert.ToBase64String(toEncodeAsBytes); - return returnValue; - } - - static public string Base64Decode(string encodedData) - { - byte[] encodedDataAsBytes - = System.Convert.FromBase64String(encodedData); - string returnValue = - Encoding.ASCII.GetString(encodedDataAsBytes); - return returnValue; - } - - private void btnDecodeBase64_Click(object sender, EventArgs e) - { - txtOutput.Text = Base64Decode(txtInput.Text); - } - - private void btnEncodeBase64_Click(object sender, EventArgs e) - { - txtOutput.Text = Base64Encode(txtInput.Text); - } - } -} diff --git a/VAR.Toolbox/UI/FrmCoder.Designer.cs b/VAR.Toolbox/UI/FrmCoder.Designer.cs new file mode 100644 index 0000000..26007be --- /dev/null +++ b/VAR.Toolbox/UI/FrmCoder.Designer.cs @@ -0,0 +1,190 @@ +namespace VAR.Toolbox.UI +{ + partial class FrmCoder + { + /// + /// 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() + { + this.txtInput = new System.Windows.Forms.TextBox(); + this.btnDecode = new System.Windows.Forms.Button(); + this.txtOutput = new System.Windows.Forms.TextBox(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.btnEncode = new System.Windows.Forms.Button(); + this.cboCode = new System.Windows.Forms.ComboBox(); + this.btnSwap = new System.Windows.Forms.Button(); + this.txtKey = new System.Windows.Forms.TextBox(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.SuspendLayout(); + // + // txtInput + // + this.txtInput.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.txtInput.Location = new System.Drawing.Point(13, 14); + this.txtInput.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txtInput.Multiline = true; + this.txtInput.Name = "txtInput"; + this.txtInput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtInput.Size = new System.Drawing.Size(527, 463); + this.txtInput.TabIndex = 0; + // + // btnDecode + // + this.btnDecode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnDecode.Location = new System.Drawing.Point(219, 593); + this.btnDecode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnDecode.Name = "btnDecode"; + this.btnDecode.Size = new System.Drawing.Size(94, 35); + this.btnDecode.TabIndex = 1; + this.btnDecode.Text = "Decode"; + this.btnDecode.UseVisualStyleBackColor = true; + this.btnDecode.Click += new System.EventHandler(this.btnDecodeBase64_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))); + this.txtOutput.Location = new System.Drawing.Point(11, 14); + this.txtOutput.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txtOutput.Multiline = true; + this.txtOutput.Name = "txtOutput"; + this.txtOutput.ReadOnly = true; + this.txtOutput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtOutput.Size = new System.Drawing.Size(533, 558); + this.txtOutput.TabIndex = 2; + // + // splitContainer1 + // + this.splitContainer1.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.splitContainer1.Location = new System.Drawing.Point(0, 0); + this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.splitContainer1.Name = "splitContainer1"; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.txtKey); + this.splitContainer1.Panel1.Controls.Add(this.cboCode); + this.splitContainer1.Panel1.Controls.Add(this.btnEncode); + this.splitContainer1.Panel1.Controls.Add(this.btnDecode); + this.splitContainer1.Panel1.Controls.Add(this.txtInput); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.btnSwap); + this.splitContainer1.Panel2.Controls.Add(this.txtOutput); + this.splitContainer1.Size = new System.Drawing.Size(1114, 643); + this.splitContainer1.SplitterDistance = 551; + this.splitContainer1.SplitterWidth = 6; + this.splitContainer1.TabIndex = 3; + // + // btnEncode + // + this.btnEncode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnEncode.Location = new System.Drawing.Point(321, 593); + this.btnEncode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnEncode.Name = "btnEncode"; + this.btnEncode.Size = new System.Drawing.Size(94, 35); + this.btnEncode.TabIndex = 3; + this.btnEncode.Text = "Encode"; + this.btnEncode.UseVisualStyleBackColor = true; + this.btnEncode.Click += new System.EventHandler(this.btnEncodeBase64_Click); + // + // cboCode + // + this.cboCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.cboCode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboCode.FormattingEnabled = true; + this.cboCode.Items.AddRange(new object[] { + "Base64"}); + this.cboCode.Location = new System.Drawing.Point(18, 597); + this.cboCode.Name = "cboCode"; + this.cboCode.Size = new System.Drawing.Size(194, 28); + this.cboCode.TabIndex = 4; + this.cboCode.SelectedIndexChanged += new System.EventHandler(this.cboCode_SelectedIndexChanged); + // + // btnSwap + // + this.btnSwap.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnSwap.Location = new System.Drawing.Point(4, 593); + this.btnSwap.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnSwap.Name = "btnSwap"; + this.btnSwap.Size = new System.Drawing.Size(94, 35); + this.btnSwap.TabIndex = 4; + this.btnSwap.Text = "Swap"; + this.btnSwap.UseVisualStyleBackColor = true; + this.btnSwap.Click += new System.EventHandler(this.btnSwap_Click); + // + // txtKey + // + this.txtKey.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtKey.Location = new System.Drawing.Point(13, 487); + this.txtKey.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.txtKey.Multiline = true; + this.txtKey.Name = "txtKey"; + this.txtKey.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.txtKey.Size = new System.Drawing.Size(527, 89); + this.txtKey.TabIndex = 5; + // + // FrmCoder + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1114, 642); + this.Controls.Add(this.splitContainer1); + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.Name = "FrmCoder"; + this.Text = "Coder"; + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel1.PerformLayout(); + this.splitContainer1.Panel2.ResumeLayout(false); + this.splitContainer1.Panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TextBox txtInput; + private System.Windows.Forms.Button btnDecode; + private System.Windows.Forms.TextBox txtOutput; + private System.Windows.Forms.SplitContainer splitContainer1; + private System.Windows.Forms.Button btnEncode; + private System.Windows.Forms.ComboBox cboCode; + private System.Windows.Forms.Button btnSwap; + private System.Windows.Forms.TextBox txtKey; + } +} + diff --git a/VAR.Toolbox/UI/FrmCoder.cs b/VAR.Toolbox/UI/FrmCoder.cs new file mode 100644 index 0000000..687a7fe --- /dev/null +++ b/VAR.Toolbox/UI/FrmCoder.cs @@ -0,0 +1,65 @@ +using System; +using System.Windows.Forms; +using VAR.Toolbox.Code; + +namespace VAR.Toolbox.UI +{ + public partial class FrmCoder : Form + { + public FrmCoder() + { + InitializeComponent(); + + cboCode.SelectedItem = "Base64"; + + } + + private ICoder _coder = null; + + private void btnDecodeBase64_Click(object sender, EventArgs e) + { + string output = string.Empty; + try + { + output = _coder.Decode(txtInput.Text, txtKey.Text); + } + catch (Exception ex) + { + MessageBox.Show(ex.Message); + } + txtOutput.Text = output; + } + + private void btnEncodeBase64_Click(object sender, EventArgs e) + { + string output = string.Empty; + try + { + output = _coder.Encode(txtInput.Text, txtKey.Text); + } + catch (Exception ex) + { + MessageBox.Show(ex.Message); + } + txtOutput.Text = output; + } + + private void btnSwap_Click(object sender, EventArgs e) + { + string temp = txtOutput.Text; + txtOutput.Text = txtInput.Text; + txtInput.Text = temp; + } + + private void cboCode_SelectedIndexChanged(object sender, EventArgs e) + { + string code = (string)cboCode.SelectedItem; + if(code == "Base64") + { + txtKey.Enabled = false; + _coder = new CoderBase64(); + return; + } + } + } +} diff --git a/VAR.Toolbox/UI/FrmToolbox.Designer.cs b/VAR.Toolbox/UI/FrmToolbox.Designer.cs index 8530823..7fc2b5f 100644 --- a/VAR.Toolbox/UI/FrmToolbox.Designer.cs +++ b/VAR.Toolbox/UI/FrmToolbox.Designer.cs @@ -29,7 +29,7 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - this.btnBase64 = new System.Windows.Forms.Button(); + this.btnCoder = new System.Windows.Forms.Button(); this.btnProxyCmd = new System.Windows.Forms.Button(); this.btnWebcam = new System.Windows.Forms.Button(); this.btnTunnelTCP = new System.Windows.Forms.Button(); @@ -44,16 +44,16 @@ this.btnIPScan = new System.Windows.Forms.Button(); this.SuspendLayout(); // - // btnBase64 + // btnCoder // - this.btnBase64.Location = new System.Drawing.Point(14, 80); - this.btnBase64.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.btnBase64.Name = "btnBase64"; - this.btnBase64.Size = new System.Drawing.Size(248, 52); - this.btnBase64.TabIndex = 0; - this.btnBase64.Text = "Base64"; - this.btnBase64.UseVisualStyleBackColor = true; - this.btnBase64.Click += new System.EventHandler(this.btnBase64_Click); + this.btnCoder.Location = new System.Drawing.Point(14, 80); + this.btnCoder.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnCoder.Name = "btnCoder"; + this.btnCoder.Size = new System.Drawing.Size(248, 52); + this.btnCoder.TabIndex = 0; + this.btnCoder.Text = "Coder"; + this.btnCoder.UseVisualStyleBackColor = true; + this.btnCoder.Click += new System.EventHandler(this.btnCoder_Click); // // btnProxyCmd // @@ -192,7 +192,7 @@ this.Controls.Add(this.pnlCover1); this.Controls.Add(this.btnWebcam); this.Controls.Add(this.btnProxyCmd); - this.Controls.Add(this.btnBase64); + this.Controls.Add(this.btnCoder); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MaximizeBox = false; @@ -207,7 +207,7 @@ #endregion - private System.Windows.Forms.Button btnBase64; + private System.Windows.Forms.Button btnCoder; private System.Windows.Forms.Button btnProxyCmd; private System.Windows.Forms.Button btnWebcam; private PnlCover pnlCover1; diff --git a/VAR.Toolbox/UI/FrmToolbox.cs b/VAR.Toolbox/UI/FrmToolbox.cs index 0e80fba..05d5e6b 100644 --- a/VAR.Toolbox/UI/FrmToolbox.cs +++ b/VAR.Toolbox/UI/FrmToolbox.cs @@ -75,9 +75,9 @@ namespace VAR.Toolbox.UI WindowState = FormWindowState.Normal; } - private void btnBase64_Click(object sender, EventArgs e) + private void btnCoder_Click(object sender, EventArgs e) { - CreateWindow(typeof(FrmBase64)); + CreateWindow(typeof(FrmCoder)); } private void btnProxyCmd_Click(object sender, EventArgs e) diff --git a/VAR.Toolbox/VAR.Toolbox.csproj b/VAR.Toolbox/VAR.Toolbox.csproj index b3954b7..ec2140c 100644 --- a/VAR.Toolbox/VAR.Toolbox.csproj +++ b/VAR.Toolbox/VAR.Toolbox.csproj @@ -53,6 +53,7 @@ + @@ -84,6 +85,7 @@ + @@ -98,11 +100,11 @@ Component - + Form - - FrmBase64.cs + + FrmCoder.cs Form