User:RavynousHunter/GEP/Source/1.2 R1

Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Security.Cryptography;

namespace GEP_1._1 {   public partial class Form1 : Form {       public Form1 {           InitializeComponent; }

public byte[] encrypt(byte[] input) {           int    xor_byte = 0x10; byte  encode_byte; string ret_char = Convert.ToBase64String(input); byte[] ret_data = new byte[ret_char.Length];

for (int i = 0; i < ret_data.Length; i++) {               encode_byte = Convert.ToByte(Convert.ToInt32(ret_char[i]) ^ xor_byte); ret_data[i] = encode_byte; }           return ret_data; }

public byte[] decrypt(byte[] input) {           int    xor_byte = 0x10; byte  decode_byte; string ret_char = "";

for (int i = 0; i < input.Length; i++) {               decode_byte = Convert.ToByte(Convert.ToInt32(input[i]) ^ xor_byte); ret_char  += Convert.ToString(Convert.ToChar(decode_byte)); }           byte[] ret_data = new byte[ret_char.Length]; ret_data = Convert.FromBase64String(ret_char);

return ret_data; }

private void mnuAbout_Click(object sender, EventArgs e)       { string dialog;

dialog = "GEP v1.2 R1\n"; dialog += "========\n"; dialog += "by RavynousHunter\n\n"; dialog += "Generic Encryption Program (GEP) provides an\n"; dialog += "easy-to-use, simple GUI for the encryption and\n"; dialog += "decryption of various files.\n\n"; dialog += "Please note that all encrypted files are saved\n"; dialog += "with a *.RH1 extension.\n\n"; dialog += "Report any problems, questions, or suggestions\n to this page:\n"; dialog += "guildwars.wikia.com/wiki/User_talk:RavynousHunter/GEP"; dialog += "\n\n"; dialog += "New for 1.2 Revision 1:\n"; dialog += "\t*Streamlined design to make adding\n\t  and removing entries easier.\n"; dialog += "\t*Fixed some inconsistancies in dialogs.\n"; dialog += "\t*Added some dialog checks to prevent\n\t  bugs.";

MessageBox.Show(dialog, "Generic Encryption Program (GEP) v1.2 R1"); }

private void cmdEncOpen_Click(object sender, EventArgs e)       { //txtEncIn.Text = OpenFileEnc("C:\\"); string[] files = OpenFileEnc("C:\\"); if (files == null) {               MessageBox.Show("Warning!  No Files were selected for encryption.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; }           for (int i = 0; i < files.Length; i++) {               lstEncFiles.Items.Add(files[i]); }       }

public string[] OpenFileEnc(string initialDirectory) {           OpenFileDialog ofd = new OpenFileDialog; ofd.Filter = "All Files (*.*)|*.*"; ofd.InitialDirectory = initialDirectory; ofd.Title = "Select a file to encrypt"; ofd.Multiselect = true; return (ofd.ShowDialog == DialogResult.OK) ? ofd.FileNames : null; }

public string[] OpenFileDec(string initialDirectory) {           OpenFileDialog ofd = new OpenFileDialog; ofd.Filter = "RH1 Files (*.RH1)|*.RH1"; ofd.InitialDirectory = initialDirectory; ofd.Title = "Select a *.RH1 file to decrypt"; ofd.Multiselect = true; return (ofd.ShowDialog == DialogResult.OK) ? ofd.FileNames : null; }

public string OpenDirectory {           FolderBrowserDialog fbd = new FolderBrowserDialog; return (fbd.ShowDialog == DialogResult.OK) ? fbd.SelectedPath : null; }

private void cmdDecOpen_Click(object sender, EventArgs e)       { //txtDecIn.Text = OpenFileDec("C:\\"); string[] files = OpenFileDec("C:\\"); if (files == null) {               MessageBox.Show("Warning!  No files were selected for decryption.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; }           for (int i = 0; i < files.Length; i++) {               lstDecFiles.Items.Add(files[i]); }       }

private void cmdEncrypt_Click(object sender, EventArgs e)       { for (int i = 0; i < lstEncFiles.Items.Count; i++) {               FileStream in_stream = new FileStream(lstEncFiles.Items[i].ToString, FileMode.Open); string out_dest = txtEncDest.Text + lstEncFilenames.Items[i].ToString + ".RH1"; FileStream out_stream = new FileStream(out_dest, FileMode.OpenOrCreate | FileMode.Append);

byte[] file_mem = new byte[in_stream.Length]; in_stream.Read(file_mem, 0, file_mem.Length); byte[] enc_file = encrypt(file_mem); out_stream.Write(enc_file, 0, enc_file.Length);

in_stream.Close; out_stream.Close; lblEncStatus.Text = "All files successfully encrypted!"; }       }

private void cmdEncOpenDest_Click(object sender, EventArgs e)       { txtEncDest.Text = OpenDirectory; }

private void cmdDecrypt_Click(object sender, EventArgs e)       { for (int i = 0; i < lstDecFiles.Items.Count; i++) {               FileStream in_stream = new FileStream(lstDecFiles.Items[i].ToString, FileMode.Open); string out_dest = txtDecDest.Text + lstDecFilenames.Items[i].ToString; FileStream out_stream = new FileStream(out_dest, FileMode.OpenOrCreate | FileMode.Append);

byte[] file_mem = new byte[in_stream.Length]; in_stream.Read(file_mem, 0, file_mem.Length); byte[] dec_file = decrypt(file_mem); out_stream.Write(dec_file, 0, dec_file.Length);

in_stream.Close; out_stream.Close; lblDecStatus.Text = "All files successfully decrypted!"; }       }

private void cmdDecOpenDest_Click(object sender, EventArgs e)       { txtDecDest.Text = OpenDirectory; }

private void txtEncFilename_KeyUp(object sender, KeyEventArgs e)       { if (e.KeyCode == Keys.Enter) {               if (txtEncFilename.Text == "" || txtEncFilename.Text == null) {                   MessageBox.Show("You need to type in a filename before adding it to the list.", "User Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }               else {                   lstEncFilenames.Items.Add(txtEncFilename.Text); txtEncFilename.Text = null; }           }        }

private void txtDecFilename_KeyUp(object sender, KeyEventArgs e)       { if (e.KeyCode == Keys.Enter) {               if (txtDecFilename.Text == "" || txtDecFilename.Text == null) {                   MessageBox.Show("You need to type in a filename before adding it to the list.", "User Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }               else {                   lstDecFilenames.Items.Add(txtDecFilename.Text); txtDecFilename.Text = null; }           }        }

private void lstEncFiles_KeyUp(object sender, KeyEventArgs e)       { if (e.KeyCode == Keys.Delete) {               if (lstEncFiles.SelectedIndex == -1) {                   MessageBox.Show("You must select an entry to remove before removing it.", "User Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }               else {                   lstEncFiles.Items.RemoveAt(lstEncFiles.SelectedIndex); }           }        }

private void lstEncFilenames_KeyUp(object sender, KeyEventArgs e)       { if (e.KeyCode == Keys.Delete) {               if (lstEncFilenames.SelectedIndex == -1) {                   MessageBox.Show("You must select an entry to remove before removing it.", "User Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }               else {                   lstEncFilenames.Items.RemoveAt(lstEncFilenames.SelectedIndex); }           }        }

private void lstDecFiles_KeyUp(object sender, KeyEventArgs e)       { if (e.KeyCode == Keys.Delete) {               if (lstDecFiles.SelectedIndex == -1) {                   MessageBox.Show("You must select an entry to remove before removing it.", "User Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }               else {                   lstDecFiles.Items.RemoveAt(lstDecFiles.SelectedIndex); }           }        }

private void lstDecFilenames_KeyUp(object sender, KeyEventArgs e)       { if (e.KeyCode == Keys.Delete) {               if (lstDecFilenames.SelectedIndex == -1) {                   MessageBox.Show("You must select an entry to remove before removing it.", "User Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }               else {                   lstDecFilenames.Items.RemoveAt(lstDecFilenames.SelectedIndex); }           }        }    } }

Form1.Designer.cs
namespace GEP_1._1 {   partial class Form1 {       ///         /// 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.tabControl1 = new System.Windows.Forms.TabControl; this.tabEnc = new System.Windows.Forms.TabPage; this.txtEncFilename = new System.Windows.Forms.TextBox; this.lstEncFilenames = new System.Windows.Forms.ListBox; this.lstEncFiles = new System.Windows.Forms.ListBox; this.cmdEncOpenDest = new System.Windows.Forms.Button; this.lblEncStatus = new System.Windows.Forms.Label; this.cmdEncrypt = new System.Windows.Forms.Button; this.txtEncDest = new System.Windows.Forms.TextBox; this.cmdEncOpen = new System.Windows.Forms.Button; this.label3 = new System.Windows.Forms.Label; this.label2 = new System.Windows.Forms.Label; this.label1 = new System.Windows.Forms.Label; this.tabDec = new System.Windows.Forms.TabPage; this.txtDecFilename = new System.Windows.Forms.TextBox; this.lstDecFilenames = new System.Windows.Forms.ListBox; this.lstDecFiles = new System.Windows.Forms.ListBox; this.cmdDecOpenDest = new System.Windows.Forms.Button; this.lblDecStatus = new System.Windows.Forms.Label; this.cmdDecrypt = new System.Windows.Forms.Button; this.cmdDecOpen = new System.Windows.Forms.Button; this.label6 = new System.Windows.Forms.Label; this.label5 = new System.Windows.Forms.Label; this.txtDecDest = new System.Windows.Forms.TextBox; this.label4 = new System.Windows.Forms.Label; this.menuStrip1 = new System.Windows.Forms.MenuStrip; this.mnuAbout = new System.Windows.Forms.ToolStripMenuItem; this.tabControl1.SuspendLayout; this.tabEnc.SuspendLayout; this.tabDec.SuspendLayout; this.menuStrip1.SuspendLayout; this.SuspendLayout; //            // tabControl1 //            this.tabControl1.Controls.Add(this.tabEnc); this.tabControl1.Controls.Add(this.tabDec); this.tabControl1.Location = new System.Drawing.Point(12, 27); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(322, 306); this.tabControl1.TabIndex = 0; //            // tabEnc //            this.tabEnc.Controls.Add(this.txtEncFilename); this.tabEnc.Controls.Add(this.lstEncFilenames); this.tabEnc.Controls.Add(this.lstEncFiles); this.tabEnc.Controls.Add(this.cmdEncOpenDest); this.tabEnc.Controls.Add(this.lblEncStatus); this.tabEnc.Controls.Add(this.cmdEncrypt); this.tabEnc.Controls.Add(this.txtEncDest); this.tabEnc.Controls.Add(this.cmdEncOpen); this.tabEnc.Controls.Add(this.label3); this.tabEnc.Controls.Add(this.label2); this.tabEnc.Controls.Add(this.label1); this.tabEnc.Location = new System.Drawing.Point(4, 22); this.tabEnc.Name = "tabEnc"; this.tabEnc.Padding = new System.Windows.Forms.Padding(3); this.tabEnc.Size = new System.Drawing.Size(314, 280); this.tabEnc.TabIndex = 0; this.tabEnc.Text = "Encrypt"; this.tabEnc.UseVisualStyleBackColor = true; //            // txtEncFilename //            this.txtEncFilename.Location = new System.Drawing.Point(113, 104); this.txtEncFilename.Name = "txtEncFilename"; this.txtEncFilename.Size = new System.Drawing.Size(165, 20); this.txtEncFilename.TabIndex = 12; this.txtEncFilename.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtEncFilename_KeyUp); //            // lstEncFilenames //            this.lstEncFilenames.FormattingEnabled = true; this.lstEncFilenames.Location = new System.Drawing.Point(113, 130); this.lstEncFilenames.Name = "lstEncFilenames"; this.lstEncFilenames.Size = new System.Drawing.Size(165, 69); this.lstEncFilenames.TabIndex = 11; this.lstEncFilenames.KeyUp += new System.Windows.Forms.KeyEventHandler(this.lstEncFilenames_KeyUp); //            // lstEncFiles //            this.lstEncFiles.FormattingEnabled = true; this.lstEncFiles.Location = new System.Drawing.Point(72, 3); this.lstEncFiles.Name = "lstEncFiles"; this.lstEncFiles.Size = new System.Drawing.Size(206, 95); this.lstEncFiles.TabIndex = 10; this.lstEncFiles.KeyUp += new System.Windows.Forms.KeyEventHandler(this.lstEncFiles_KeyUp); //            // cmdEncOpenDest //            this.cmdEncOpenDest.Location = new System.Drawing.Point(284, 205); this.cmdEncOpenDest.Name = "cmdEncOpenDest"; this.cmdEncOpenDest.Size = new System.Drawing.Size(26, 19); this.cmdEncOpenDest.TabIndex = 9; this.cmdEncOpenDest.Text = "..."; this.cmdEncOpenDest.UseVisualStyleBackColor = true; this.cmdEncOpenDest.Click += new System.EventHandler(this.cmdEncOpenDest_Click); //            // lblEncStatus //            this.lblEncStatus.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblEncStatus.Location = new System.Drawing.Point(0, 262); this.lblEncStatus.Name = "lblEncStatus"; this.lblEncStatus.Size = new System.Drawing.Size(308, 18); this.lblEncStatus.TabIndex = 8; this.lblEncStatus.Text = "Status..."; this.lblEncStatus.TextAlign = System.Drawing.ContentAlignment.TopCenter; //            // cmdEncrypt //            this.cmdEncrypt.Location = new System.Drawing.Point(117, 236); this.cmdEncrypt.Name = "cmdEncrypt"; this.cmdEncrypt.Size = new System.Drawing.Size(75, 23); this.cmdEncrypt.TabIndex = 7; this.cmdEncrypt.Text = "Encrypt"; this.cmdEncrypt.UseVisualStyleBackColor = true; this.cmdEncrypt.Click += new System.EventHandler(this.cmdEncrypt_Click); //            // txtEncDest //            this.txtEncDest.Location = new System.Drawing.Point(81, 205); this.txtEncDest.Name = "txtEncDest"; this.txtEncDest.Size = new System.Drawing.Size(197, 20); this.txtEncDest.TabIndex = 5; //            // cmdEncOpen //            this.cmdEncOpen.Location = new System.Drawing.Point(284, 2); this.cmdEncOpen.Name = "cmdEncOpen"; this.cmdEncOpen.Size = new System.Drawing.Size(26, 19); this.cmdEncOpen.TabIndex = 4; this.cmdEncOpen.Text = "..."; this.cmdEncOpen.UseVisualStyleBackColor = true; this.cmdEncOpen.Click += new System.EventHandler(this.cmdEncOpen_Click); //            // label3 //            this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(0, 104); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(107, 15); this.label3.TabIndex = 2; this.label3.Text = "Output Filenames:"; //            // label2 //            this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(3, 207); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 15); this.label2.TabIndex = 1; this.label2.Text = "Destination:"; //            // label1 //            this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(0, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(66, 15); this.label1.TabIndex = 0; this.label1.Text = "Input Files:"; //            // tabDec //            this.tabDec.Controls.Add(this.txtDecFilename); this.tabDec.Controls.Add(this.lstDecFilenames); this.tabDec.Controls.Add(this.lstDecFiles); this.tabDec.Controls.Add(this.cmdDecOpenDest); this.tabDec.Controls.Add(this.lblDecStatus); this.tabDec.Controls.Add(this.cmdDecrypt); this.tabDec.Controls.Add(this.cmdDecOpen); this.tabDec.Controls.Add(this.label6); this.tabDec.Controls.Add(this.label5); this.tabDec.Controls.Add(this.txtDecDest); this.tabDec.Controls.Add(this.label4); this.tabDec.Location = new System.Drawing.Point(4, 22); this.tabDec.Name = "tabDec"; this.tabDec.Padding = new System.Windows.Forms.Padding(3); this.tabDec.Size = new System.Drawing.Size(314, 280); this.tabDec.TabIndex = 1; this.tabDec.Text = "Decrypt"; this.tabDec.UseVisualStyleBackColor = true; //            // txtDecFilename //            this.txtDecFilename.Location = new System.Drawing.Point(120, 104); this.txtDecFilename.Name = "txtDecFilename"; this.txtDecFilename.Size = new System.Drawing.Size(158, 20); this.txtDecFilename.TabIndex = 12; this.txtDecFilename.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtDecFilename_KeyUp); //            // lstDecFilenames //            this.lstDecFilenames.FormattingEnabled = true; this.lstDecFilenames.Location = new System.Drawing.Point(120, 130); this.lstDecFilenames.Name = "lstDecFilenames"; this.lstDecFilenames.Size = new System.Drawing.Size(158, 69); this.lstDecFilenames.TabIndex = 11; this.lstDecFilenames.KeyUp += new System.Windows.Forms.KeyEventHandler(this.lstDecFilenames_KeyUp); //            // lstDecFiles //            this.lstDecFiles.FormattingEnabled = true; this.lstDecFiles.Location = new System.Drawing.Point(72, 3); this.lstDecFiles.Name = "lstDecFiles"; this.lstDecFiles.Size = new System.Drawing.Size(206, 95); this.lstDecFiles.TabIndex = 10; this.lstDecFiles.KeyUp += new System.Windows.Forms.KeyEventHandler(this.lstDecFiles_KeyUp); //            // cmdDecOpenDest //            this.cmdDecOpenDest.Location = new System.Drawing.Point(286, 213); this.cmdDecOpenDest.Name = "cmdDecOpenDest"; this.cmdDecOpenDest.Size = new System.Drawing.Size(26, 19); this.cmdDecOpenDest.TabIndex = 9; this.cmdDecOpenDest.Text = "..."; this.cmdDecOpenDest.UseVisualStyleBackColor = true; this.cmdDecOpenDest.Click += new System.EventHandler(this.cmdDecOpenDest_Click); //            // lblDecStatus //            this.lblDecStatus.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblDecStatus.Location = new System.Drawing.Point(0, 265); this.lblDecStatus.Name = "lblDecStatus"; this.lblDecStatus.Size = new System.Drawing.Size(308, 15); this.lblDecStatus.TabIndex = 8; this.lblDecStatus.Text = "Status..."; this.lblDecStatus.TextAlign = System.Drawing.ContentAlignment.TopCenter; //            // cmdDecrypt //            this.cmdDecrypt.Location = new System.Drawing.Point(114, 239); this.cmdDecrypt.Name = "cmdDecrypt"; this.cmdDecrypt.Size = new System.Drawing.Size(75, 23); this.cmdDecrypt.TabIndex = 7; this.cmdDecrypt.Text = "Decrypt"; this.cmdDecrypt.UseVisualStyleBackColor = true; this.cmdDecrypt.Click += new System.EventHandler(this.cmdDecrypt_Click); //            // cmdDecOpen //            this.cmdDecOpen.Location = new System.Drawing.Point(284, 2); this.cmdDecOpen.Name = "cmdDecOpen"; this.cmdDecOpen.Size = new System.Drawing.Size(26, 19); this.cmdDecOpen.TabIndex = 6; this.cmdDecOpen.Text = "..."; this.cmdDecOpen.UseVisualStyleBackColor = true; this.cmdDecOpen.Click += new System.EventHandler(this.cmdDecOpen_Click); //            // label6 //            this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(0, 105); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(114, 15); this.label6.TabIndex = 5; this.label6.Text = "Original Filenames:"; //            // label5 //            this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(0, 215); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(72, 15); this.label5.TabIndex = 4; this.label5.Text = "Destination:"; //            // txtDecDest //            this.txtDecDest.Location = new System.Drawing.Point(78, 213); this.txtDecDest.Name = "txtDecDest"; this.txtDecDest.Size = new System.Drawing.Size(200, 20); this.txtDecDest.TabIndex = 2; //            // label4 //            this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(0, 4); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(66, 15); this.label4.TabIndex = 0; this.label4.Text = "Input Files:"; //            // menuStrip1 //            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {            this.mnuAbout}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(340, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; //            // mnuAbout //            this.mnuAbout.Name = "mnuAbout"; this.mnuAbout.Size = new System.Drawing.Size(48, 20); this.mnuAbout.Text = "About"; this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click); //            // Form1 //            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(340, 345); this.Controls.Add(this.tabControl1); this.Controls.Add(this.menuStrip1); this.Name = "Form1"; this.Text = "GEP v1.2 R1"; this.tabControl1.ResumeLayout(false); this.tabEnc.ResumeLayout(false); this.tabEnc.PerformLayout; this.tabDec.ResumeLayout(false); this.tabDec.PerformLayout; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout; this.ResumeLayout(false); this.PerformLayout;

}

#endregion

private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage tabEnc; private System.Windows.Forms.TabPage tabDec; private System.Windows.Forms.MenuStrip menuStrip1; private System.Windows.Forms.ToolStripMenuItem mnuAbout; private System.Windows.Forms.TextBox txtEncDest; private System.Windows.Forms.Button cmdEncOpen; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label lblEncStatus; private System.Windows.Forms.Button cmdEncrypt; private System.Windows.Forms.Button cmdDecrypt; private System.Windows.Forms.Button cmdDecOpen; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label5; private System.Windows.Forms.TextBox txtDecDest; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label lblDecStatus; private System.Windows.Forms.Button cmdEncOpenDest; private System.Windows.Forms.Button cmdDecOpenDest; private System.Windows.Forms.ListBox lstEncFiles; private System.Windows.Forms.ListBox lstDecFiles; private System.Windows.Forms.ListBox lstDecFilenames; private System.Windows.Forms.ListBox lstEncFilenames; private System.Windows.Forms.TextBox txtEncFilename; private System.Windows.Forms.TextBox txtDecFilename; } }