コード例 #1
0
            public HeaderControl(eLePhantListView m)
            {
                parent = m;
                //Get the header control handle
                IntPtr header = Win32.SendMessage(parent.Handle, (0x1000 + 31), IntPtr.Zero, IntPtr.Zero);

                this.AssignHandle(header);
            }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components            = new System.ComponentModel.Container();
     this.panel1                = new System.Windows.Forms.Panel();
     this.buttonAddFriend       = new System.Windows.Forms.Button();
     this.listViewFriends       = new eLePhant.Client.eLePhantListView();
     this.panelAddFriend        = new System.Windows.Forms.Panel();
     this.textBoxUserHash       = new System.Windows.Forms.TextBox();
     this.labelOptional         = new System.Windows.Forms.Label();
     this.textBoxName           = new System.Windows.Forms.TextBox();
     this.labelName             = new System.Windows.Forms.Label();
     this.buttonAddFriendCancel = new System.Windows.Forms.Button();
     this.buttonAddFriendOk     = new System.Windows.Forms.Button();
     this.textBoxPort           = new System.Windows.Forms.TextBox();
     this.textBoxIP             = new System.Windows.Forms.TextBox();
     this.labelPort             = new System.Windows.Forms.Label();
     this.labelIP               = new System.Windows.Forms.Label();
     this.labelUserHash         = new System.Windows.Forms.Label();
     this.tabMessages           = new Crownwood.Magic.Controls.TabControl();
     this.textBoxMessage        = new System.Windows.Forms.TextBox();
     this.buttonSend            = new System.Windows.Forms.Button();
     this.panel2                = new System.Windows.Forms.Panel();
     this.imageListFriends      = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     this.panelAddFriend.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Left)));
     this.panel1.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.buttonAddFriend);
     this.panel1.Controls.Add(this.listViewFriends);
     this.panel1.Controls.Add(this.panelAddFriend);
     this.panel1.Location = new System.Drawing.Point(8, 6);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(176, 373);
     this.panel1.TabIndex = 0;
     //
     // buttonAddFriend
     //
     this.buttonAddFriend.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonAddFriend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddFriend.Location  = new System.Drawing.Point(6, 338);
     this.buttonAddFriend.Name      = "buttonAddFriend";
     this.buttonAddFriend.Size      = new System.Drawing.Size(160, 23);
     this.buttonAddFriend.TabIndex  = 2;
     this.buttonAddFriend.Text      = "Add Friend";
     this.buttonAddFriend.Click    += new System.EventHandler(this.buttonAddFriend_Click);
     //
     // listViewFriends
     //
     this.listViewFriends.AllowColumnReorder = true;
     this.listViewFriends.Anchor             = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     this.listViewFriends.AutoArrange          = false;
     this.listViewFriends.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listViewFriends.DefaultCustomDraw    = true;
     this.listViewFriends.FullRowSelect        = true;
     this.listViewFriends.FullyCustomHeader    = true;
     this.listViewFriends.HeaderStyle          = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listViewFriends.HideSelection        = false;
     this.listViewFriends.IncreaseHeaderHeight = 0;
     this.listViewFriends.Location             = new System.Drawing.Point(6, 2);
     this.listViewFriends.Name                  = "listViewFriends";
     this.listViewFriends.Size                  = new System.Drawing.Size(164, 332);
     this.listViewFriends.sortColumn            = -1;
     this.listViewFriends.TabIndex              = 0;
     this.listViewFriends.View                  = System.Windows.Forms.View.Details;
     this.listViewFriends.SelectedIndexChanged += new System.EventHandler(this.OnChangeFriend);
     //
     // panelAddFriend
     //
     this.panelAddFriend.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.panelAddFriend.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(222)), ((System.Byte)(231)), ((System.Byte)(247)));
     this.panelAddFriend.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelAddFriend.Controls.Add(this.textBoxUserHash);
     this.panelAddFriend.Controls.Add(this.labelOptional);
     this.panelAddFriend.Controls.Add(this.textBoxName);
     this.panelAddFriend.Controls.Add(this.labelName);
     this.panelAddFriend.Controls.Add(this.buttonAddFriendCancel);
     this.panelAddFriend.Controls.Add(this.buttonAddFriendOk);
     this.panelAddFriend.Controls.Add(this.textBoxPort);
     this.panelAddFriend.Controls.Add(this.textBoxIP);
     this.panelAddFriend.Controls.Add(this.labelPort);
     this.panelAddFriend.Controls.Add(this.labelIP);
     this.panelAddFriend.Controls.Add(this.labelUserHash);
     this.panelAddFriend.Location = new System.Drawing.Point(6, 198);
     this.panelAddFriend.Name     = "panelAddFriend";
     this.panelAddFriend.Size     = new System.Drawing.Size(164, 168);
     this.panelAddFriend.TabIndex = 3;
     this.panelAddFriend.Visible  = false;
     //
     // textBoxUserHash
     //
     this.textBoxUserHash.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxUserHash.Location    = new System.Drawing.Point(4, 88);
     this.textBoxUserHash.Name        = "textBoxUserHash";
     this.textBoxUserHash.Size        = new System.Drawing.Size(154, 20);
     this.textBoxUserHash.TabIndex    = 6;
     this.textBoxUserHash.Text        = "";
     //
     // labelOptional
     //
     this.labelOptional.BackColor = System.Drawing.Color.Transparent;
     this.labelOptional.Font      = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelOptional.Location  = new System.Drawing.Point(82, 74);
     this.labelOptional.Name      = "labelOptional";
     this.labelOptional.Size      = new System.Drawing.Size(62, 18);
     this.labelOptional.TabIndex  = 10;
     this.labelOptional.Text      = "(optional)";
     this.labelOptional.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textBoxName
     //
     this.textBoxName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxName.Location    = new System.Drawing.Point(4, 18);
     this.textBoxName.Name        = "textBoxName";
     this.textBoxName.Size        = new System.Drawing.Size(154, 20);
     this.textBoxName.TabIndex    = 9;
     this.textBoxName.Text        = "My new friend";
     //
     // labelName
     //
     this.labelName.Location = new System.Drawing.Point(2, 4);
     this.labelName.Name     = "labelName";
     this.labelName.Size     = new System.Drawing.Size(100, 18);
     this.labelName.TabIndex = 8;
     this.labelName.Text     = "Name";
     //
     // buttonAddFriendCancel
     //
     this.buttonAddFriendCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddFriendCancel.Location  = new System.Drawing.Point(4, 140);
     this.buttonAddFriendCancel.Name      = "buttonAddFriendCancel";
     this.buttonAddFriendCancel.Size      = new System.Drawing.Size(154, 23);
     this.buttonAddFriendCancel.TabIndex  = 7;
     this.buttonAddFriendCancel.Text      = "Cancel";
     this.buttonAddFriendCancel.Click    += new System.EventHandler(this.buttonAddFriendCancel_Click);
     //
     // buttonAddFriendOk
     //
     this.buttonAddFriendOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddFriendOk.Location  = new System.Drawing.Point(4, 114);
     this.buttonAddFriendOk.Name      = "buttonAddFriendOk";
     this.buttonAddFriendOk.Size      = new System.Drawing.Size(154, 23);
     this.buttonAddFriendOk.TabIndex  = 6;
     this.buttonAddFriendOk.Text      = "Ok";
     this.buttonAddFriendOk.Click    += new System.EventHandler(this.buttonAddFriendOk_Click);
     //
     // textBoxPort
     //
     this.textBoxPort.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxPort.Location     = new System.Drawing.Point(110, 52);
     this.textBoxPort.Name         = "textBoxPort";
     this.textBoxPort.Size         = new System.Drawing.Size(48, 20);
     this.textBoxPort.TabIndex     = 5;
     this.textBoxPort.Text         = "";
     this.textBoxPort.TextChanged += new System.EventHandler(this.textBoxPort_TextChanged);
     //
     // textBoxIP
     //
     this.textBoxIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxIP.Location    = new System.Drawing.Point(4, 52);
     this.textBoxIP.Name        = "textBoxIP";
     this.textBoxIP.Size        = new System.Drawing.Size(94, 20);
     this.textBoxIP.TabIndex    = 4;
     this.textBoxIP.Text        = "";
     //
     // labelPort
     //
     this.labelPort.Location = new System.Drawing.Point(102, 40);
     this.labelPort.Name     = "labelPort";
     this.labelPort.Size     = new System.Drawing.Size(52, 23);
     this.labelPort.TabIndex = 3;
     this.labelPort.Text     = "Port";
     //
     // labelIP
     //
     this.labelIP.Location = new System.Drawing.Point(2, 40);
     this.labelIP.Name     = "labelIP";
     this.labelIP.Size     = new System.Drawing.Size(68, 23);
     this.labelIP.TabIndex = 2;
     this.labelIP.Text     = "IP or ID";
     //
     // labelUserHash
     //
     this.labelUserHash.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.labelUserHash.Location  = new System.Drawing.Point(2, 74);
     this.labelUserHash.Name      = "labelUserHash";
     this.labelUserHash.Size      = new System.Drawing.Size(116, 18);
     this.labelUserHash.TabIndex  = 0;
     this.labelUserHash.Text      = "User Hash";
     //
     // tabMessages
     //
     this.tabMessages.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.tabMessages.BackColor        = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.tabMessages.HideTabsMode     = Crownwood.Magic.Controls.TabControl.HideTabsModes.ShowAlways;
     this.tabMessages.Location         = new System.Drawing.Point(8, 4);
     this.tabMessages.Name             = "tabMessages";
     this.tabMessages.PositionTop      = true;
     this.tabMessages.ShowArrows       = true;
     this.tabMessages.ShowClose        = true;
     this.tabMessages.ShrinkPagesToFit = false;
     this.tabMessages.Size             = new System.Drawing.Size(404, 333);
     this.tabMessages.TabIndex         = 3;
     //
     // textBoxMessage
     //
     this.textBoxMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxMessage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxMessage.Location    = new System.Drawing.Point(8, 343);
     this.textBoxMessage.Name        = "textBoxMessage";
     this.textBoxMessage.Size        = new System.Drawing.Size(320, 20);
     this.textBoxMessage.TabIndex    = 2;
     this.textBoxMessage.Text        = "";
     this.textBoxMessage.KeyUp      += new System.Windows.Forms.KeyEventHandler(this.textBoxMessage_KeyUp);
     //
     // buttonSend
     //
     this.buttonSend.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonSend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonSend.Location  = new System.Drawing.Point(332, 343);
     this.buttonSend.Name      = "buttonSend";
     this.buttonSend.Size      = new System.Drawing.Size(80, 21);
     this.buttonSend.TabIndex  = 14;
     this.buttonSend.Text      = "Send";
     this.buttonSend.Click    += new System.EventHandler(this.buttonSend_Click);
     //
     // panel2
     //
     this.panel2.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.panel2.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.tabMessages);
     this.panel2.Controls.Add(this.textBoxMessage);
     this.panel2.Controls.Add(this.buttonSend);
     this.panel2.Location = new System.Drawing.Point(188, 6);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(422, 373);
     this.panel2.TabIndex = 15;
     //
     // imageListFriends
     //
     this.imageListFriends.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListFriends.TransparentColor = System.Drawing.Color.Transparent;
     //
     // FormFriends
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((System.Byte)(222)), ((System.Byte)(231)), ((System.Byte)(247)));
     this.ClientSize        = new System.Drawing.Size(618, 386);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "FormFriends";
     this.Text            = "FormFriends";
     this.panel1.ResumeLayout(false);
     this.panelAddFriend.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #3
0
			public HeaderControl(eLePhantListView m)
			{
				parent = m;
				//Get the header control handle
				IntPtr header = Win32.SendMessage(parent.Handle, (0x1000+31), IntPtr.Zero, IntPtr.Zero);
				this.AssignHandle(header);				
			}
コード例 #4
0
ファイル: FormFriends.cs プロジェクト: sonicwang1989/lphant
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.panel1 = new System.Windows.Forms.Panel();
     this.buttonAddFriend = new System.Windows.Forms.Button();
     this.listViewFriends = new eLePhant.Client.eLePhantListView();
     this.panelAddFriend = new System.Windows.Forms.Panel();
     this.textBoxUserHash = new System.Windows.Forms.TextBox();
     this.labelOptional = new System.Windows.Forms.Label();
     this.textBoxName = new System.Windows.Forms.TextBox();
     this.labelName = new System.Windows.Forms.Label();
     this.buttonAddFriendCancel = new System.Windows.Forms.Button();
     this.buttonAddFriendOk = new System.Windows.Forms.Button();
     this.textBoxPort = new System.Windows.Forms.TextBox();
     this.textBoxIP = new System.Windows.Forms.TextBox();
     this.labelPort = new System.Windows.Forms.Label();
     this.labelIP = new System.Windows.Forms.Label();
     this.labelUserHash = new System.Windows.Forms.Label();
     this.tabMessages = new Crownwood.Magic.Controls.TabControl();
     this.textBoxMessage = new System.Windows.Forms.TextBox();
     this.buttonSend = new System.Windows.Forms.Button();
     this.panel2 = new System.Windows.Forms.Panel();
     this.imageListFriends = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     this.panelAddFriend.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)));
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.buttonAddFriend);
     this.panel1.Controls.Add(this.listViewFriends);
     this.panel1.Controls.Add(this.panelAddFriend);
     this.panel1.Location = new System.Drawing.Point(8, 6);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(176, 373);
     this.panel1.TabIndex = 0;
     //
     // buttonAddFriend
     //
     this.buttonAddFriend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonAddFriend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddFriend.Location = new System.Drawing.Point(6, 338);
     this.buttonAddFriend.Name = "buttonAddFriend";
     this.buttonAddFriend.Size = new System.Drawing.Size(160, 23);
     this.buttonAddFriend.TabIndex = 2;
     this.buttonAddFriend.Text = "Add Friend";
     this.buttonAddFriend.Click += new System.EventHandler(this.buttonAddFriend_Click);
     //
     // listViewFriends
     //
     this.listViewFriends.AllowColumnReorder = true;
     this.listViewFriends.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)));
     this.listViewFriends.AutoArrange = false;
     this.listViewFriends.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listViewFriends.DefaultCustomDraw = true;
     this.listViewFriends.FullRowSelect = true;
     this.listViewFriends.FullyCustomHeader = true;
     this.listViewFriends.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listViewFriends.HideSelection = false;
     this.listViewFriends.IncreaseHeaderHeight = 0;
     this.listViewFriends.Location = new System.Drawing.Point(6, 2);
     this.listViewFriends.Name = "listViewFriends";
     this.listViewFriends.Size = new System.Drawing.Size(164, 332);
     this.listViewFriends.sortColumn = -1;
     this.listViewFriends.TabIndex = 0;
     this.listViewFriends.View = System.Windows.Forms.View.Details;
     this.listViewFriends.SelectedIndexChanged += new System.EventHandler(this.OnChangeFriend);
     //
     // panelAddFriend
     //
     this.panelAddFriend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.panelAddFriend.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(222)), ((System.Byte)(231)), ((System.Byte)(247)));
     this.panelAddFriend.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelAddFriend.Controls.Add(this.textBoxUserHash);
     this.panelAddFriend.Controls.Add(this.labelOptional);
     this.panelAddFriend.Controls.Add(this.textBoxName);
     this.panelAddFriend.Controls.Add(this.labelName);
     this.panelAddFriend.Controls.Add(this.buttonAddFriendCancel);
     this.panelAddFriend.Controls.Add(this.buttonAddFriendOk);
     this.panelAddFriend.Controls.Add(this.textBoxPort);
     this.panelAddFriend.Controls.Add(this.textBoxIP);
     this.panelAddFriend.Controls.Add(this.labelPort);
     this.panelAddFriend.Controls.Add(this.labelIP);
     this.panelAddFriend.Controls.Add(this.labelUserHash);
     this.panelAddFriend.Location = new System.Drawing.Point(6, 198);
     this.panelAddFriend.Name = "panelAddFriend";
     this.panelAddFriend.Size = new System.Drawing.Size(164, 168);
     this.panelAddFriend.TabIndex = 3;
     this.panelAddFriend.Visible = false;
     //
     // textBoxUserHash
     //
     this.textBoxUserHash.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxUserHash.Location = new System.Drawing.Point(4, 88);
     this.textBoxUserHash.Name = "textBoxUserHash";
     this.textBoxUserHash.Size = new System.Drawing.Size(154, 20);
     this.textBoxUserHash.TabIndex = 6;
     this.textBoxUserHash.Text = "";
     //
     // labelOptional
     //
     this.labelOptional.BackColor = System.Drawing.Color.Transparent;
     this.labelOptional.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelOptional.Location = new System.Drawing.Point(82, 74);
     this.labelOptional.Name = "labelOptional";
     this.labelOptional.Size = new System.Drawing.Size(62, 18);
     this.labelOptional.TabIndex = 10;
     this.labelOptional.Text = "(optional)";
     this.labelOptional.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textBoxName
     //
     this.textBoxName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxName.Location = new System.Drawing.Point(4, 18);
     this.textBoxName.Name = "textBoxName";
     this.textBoxName.Size = new System.Drawing.Size(154, 20);
     this.textBoxName.TabIndex = 9;
     this.textBoxName.Text = "My new friend";
     //
     // labelName
     //
     this.labelName.Location = new System.Drawing.Point(2, 4);
     this.labelName.Name = "labelName";
     this.labelName.Size = new System.Drawing.Size(100, 18);
     this.labelName.TabIndex = 8;
     this.labelName.Text = "Name";
     //
     // buttonAddFriendCancel
     //
     this.buttonAddFriendCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddFriendCancel.Location = new System.Drawing.Point(4, 140);
     this.buttonAddFriendCancel.Name = "buttonAddFriendCancel";
     this.buttonAddFriendCancel.Size = new System.Drawing.Size(154, 23);
     this.buttonAddFriendCancel.TabIndex = 7;
     this.buttonAddFriendCancel.Text = "Cancel";
     this.buttonAddFriendCancel.Click += new System.EventHandler(this.buttonAddFriendCancel_Click);
     //
     // buttonAddFriendOk
     //
     this.buttonAddFriendOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAddFriendOk.Location = new System.Drawing.Point(4, 114);
     this.buttonAddFriendOk.Name = "buttonAddFriendOk";
     this.buttonAddFriendOk.Size = new System.Drawing.Size(154, 23);
     this.buttonAddFriendOk.TabIndex = 6;
     this.buttonAddFriendOk.Text = "Ok";
     this.buttonAddFriendOk.Click += new System.EventHandler(this.buttonAddFriendOk_Click);
     //
     // textBoxPort
     //
     this.textBoxPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxPort.Location = new System.Drawing.Point(110, 52);
     this.textBoxPort.Name = "textBoxPort";
     this.textBoxPort.Size = new System.Drawing.Size(48, 20);
     this.textBoxPort.TabIndex = 5;
     this.textBoxPort.Text = "";
     this.textBoxPort.TextChanged += new System.EventHandler(this.textBoxPort_TextChanged);
     //
     // textBoxIP
     //
     this.textBoxIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxIP.Location = new System.Drawing.Point(4, 52);
     this.textBoxIP.Name = "textBoxIP";
     this.textBoxIP.Size = new System.Drawing.Size(94, 20);
     this.textBoxIP.TabIndex = 4;
     this.textBoxIP.Text = "";
     //
     // labelPort
     //
     this.labelPort.Location = new System.Drawing.Point(102, 40);
     this.labelPort.Name = "labelPort";
     this.labelPort.Size = new System.Drawing.Size(52, 23);
     this.labelPort.TabIndex = 3;
     this.labelPort.Text = "Port";
     //
     // labelIP
     //
     this.labelIP.Location = new System.Drawing.Point(2, 40);
     this.labelIP.Name = "labelIP";
     this.labelIP.Size = new System.Drawing.Size(68, 23);
     this.labelIP.TabIndex = 2;
     this.labelIP.Text = "IP or ID";
     //
     // labelUserHash
     //
     this.labelUserHash.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.labelUserHash.Location = new System.Drawing.Point(2, 74);
     this.labelUserHash.Name = "labelUserHash";
     this.labelUserHash.Size = new System.Drawing.Size(116, 18);
     this.labelUserHash.TabIndex = 0;
     this.labelUserHash.Text = "User Hash";
     //
     // tabMessages
     //
     this.tabMessages.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.tabMessages.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.tabMessages.HideTabsMode = Crownwood.Magic.Controls.TabControl.HideTabsModes.ShowAlways;
     this.tabMessages.Location = new System.Drawing.Point(8, 4);
     this.tabMessages.Name = "tabMessages";
     this.tabMessages.PositionTop = true;
     this.tabMessages.ShowArrows = true;
     this.tabMessages.ShowClose = true;
     this.tabMessages.ShrinkPagesToFit = false;
     this.tabMessages.Size = new System.Drawing.Size(404, 333);
     this.tabMessages.TabIndex = 3;
     //
     // textBoxMessage
     //
     this.textBoxMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxMessage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxMessage.Location = new System.Drawing.Point(8, 343);
     this.textBoxMessage.Name = "textBoxMessage";
     this.textBoxMessage.Size = new System.Drawing.Size(320, 20);
     this.textBoxMessage.TabIndex = 2;
     this.textBoxMessage.Text = "";
     this.textBoxMessage.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textBoxMessage_KeyUp);
     //
     // buttonSend
     //
     this.buttonSend.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonSend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonSend.Location = new System.Drawing.Point(332, 343);
     this.buttonSend.Name = "buttonSend";
     this.buttonSend.Size = new System.Drawing.Size(80, 21);
     this.buttonSend.TabIndex = 14;
     this.buttonSend.Text = "Send";
     this.buttonSend.Click += new System.EventHandler(this.buttonSend_Click);
     //
     // panel2
     //
     this.panel2.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.panel2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(241)), ((System.Byte)(250)));
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.tabMessages);
     this.panel2.Controls.Add(this.textBoxMessage);
     this.panel2.Controls.Add(this.buttonSend);
     this.panel2.Location = new System.Drawing.Point(188, 6);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(422, 373);
     this.panel2.TabIndex = 15;
     //
     // imageListFriends
     //
     this.imageListFriends.ImageSize = new System.Drawing.Size(16, 16);
     this.imageListFriends.TransparentColor = System.Drawing.Color.Transparent;
     //
     // FormFriends
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(222)), ((System.Byte)(231)), ((System.Byte)(247)));
     this.ClientSize = new System.Drawing.Size(618, 386);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "FormFriends";
     this.Text = "FormFriends";
     this.panel1.ResumeLayout(false);
     this.panelAddFriend.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }