Click here to Skip to main content
12,289,383 members (70,715 online)
Click here to Skip to main content

Stats

82.4K views
4.9K downloads
108 bookmarked
Posted

Encrypting Editor Notepad Replacement

, 28 Jul 2014 CPOL
A C# .NET 3.5 (Win7) Windows Forms Application with source code
namespace CryptPad
{
	partial class Encryption
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose (bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose ();
			}
			base.Dispose (disposing);
		}

		#region Windows Form Designer generated code

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent ()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Encryption));
			this.textBoxEncryption = new System.Windows.Forms.TextBox();
			this.buttonOK = new System.Windows.Forms.Button();
			this.buttonCancel = new System.Windows.Forms.Button();
			this.labelTop = new System.Windows.Forms.Label();
			this.textBoxBottom = new System.Windows.Forms.TextBox();
			this.SuspendLayout();
			// 
			// textBoxEncryption
			// 
			this.textBoxEncryption.Location = new System.Drawing.Point(14, 27);
			this.textBoxEncryption.Margin = new System.Windows.Forms.Padding(5);
			this.textBoxEncryption.Name = "textBoxEncryption";
			this.textBoxEncryption.Size = new System.Drawing.Size(289, 20);
			this.textBoxEncryption.TabIndex = 0;
			this.textBoxEncryption.UseSystemPasswordChar = true;
			this.textBoxEncryption.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxEncryption_KeyPress);
			// 
			// buttonOK
			// 
			this.buttonOK.AutoSize = true;
			this.buttonOK.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.buttonOK.Location = new System.Drawing.Point(14, 55);
			this.buttonOK.Name = "buttonOK";
			this.buttonOK.Size = new System.Drawing.Size(31, 23);
			this.buttonOK.TabIndex = 1;
			this.buttonOK.Text = "Ok";
			this.buttonOK.UseVisualStyleBackColor = true;
			this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
			// 
			// buttonCancel
			// 
			this.buttonCancel.AutoSize = true;
			this.buttonCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.buttonCancel.Location = new System.Drawing.Point(51, 55);
			this.buttonCancel.Name = "buttonCancel";
			this.buttonCancel.Size = new System.Drawing.Size(50, 23);
			this.buttonCancel.TabIndex = 2;
			this.buttonCancel.Text = "Cancel";
			this.buttonCancel.UseVisualStyleBackColor = true;
			// 
			// labelTop
			// 
			this.labelTop.AutoSize = true;
			this.labelTop.Location = new System.Drawing.Point(12, 9);
			this.labelTop.Name = "labelTop";
			this.labelTop.Size = new System.Drawing.Size(130, 13);
			this.labelTop.TabIndex = 3;
			this.labelTop.Text = "Enter an encryption string.";
			// 
			// textBoxBottom
			// 
			this.textBoxBottom.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.textBoxBottom.BorderStyle = System.Windows.Forms.BorderStyle.None;
			this.textBoxBottom.Location = new System.Drawing.Point(15, 84);
			this.textBoxBottom.Multiline = true;
			this.textBoxBottom.Name = "textBoxBottom";
			this.textBoxBottom.ReadOnly = true;
			this.textBoxBottom.Size = new System.Drawing.Size(288, 112);
			this.textBoxBottom.TabIndex = 4;
			this.textBoxBottom.TabStop = false;
			this.textBoxBottom.Text = resources.GetString("textBoxBottom.Text");
			// 
			// Encryption
			// 
			this.AcceptButton = this.buttonOK;
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.AutoSize = true;
			this.CancelButton = this.buttonCancel;
			this.ClientSize = new System.Drawing.Size(317, 203);
			this.Controls.Add(this.textBoxBottom);
			this.Controls.Add(this.labelTop);
			this.Controls.Add(this.buttonCancel);
			this.Controls.Add(this.buttonOK);
			this.Controls.Add(this.textBoxEncryption);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "Encryption";
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "Encryption";
			this.Load += new System.EventHandler(this.Encryption_Load);
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.TextBox textBoxEncryption;
		private System.Windows.Forms.Button buttonOK;
		private System.Windows.Forms.Button buttonCancel;
		private System.Windows.Forms.Label labelTop;
		private System.Windows.Forms.TextBox textBoxBottom;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Frank T. Clark
Systems Engineer Three Angels Broadcasting Network
United States United States
I am a Software Systems Design Engineer experienced with IEEE standards and the entire IEEE software development life cycle. Concept Exploration, Requirements, Design, Implementation, Test, Installation and Checkout, Operation and Maintenance. I enjoy working with people and solving customer problems.

I am currently employed as Information Technology Staff in the religious satellite broadcasting industry.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160518.1 | Last Updated 28 Jul 2014
Article Copyright 2013 by Frank T. Clark
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid