using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ChangeCasePart2
{
    public partial class frm9ChangeCasePart2 : Form
    {
        public frm9ChangeCasePart2()
        {
            InitializeComponent();
        }

        // Enter an initial test string.
        private void frm9ChangeCasePart2_Load(object sender, EventArgs e)
        {
            inputTextBox.Text = "this is a test string";
        }

        private void inputTextBox_TextChanged(object sender, EventArgs e)
        {
            pascalCaseTextBox.Text = inputTextBox.Text.ToPascalCase();
            camelCaseTextBox.Text = inputTextBox.Text.ToCamelCase();
            separateWordsTextBox.Text = camelCaseTextBox.Text.ToProperCase();
        }


        /// <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.label4 = new System.Windows.Forms.Label();
            this.separateWordsTextBox = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.camelCaseTextBox = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.pascalCaseTextBox = new System.Windows.Forms.TextBox();
            this.inputTextBox = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(12, 112);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(87, 13);
            this.label4.TabIndex = 31;
            this.label4.Text = "Separate Words:";
            // 
            // separateWordsTextBox
            // 
            this.separateWordsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.separateWordsTextBox.Location = new System.Drawing.Point(105, 109);
            this.separateWordsTextBox.Name = "separateWordsTextBox";
            this.separateWordsTextBox.ReadOnly = true;
            this.separateWordsTextBox.Size = new System.Drawing.Size(267, 20);
            this.separateWordsTextBox.TabIndex = 27;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(12, 86);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(66, 13);
            this.label3.TabIndex = 30;
            this.label3.Text = "Camel Case:";
            // 
            // camelCaseTextBox
            // 
            this.camelCaseTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.camelCaseTextBox.Location = new System.Drawing.Point(105, 83);
            this.camelCaseTextBox.Name = "camelCaseTextBox";
            this.camelCaseTextBox.ReadOnly = true;
            this.camelCaseTextBox.Size = new System.Drawing.Size(267, 20);
            this.camelCaseTextBox.TabIndex = 26;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 60);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(69, 13);
            this.label2.TabIndex = 29;
            this.label2.Text = "Pascal Case:";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(12, 14);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(37, 13);
            this.label1.TabIndex = 28;
            this.label1.Text = "String:";
            // 
            // pascalCaseTextBox
            // 
            this.pascalCaseTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.pascalCaseTextBox.Location = new System.Drawing.Point(105, 57);
            this.pascalCaseTextBox.Name = "pascalCaseTextBox";
            this.pascalCaseTextBox.ReadOnly = true;
            this.pascalCaseTextBox.Size = new System.Drawing.Size(267, 20);
            this.pascalCaseTextBox.TabIndex = 25;
            // 
            // inputTextBox
            // 
            this.inputTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.inputTextBox.Location = new System.Drawing.Point(105, 11);
            this.inputTextBox.Name = "inputTextBox";
            this.inputTextBox.Size = new System.Drawing.Size(267, 20);
            this.inputTextBox.TabIndex = 24;
            this.inputTextBox.TextChanged += new System.EventHandler(this.inputTextBox_TextChanged);
            // 
            // frm9ChangeCasePart2
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(384, 141);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.separateWordsTextBox);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.camelCaseTextBox);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.pascalCaseTextBox);
            this.Controls.Add(this.inputTextBox);
            this.Name = "frm9ChangeCasePart2";
            this.Text = "ChangeCasePart2";
            this.Load += new System.EventHandler(this.frm9ChangeCasePart2_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox separateWordsTextBox;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox camelCaseTextBox;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox pascalCaseTextBox;
        private System.Windows.Forms.TextBox inputTextBox;
    }
}