Click here to Skip to main content
15,884,176 members
Articles / Programming Languages / C# 4.0

Symbol Inserter

Rate me:
Please Sign up or sign in to vote.
4.94/5 (23 votes)
8 Jul 2013CPOL5 min read 39.1K   1.4K   28  
An application allowing you to enter your top ten symbols without your fingers leaving the keyboard.
namespace InsertCommonSymbol
{
    partial class frmSettings
    {
        /// <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()
        {
            this.pnDecorative = new System.Windows.Forms.Panel();
            this.pnBottom = new System.Windows.Forms.Panel();
            this.btnCancel = new System.Windows.Forms.Button();
            this.lbCopyright = new System.Windows.Forms.Label();
            this.btnOK = new System.Windows.Forms.Button();
            this.lbHeader = new System.Windows.Forms.Label();
            this.lbSubheader = new System.Windows.Forms.Label();
            this.lstCollection = new System.Windows.Forms.ListBox();
            this.btnUp = new System.Windows.Forms.Button();
            this.btnDown = new System.Windows.Forms.Button();
            this.btnEdit = new System.Windows.Forms.Button();
            this.ckRunLogin = new System.Windows.Forms.CheckBox();
            this.pnBottom.SuspendLayout();
            this.SuspendLayout();
            // 
            // pnDecorative
            // 
            this.pnDecorative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(223)))), ((int)(((byte)(223)))));
            this.pnDecorative.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pnDecorative.Location = new System.Drawing.Point(0, 221);
            this.pnDecorative.Name = "pnDecorative";
            this.pnDecorative.Size = new System.Drawing.Size(435, 1);
            this.pnDecorative.TabIndex = 4;
            // 
            // pnBottom
            // 
            this.pnBottom.BackColor = System.Drawing.SystemColors.Control;
            this.pnBottom.Controls.Add(this.btnCancel);
            this.pnBottom.Controls.Add(this.lbCopyright);
            this.pnBottom.Controls.Add(this.btnOK);
            this.pnBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pnBottom.Location = new System.Drawing.Point(0, 222);
            this.pnBottom.Name = "pnBottom";
            this.pnBottom.Size = new System.Drawing.Size(435, 40);
            this.pnBottom.TabIndex = 3;
            // 
            // btnCancel
            // 
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(269, 9);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 4;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // lbCopyright
            // 
            this.lbCopyright.AutoSize = true;
            this.lbCopyright.ForeColor = System.Drawing.SystemColors.HotTrack;
            this.lbCopyright.Location = new System.Drawing.Point(12, 14);
            this.lbCopyright.Name = "lbCopyright";
            this.lbCopyright.Size = new System.Drawing.Size(133, 13);
            this.lbCopyright.TabIndex = 3;
            this.lbCopyright.Text = "© 2012 Johnson Programs";
            // 
            // btnOK
            // 
            this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnOK.Location = new System.Drawing.Point(350, 9);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(75, 23);
            this.btnOK.TabIndex = 0;
            this.btnOK.Text = "OK";
            this.btnOK.UseVisualStyleBackColor = true;
            // 
            // lbHeader
            // 
            this.lbHeader.AutoSize = true;
            this.lbHeader.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lbHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(188)))));
            this.lbHeader.Location = new System.Drawing.Point(7, 12);
            this.lbHeader.Name = "lbHeader";
            this.lbHeader.Size = new System.Drawing.Size(68, 20);
            this.lbHeader.TabIndex = 6;
            this.lbHeader.Text = "Settings";
            // 
            // lbSubheader
            // 
            this.lbSubheader.AutoSize = true;
            this.lbSubheader.Location = new System.Drawing.Point(8, 34);
            this.lbSubheader.Name = "lbSubheader";
            this.lbSubheader.Size = new System.Drawing.Size(192, 13);
            this.lbSubheader.TabIndex = 7;
            this.lbSubheader.Text = "Please critique your preferences below.";
            // 
            // lstCollection
            // 
            this.lstCollection.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstCollection.FormattingEnabled = true;
            this.lstCollection.ItemHeight = 20;
            this.lstCollection.Items.AddRange(new object[] {
            "©",
            "☺",
            "™",
            "®",
            "∞",
            "π",
            "≤",
            "≥",
            "Ω",
            "€"});
            this.lstCollection.Location = new System.Drawing.Point(11, 60);
            this.lstCollection.Name = "lstCollection";
            this.lstCollection.Size = new System.Drawing.Size(120, 144);
            this.lstCollection.TabIndex = 8;
            // 
            // btnUp
            // 
            this.btnUp.Location = new System.Drawing.Point(137, 60);
            this.btnUp.Name = "btnUp";
            this.btnUp.Size = new System.Drawing.Size(75, 23);
            this.btnUp.TabIndex = 9;
            this.btnUp.Text = "Up";
            this.btnUp.UseVisualStyleBackColor = true;
            this.btnUp.Click += new System.EventHandler(this.btnUp_Click);
            // 
            // btnDown
            // 
            this.btnDown.Location = new System.Drawing.Point(137, 89);
            this.btnDown.Name = "btnDown";
            this.btnDown.Size = new System.Drawing.Size(75, 23);
            this.btnDown.TabIndex = 10;
            this.btnDown.Text = "Down";
            this.btnDown.UseVisualStyleBackColor = true;
            this.btnDown.Click += new System.EventHandler(this.btnDown_Click);
            // 
            // btnEdit
            // 
            this.btnEdit.Location = new System.Drawing.Point(137, 118);
            this.btnEdit.Name = "btnEdit";
            this.btnEdit.Size = new System.Drawing.Size(75, 23);
            this.btnEdit.TabIndex = 11;
            this.btnEdit.Text = "Edit...";
            this.btnEdit.UseVisualStyleBackColor = true;
            this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
            // 
            // ckRunLogin
            // 
            this.ckRunLogin.AutoSize = true;
            this.ckRunLogin.Location = new System.Drawing.Point(269, 60);
            this.ckRunLogin.Name = "ckRunLogin";
            this.ckRunLogin.Size = new System.Drawing.Size(109, 17);
            this.ckRunLogin.TabIndex = 12;
            this.ckRunLogin.Text = "Run on your login";
            this.ckRunLogin.UseVisualStyleBackColor = true;
            // 
            // frmSettings
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.ClientSize = new System.Drawing.Size(435, 262);
            this.Controls.Add(this.ckRunLogin);
            this.Controls.Add(this.btnEdit);
            this.Controls.Add(this.btnDown);
            this.Controls.Add(this.btnUp);
            this.Controls.Add(this.lstCollection);
            this.Controls.Add(this.lbHeader);
            this.Controls.Add(this.lbSubheader);
            this.Controls.Add(this.pnDecorative);
            this.Controls.Add(this.pnBottom);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "frmSettings";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Settings";
            this.pnBottom.ResumeLayout(false);
            this.pnBottom.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Panel pnDecorative;
        private System.Windows.Forms.Panel pnBottom;
        private System.Windows.Forms.Label lbCopyright;
        private System.Windows.Forms.Button btnOK;
        private System.Windows.Forms.Label lbHeader;
        private System.Windows.Forms.Label lbSubheader;
        private System.Windows.Forms.Button btnCancel;
        private System.Windows.Forms.ListBox lstCollection;
        private System.Windows.Forms.Button btnUp;
        private System.Windows.Forms.Button btnDown;
        private System.Windows.Forms.Button btnEdit;
        public System.Windows.Forms.CheckBox ckRunLogin;
    }
}

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)


Written By
Founder
Australia Australia
I'm a university student with a passion for stunning UI design and flawless code.

I fell in love with computers when I was 10 years old, and today I am fluent in C#, Python, Java, Javascript, HTML5, and CSS3. I know a little MATLAB, PHP, and SQL.

In my spare time, I build all sorts of cool things, like this Rubik's Cube Robot.

Away from the keyboard, I enjoy quality time with friends and family, as well as reading, painting, playing the piano, teaching chess & karate, and volunteering within my community.

I have learnt that success comes through hard work and dedication, and that giving back to the same people and communities that have helped me is both important and very rewarding.

Follow me on GitHub

Comments and Discussions