Click here to Skip to main content
15,891,905 members
Articles / Programming Languages / C#

Outlook Type Address Book in C#, LINQ, XML with Menu and ToolBar

Rate me:
Please Sign up or sign in to vote.
4.70/5 (8 votes)
28 Aug 2009CPOL4 min read 41K   1.6K   31  
Outlook type Address Book in C#, LINQ, XML with Menu and ToolBar
namespace AddressBook
{
    partial class AddressDetail
    {
        /// <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 Component 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(AddressDetail));
            this.panel1 = new System.Windows.Forms.Panel();
            this.btnExit = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.btnNext = new System.Windows.Forms.Button();
            this.btnPrevious = new System.Windows.Forms.Button();
            this._txtCountry = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this._txtLastName = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this._txtPriPhone = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this._txtEmail = new System.Windows.Forms.TextBox();
            this.label8 = new System.Windows.Forms.Label();
            this._txtAddress1 = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this._txtZip = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this._txtState = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this._txtCity = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this._txtSecPhone = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this._txtAddress2 = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this._txtFirstName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.btnLast = new System.Windows.Forms.Button();
            this.btnAdd = new System.Windows.Forms.Button();
            this.btnModify = new System.Windows.Forms.Button();
            this.btnFirstRecord = new System.Windows.Forms.Button();
            this.btnDelete = new System.Windows.Forms.Button();
            this.panel1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.btnExit);
            this.panel1.Controls.Add(this.groupBox1);
            this.panel1.Controls.Add(this.btnLast);
            this.panel1.Controls.Add(this.btnAdd);
            this.panel1.Controls.Add(this.btnModify);
            this.panel1.Controls.Add(this.btnFirstRecord);
            this.panel1.Controls.Add(this.btnDelete);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(695, 325);
            this.panel1.TabIndex = 0;
            // 
            // btnExit
            // 
            this.btnExit.Location = new System.Drawing.Point(416, 287);
            this.btnExit.Name = "btnExit";
            this.btnExit.Size = new System.Drawing.Size(75, 23);
            this.btnExit.TabIndex = 39;
            this.btnExit.Text = "&Exit";
            this.btnExit.UseVisualStyleBackColor = true;
            this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.btnNext);
            this.groupBox1.Controls.Add(this.btnPrevious);
            this.groupBox1.Controls.Add(this._txtCountry);
            this.groupBox1.Controls.Add(this.label11);
            this.groupBox1.Controls.Add(this._txtLastName);
            this.groupBox1.Controls.Add(this.label10);
            this.groupBox1.Controls.Add(this._txtPriPhone);
            this.groupBox1.Controls.Add(this.label9);
            this.groupBox1.Controls.Add(this._txtEmail);
            this.groupBox1.Controls.Add(this.label8);
            this.groupBox1.Controls.Add(this._txtAddress1);
            this.groupBox1.Controls.Add(this.label7);
            this.groupBox1.Controls.Add(this._txtZip);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this._txtState);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this._txtCity);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this._txtSecPhone);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this._txtAddress2);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this._txtFirstName);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox1.Location = new System.Drawing.Point(0, 0);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(675, 281);
            this.groupBox1.TabIndex = 1;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Contact Details";
            // 
            // btnNext
            // 
            this.btnNext.Location = new System.Drawing.Point(336, 240);
            this.btnNext.Name = "btnNext";
            this.btnNext.Size = new System.Drawing.Size(75, 23);
            this.btnNext.TabIndex = 34;
            this.btnNext.Text = "&Next";
            this.btnNext.UseVisualStyleBackColor = true;
            this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
            // 
            // btnPrevious
            // 
            this.btnPrevious.Location = new System.Drawing.Point(228, 240);
            this.btnPrevious.Name = "btnPrevious";
            this.btnPrevious.Size = new System.Drawing.Size(75, 23);
            this.btnPrevious.TabIndex = 33;
            this.btnPrevious.Text = "&Previous";
            this.btnPrevious.UseVisualStyleBackColor = true;
            this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
            // 
            // _txtCountry
            // 
            this._txtCountry.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtCountry.Location = new System.Drawing.Point(456, 160);
            this._txtCountry.Name = "_txtCountry";
            this._txtCountry.Size = new System.Drawing.Size(207, 21);
            this._txtCountry.TabIndex = 10;
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(350, 160);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(51, 15);
            this.label11.TabIndex = 20;
            this.label11.Text = "Country:";
            // 
            // _txtLastName
            // 
            this._txtLastName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtLastName.Location = new System.Drawing.Point(456, 20);
            this._txtLastName.Name = "_txtLastName";
            this._txtLastName.Size = new System.Drawing.Size(207, 21);
            this._txtLastName.TabIndex = 2;
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(350, 20);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(70, 15);
            this.label10.TabIndex = 18;
            this.label10.Text = "Last Name:";
            // 
            // _txtPriPhone
            // 
            this._txtPriPhone.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtPriPhone.Location = new System.Drawing.Point(95, 54);
            this._txtPriPhone.Name = "_txtPriPhone";
            this._txtPriPhone.Size = new System.Drawing.Size(207, 21);
            this._txtPriPhone.TabIndex = 3;
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(7, 54);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(91, 15);
            this.label9.TabIndex = 16;
            this.label9.Text = "Primary Phone:";
            // 
            // _txtEmail
            // 
            this._txtEmail.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtEmail.Location = new System.Drawing.Point(96, 191);
            this._txtEmail.Name = "_txtEmail";
            this._txtEmail.Size = new System.Drawing.Size(207, 21);
            this._txtEmail.TabIndex = 11;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(7, 193);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(42, 15);
            this.label8.TabIndex = 14;
            this.label8.Text = "Email:";
            // 
            // _txtAddress1
            // 
            this._txtAddress1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtAddress1.Location = new System.Drawing.Point(96, 87);
            this._txtAddress1.Name = "_txtAddress1";
            this._txtAddress1.Size = new System.Drawing.Size(207, 21);
            this._txtAddress1.TabIndex = 5;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(6, 87);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(91, 15);
            this.label7.TabIndex = 12;
            this.label7.Text = "Address Line 1:";
            // 
            // _txtZip
            // 
            this._txtZip.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtZip.Location = new System.Drawing.Point(96, 153);
            this._txtZip.Name = "_txtZip";
            this._txtZip.Size = new System.Drawing.Size(207, 21);
            this._txtZip.TabIndex = 9;
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(12, 155);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(27, 15);
            this.label6.TabIndex = 10;
            this.label6.Text = "Zip:";
            // 
            // _txtState
            // 
            this._txtState.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtState.Location = new System.Drawing.Point(456, 125);
            this._txtState.Name = "_txtState";
            this._txtState.Size = new System.Drawing.Size(207, 21);
            this._txtState.TabIndex = 8;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(350, 125);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(38, 15);
            this.label5.TabIndex = 8;
            this.label5.Text = "State:";
            // 
            // _txtCity
            // 
            this._txtCity.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtCity.Location = new System.Drawing.Point(96, 118);
            this._txtCity.Name = "_txtCity";
            this._txtCity.Size = new System.Drawing.Size(207, 21);
            this._txtCity.TabIndex = 7;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(12, 120);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(29, 15);
            this.label4.TabIndex = 6;
            this.label4.Text = "City:";
            // 
            // _txtSecPhone
            // 
            this._txtSecPhone.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtSecPhone.Location = new System.Drawing.Point(456, 54);
            this._txtSecPhone.Name = "_txtSecPhone";
            this._txtSecPhone.Size = new System.Drawing.Size(207, 21);
            this._txtSecPhone.TabIndex = 4;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(350, 57);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(107, 15);
            this.label3.TabIndex = 4;
            this.label3.Text = "Secondary Phone:";
            // 
            // _txtAddress2
            // 
            this._txtAddress2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtAddress2.Location = new System.Drawing.Point(456, 90);
            this._txtAddress2.Name = "_txtAddress2";
            this._txtAddress2.Size = new System.Drawing.Size(207, 21);
            this._txtAddress2.TabIndex = 6;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(350, 90);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(91, 15);
            this.label2.TabIndex = 2;
            this.label2.Text = "Address Line 2:";
            // 
            // _txtFirstName
            // 
            this._txtFirstName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this._txtFirstName.Location = new System.Drawing.Point(96, 20);
            this._txtFirstName.Name = "_txtFirstName";
            this._txtFirstName.Size = new System.Drawing.Size(207, 21);
            this._txtFirstName.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 20);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(70, 15);
            this.label1.TabIndex = 0;
            this.label1.Text = "First Name:";
            // 
            // btnLast
            // 
            this.btnLast.Location = new System.Drawing.Point(334, 346);
            this.btnLast.Name = "btnLast";
            this.btnLast.Size = new System.Drawing.Size(75, 23);
            this.btnLast.TabIndex = 35;
            this.btnLast.Text = "&Last";
            this.btnLast.UseVisualStyleBackColor = true;
            this.btnLast.Visible = false;
            this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
            // 
            // btnAdd
            // 
            this.btnAdd.Location = new System.Drawing.Point(173, 287);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new System.Drawing.Size(75, 23);
            this.btnAdd.TabIndex = 36;
            this.btnAdd.Text = "&Add";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            // 
            // btnModify
            // 
            this.btnModify.Location = new System.Drawing.Point(335, 287);
            this.btnModify.Name = "btnModify";
            this.btnModify.Size = new System.Drawing.Size(75, 23);
            this.btnModify.TabIndex = 38;
            this.btnModify.Text = "&Modify";
            this.btnModify.UseVisualStyleBackColor = true;
            this.btnModify.Click += new System.EventHandler(this.btnModify_Click);
            // 
            // btnFirstRecord
            // 
            this.btnFirstRecord.Location = new System.Drawing.Point(253, 346);
            this.btnFirstRecord.Name = "btnFirstRecord";
            this.btnFirstRecord.Size = new System.Drawing.Size(75, 23);
            this.btnFirstRecord.TabIndex = 32;
            this.btnFirstRecord.Text = "&First";
            this.btnFirstRecord.UseVisualStyleBackColor = true;
            this.btnFirstRecord.Visible = false;
            this.btnFirstRecord.Click += new System.EventHandler(this.btnFirstRecord_Click);
            // 
            // btnDelete
            // 
            this.btnDelete.Location = new System.Drawing.Point(254, 287);
            this.btnDelete.Name = "btnDelete";
            this.btnDelete.Size = new System.Drawing.Size(75, 23);
            this.btnDelete.TabIndex = 37;
            this.btnDelete.Text = "&Delete";
            this.btnDelete.UseVisualStyleBackColor = true;
            this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
            // 
            // AddressDetail
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(695, 325);
            this.Controls.Add(this.panel1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "AddressDetail";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AddressDetail_FormClosing);
            this.panel1.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Button btnExit;
        private System.Windows.Forms.Button btnModify;
        private System.Windows.Forms.Button btnDelete;
        private System.Windows.Forms.Button btnAdd;
        private System.Windows.Forms.Button btnLast;
        private System.Windows.Forms.Button btnNext;
        private System.Windows.Forms.Button btnPrevious;
        private System.Windows.Forms.Button btnFirstRecord;
        private System.Windows.Forms.TextBox _txtCountry;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.TextBox _txtLastName;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.TextBox _txtPriPhone;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.TextBox _txtEmail;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.TextBox _txtAddress1;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.TextBox _txtZip;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox _txtState;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox _txtCity;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox _txtSecPhone;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox _txtAddress2;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox _txtFirstName;
        private System.Windows.Forms.Label label1;
    }
}

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
Software Developer Shell Oil
United States United States
I am working as a Senior Software Developer with Shell Oil,Houston Texas USA.

Comments and Discussions