コード例 #1
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAddContact));
     this.txtContact         = new System.Windows.Forms.TextBox();
     this.btnAdd             = new System.Windows.Forms.Button();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.bunifuSeparator1   = new Bunifu.Framework.UI.BunifuSeparator();
     this.pictureBox2        = new System.Windows.Forms.PictureBox();
     this.label2             = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.SuspendLayout();
     //
     // txtContact
     //
     this.txtContact.Location = new System.Drawing.Point(106, 69);
     this.txtContact.Name     = "txtContact";
     this.txtContact.Size     = new System.Drawing.Size(184, 20);
     this.txtContact.TabIndex = 1;
     //
     // btnAdd
     //
     this.btnAdd.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnAdd.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnAdd.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnAdd.Location     = new System.Drawing.Point(106, 105);
     this.btnAdd.Name         = "btnAdd";
     this.btnAdd.Size         = new System.Drawing.Size(88, 24);
     this.btnAdd.TabIndex     = 2;
     this.btnAdd.Text         = "Add";
     this.btnAdd.Click       += new System.EventHandler(this.btnAdd_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnCancel.Location     = new System.Drawing.Point(202, 105);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(88, 24);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "Cancel";
     //
     // bunifuSeparator1
     //
     this.bunifuSeparator1.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator1.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator1.LineThickness = 1;
     this.bunifuSeparator1.Location      = new System.Drawing.Point(11, 53);
     this.bunifuSeparator1.Name          = "bunifuSeparator1";
     this.bunifuSeparator1.Size          = new System.Drawing.Size(299, 2);
     this.bunifuSeparator1.TabIndex      = 26;
     this.bunifuSeparator1.Transparency  = 255;
     this.bunifuSeparator1.Vertical      = false;
     //
     // pictureBox2
     //
     this.pictureBox2.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(11, 30);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(20, 20);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox2.TabIndex = 25;
     this.pictureBox2.TabStop  = false;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(37, 34);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(168, 16);
     this.label2.TabIndex = 24;
     this.label2.Text     = "The name you need to add:";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(321, 15);
     this.panel1.TabIndex  = 27;
     //
     // bunifuDragControl1
     //
     this.bunifuDragControl1.Fixed         = true;
     this.bunifuDragControl1.Horizontal    = true;
     this.bunifuDragControl1.TargetControl = this;
     this.bunifuDragControl1.Vertical      = true;
     //
     // FormAddContact
     //
     this.AcceptButton      = this.btnAdd;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(321, 154);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.bunifuSeparator1);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.txtContact);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormAddContact";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.Text            = "Thêm bạn bè";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.FormAddContact_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
ファイル: About.cs プロジェクト: kingson1812/MediaPlay
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAbout));
     this.elipseBorder          = new Bunifu.Framework.UI.BunifuElipse(this.components);
     this.gradientpanelUpperBar = new Bunifu.Framework.UI.BunifuGradientPanel();
     this.buttonClose           = new Bunifu.Framework.UI.BunifuImageButton();
     this.dragcontrolUpperPanel = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     this.panelInfor            = new System.Windows.Forms.Panel();
     this.panelImage            = new System.Windows.Forms.Panel();
     this.pictureboxImage       = new System.Windows.Forms.PictureBox();
     this.labelAuthor           = new Bunifu.Framework.UI.BunifuCustomLabel();
     this.labelContact          = new Bunifu.Framework.UI.BunifuCustomLabel();
     this.labelDescription      = new Bunifu.Framework.UI.BunifuCustomLabel();
     this.textboxAuthor         = new WindowsFormsControlLibrary1.BunifuCustomTextbox();
     this.bunifuCustomTextbox2  = new WindowsFormsControlLibrary1.BunifuCustomTextbox();
     this.textboxDescription    = new WindowsFormsControlLibrary1.BunifuCustomTextbox();
     this.separator2            = new Bunifu.Framework.UI.BunifuSeparator();
     this.separator1            = new Bunifu.Framework.UI.BunifuSeparator();
     this.gradientpanelUpperBar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.buttonClose)).BeginInit();
     this.panelInfor.SuspendLayout();
     this.panelImage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureboxImage)).BeginInit();
     this.SuspendLayout();
     //
     // elipseBorder
     //
     this.elipseBorder.ElipseRadius  = 3;
     this.elipseBorder.TargetControl = this.gradientpanelUpperBar;
     //
     // gradientpanelUpperBar
     //
     this.gradientpanelUpperBar.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("gradientpanelUpperBar.BackgroundImage")));
     this.gradientpanelUpperBar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.gradientpanelUpperBar.Controls.Add(this.buttonClose);
     this.gradientpanelUpperBar.Dock = System.Windows.Forms.DockStyle.Top;
     this.gradientpanelUpperBar.GradientBottomLeft  = System.Drawing.Color.DeepSkyBlue;
     this.gradientpanelUpperBar.GradientBottomRight = System.Drawing.Color.LightSeaGreen;
     this.gradientpanelUpperBar.GradientTopLeft     = System.Drawing.Color.DeepSkyBlue;
     this.gradientpanelUpperBar.GradientTopRight    = System.Drawing.Color.LightSeaGreen;
     this.gradientpanelUpperBar.Location            = new System.Drawing.Point(0, 0);
     this.gradientpanelUpperBar.Name     = "gradientpanelUpperBar";
     this.gradientpanelUpperBar.Quality  = 10;
     this.gradientpanelUpperBar.Size     = new System.Drawing.Size(384, 32);
     this.gradientpanelUpperBar.TabIndex = 1;
     //
     // buttonClose
     //
     this.buttonClose.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.BackColor   = System.Drawing.Color.Transparent;
     this.buttonClose.Image       = global::UIDesign.Properties.Resources.button_close_background;
     this.buttonClose.ImageActive = null;
     this.buttonClose.Location    = new System.Drawing.Point(352, 0);
     this.buttonClose.Name        = "buttonClose";
     this.buttonClose.Size        = new System.Drawing.Size(32, 32);
     this.buttonClose.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.buttonClose.TabIndex    = 0;
     this.buttonClose.TabStop     = false;
     this.buttonClose.Zoom        = 0;
     this.buttonClose.Click      += new System.EventHandler(this.buttonClose_Click);
     this.buttonClose.MouseLeave += new System.EventHandler(this.buttonClose_MouseLeave);
     this.buttonClose.MouseMove  += new System.Windows.Forms.MouseEventHandler(this.buttonClose_MouseMove);
     //
     // dragcontrolUpperPanel
     //
     this.dragcontrolUpperPanel.Fixed         = true;
     this.dragcontrolUpperPanel.Horizontal    = true;
     this.dragcontrolUpperPanel.TargetControl = this.gradientpanelUpperBar;
     this.dragcontrolUpperPanel.Vertical      = true;
     //
     // panelInfor
     //
     this.panelInfor.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.panelInfor.BackColor = System.Drawing.Color.White;
     this.panelInfor.Controls.Add(this.separator1);
     this.panelInfor.Controls.Add(this.separator2);
     this.panelInfor.Controls.Add(this.textboxDescription);
     this.panelInfor.Controls.Add(this.bunifuCustomTextbox2);
     this.panelInfor.Controls.Add(this.textboxAuthor);
     this.panelInfor.Controls.Add(this.labelDescription);
     this.panelInfor.Controls.Add(this.labelContact);
     this.panelInfor.Controls.Add(this.labelAuthor);
     this.panelInfor.Location = new System.Drawing.Point(144, 31);
     this.panelInfor.Name     = "panelInfor";
     this.panelInfor.Size     = new System.Drawing.Size(239, 225);
     this.panelInfor.TabIndex = 5;
     //
     // panelImage
     //
     this.panelImage.BackColor = System.Drawing.Color.Transparent;
     this.panelImage.Controls.Add(this.pictureboxImage);
     this.panelImage.Location = new System.Drawing.Point(0, 32);
     this.panelImage.Name     = "panelImage";
     this.panelImage.Size     = new System.Drawing.Size(142, 224);
     this.panelImage.TabIndex = 6;
     //
     // pictureboxImage
     //
     this.pictureboxImage.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.pictureboxImage.Image    = global::UIDesign.Properties.Resources.form_about_background;
     this.pictureboxImage.Location = new System.Drawing.Point(1, 12);
     this.pictureboxImage.Name     = "pictureboxImage";
     this.pictureboxImage.Size     = new System.Drawing.Size(133, 212);
     this.pictureboxImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureboxImage.TabIndex = 0;
     this.pictureboxImage.TabStop  = false;
     //
     // labelAuthor
     //
     this.labelAuthor.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.labelAuthor.AutoSize  = true;
     this.labelAuthor.ForeColor = System.Drawing.Color.Red;
     this.labelAuthor.Location  = new System.Drawing.Point(11, 25);
     this.labelAuthor.Name      = "labelAuthor";
     this.labelAuthor.Size      = new System.Drawing.Size(43, 14);
     this.labelAuthor.TabIndex  = 0;
     this.labelAuthor.Text      = "Author";
     //
     // labelContact
     //
     this.labelContact.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.labelContact.AutoSize  = true;
     this.labelContact.ForeColor = System.Drawing.Color.Red;
     this.labelContact.Location  = new System.Drawing.Point(11, 59);
     this.labelContact.Name      = "labelContact";
     this.labelContact.Size      = new System.Drawing.Size(47, 14);
     this.labelContact.TabIndex  = 1;
     this.labelContact.Text      = "Contact";
     //
     // labelDescription
     //
     this.labelDescription.Anchor    = System.Windows.Forms.AnchorStyles.Left;
     this.labelDescription.AutoSize  = true;
     this.labelDescription.ForeColor = System.Drawing.Color.Red;
     this.labelDescription.Location  = new System.Drawing.Point(11, 102);
     this.labelDescription.Name      = "labelDescription";
     this.labelDescription.Size      = new System.Drawing.Size(69, 14);
     this.labelDescription.TabIndex  = 2;
     this.labelDescription.Text      = "Description";
     //
     // textboxAuthor
     //
     this.textboxAuthor.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.textboxAuthor.BackColor   = System.Drawing.Color.White;
     this.textboxAuthor.BorderColor = System.Drawing.Color.Transparent;
     this.textboxAuthor.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textboxAuthor.Font        = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textboxAuthor.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(84)))), ((int)(((byte)(90)))));
     this.textboxAuthor.Location    = new System.Drawing.Point(83, 24);
     this.textboxAuthor.Name        = "textboxAuthor";
     this.textboxAuthor.ReadOnly    = true;
     this.textboxAuthor.Size        = new System.Drawing.Size(145, 16);
     this.textboxAuthor.TabIndex    = 3;
     this.textboxAuthor.TabStop     = false;
     this.textboxAuthor.Text        = "Trần   Văn   Sơn";
     //
     // bunifuCustomTextbox2
     //
     this.bunifuCustomTextbox2.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.bunifuCustomTextbox2.BackColor   = System.Drawing.Color.White;
     this.bunifuCustomTextbox2.BorderColor = System.Drawing.Color.Transparent;
     this.bunifuCustomTextbox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.bunifuCustomTextbox2.Font        = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuCustomTextbox2.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(84)))), ((int)(((byte)(90)))));
     this.bunifuCustomTextbox2.Location    = new System.Drawing.Point(83, 54);
     this.bunifuCustomTextbox2.Multiline   = true;
     this.bunifuCustomTextbox2.Name        = "bunifuCustomTextbox2";
     this.bunifuCustomTextbox2.ReadOnly    = true;
     this.bunifuCustomTextbox2.Size        = new System.Drawing.Size(145, 48);
     this.bunifuCustomTextbox2.TabIndex    = 4;
     this.bunifuCustomTextbox2.TabStop     = false;
     this.bunifuCustomTextbox2.Text        = "[email protected]\r\nfb:transon1812\r\nskype:kingson1812";
     //
     // textboxDescription
     //
     this.textboxDescription.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.textboxDescription.BackColor   = System.Drawing.Color.White;
     this.textboxDescription.BorderColor = System.Drawing.Color.Transparent;
     this.textboxDescription.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textboxDescription.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(84)))), ((int)(((byte)(90)))));
     this.textboxDescription.Location    = new System.Drawing.Point(14, 124);
     this.textboxDescription.Multiline   = true;
     this.textboxDescription.Name        = "textboxDescription";
     this.textboxDescription.ReadOnly    = true;
     this.textboxDescription.Size        = new System.Drawing.Size(214, 89);
     this.textboxDescription.TabIndex    = 5;
     this.textboxDescription.TabStop     = false;
     this.textboxDescription.Text        = "Media Play     is      a      product     of    entertainment. Hope  you  loved  " +
                                           "it.\r\n\r\n\r\n\r\n>_< Copyright © 2017 -_- Tran V. Son ._.";
     //
     // separator2
     //
     this.separator2.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.separator2.BackColor     = System.Drawing.Color.Transparent;
     this.separator2.LineColor     = System.Drawing.Color.BurlyWood;
     this.separator2.LineThickness = 1;
     this.separator2.Location      = new System.Drawing.Point(1, 101);
     this.separator2.Name          = "separator2";
     this.separator2.Size          = new System.Drawing.Size(236, 1);
     this.separator2.TabIndex      = 1;
     this.separator2.TabStop       = false;
     this.separator2.Transparency  = 255;
     this.separator2.Vertical      = false;
     //
     // separator1
     //
     this.separator1.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.separator1.BackColor     = System.Drawing.Color.Transparent;
     this.separator1.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(184)))), ((int)(((byte)(135)))));
     this.separator1.LineThickness = 1;
     this.separator1.Location      = new System.Drawing.Point(1, 44);
     this.separator1.Name          = "separator1";
     this.separator1.Size          = new System.Drawing.Size(236, 1);
     this.separator1.TabIndex      = 6;
     this.separator1.TabStop       = false;
     this.separator1.Transparency  = 255;
     this.separator1.Vertical      = false;
     //
     // frmAbout
     //
     this.BackColor  = System.Drawing.Color.Magenta;
     this.ClientSize = new System.Drawing.Size(384, 256);
     this.Controls.Add(this.panelImage);
     this.Controls.Add(this.panelInfor);
     this.Controls.Add(this.gradientpanelUpperBar);
     this.Font            = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.MaximumSize     = new System.Drawing.Size(384, 256);
     this.Name            = "frmAbout";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.TransparencyKey = System.Drawing.Color.Magenta;
     this.gradientpanelUpperBar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.buttonClose)).EndInit();
     this.panelInfor.ResumeLayout(false);
     this.panelInfor.PerformLayout();
     this.panelImage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureboxImage)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #3
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormSelectContact));
     this.txtContact         = new System.Windows.Forms.TextBox();
     this.btnOK              = new System.Windows.Forms.Button();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.bunifuSeparator1   = new Bunifu.Framework.UI.BunifuSeparator();
     this.pictureBox2        = new System.Windows.Forms.PictureBox();
     this.panel1             = new System.Windows.Forms.Panel();
     this.label2             = new System.Windows.Forms.Label();
     this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.SuspendLayout();
     //
     // txtContact
     //
     this.txtContact.Location = new System.Drawing.Point(90, 91);
     this.txtContact.Name     = "txtContact";
     this.txtContact.Size     = new System.Drawing.Size(372, 26);
     this.txtContact.TabIndex = 1;
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnOK.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnOK.Location     = new System.Drawing.Point(197, 140);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(128, 35);
     this.btnOK.TabIndex     = 2;
     this.btnOK.Text         = "OK";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnCancel.Location     = new System.Drawing.Point(334, 140);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(128, 35);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "Cancel";
     //
     // bunifuSeparator1
     //
     this.bunifuSeparator1.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator1.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator1.LineThickness = 2;
     this.bunifuSeparator1.Location      = new System.Drawing.Point(32, 69);
     this.bunifuSeparator1.Margin        = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.bunifuSeparator1.Name          = "bunifuSeparator1";
     this.bunifuSeparator1.Size          = new System.Drawing.Size(416, 14);
     this.bunifuSeparator1.TabIndex      = 29;
     this.bunifuSeparator1.Transparency  = 255;
     this.bunifuSeparator1.Vertical      = false;
     //
     // pictureBox2
     //
     this.pictureBox2.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(32, 35);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(32, 29);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox2.TabIndex = 28;
     this.pictureBox2.TabStop  = false;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(557, 22);
     this.panel1.TabIndex  = 27;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(85, 41);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(318, 23);
     this.label2.TabIndex = 26;
     this.label2.Text     = "The name you need to manipulate:";
     //
     // bunifuDragControl1
     //
     this.bunifuDragControl1.Fixed         = true;
     this.bunifuDragControl1.Horizontal    = true;
     this.bunifuDragControl1.TargetControl = this;
     this.bunifuDragControl1.Vertical      = true;
     //
     // FormSelectContact
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(557, 136);
     this.Controls.Add(this.bunifuSeparator1);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.txtContact);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "FormSelectContact";
     this.ShowInTaskbar   = false;
     this.Text            = "Nhập tên bạn bè cần thao tác";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormChangePassword));
     this.txtUsername        = new System.Windows.Forms.TextBox();
     this.txtCurPassword     = new System.Windows.Forms.TextBox();
     this.txtNewPassword     = new System.Windows.Forms.TextBox();
     this.txtConfirmPassword = new System.Windows.Forms.TextBox();
     this.btnOK              = new System.Windows.Forms.Button();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.panel1             = new System.Windows.Forms.Panel();
     this.label8             = new System.Windows.Forms.Label();
     this.bunifuSeparator1   = new Bunifu.Framework.UI.BunifuSeparator();
     this.tabControl1        = new System.Windows.Forms.TabControl();
     this.tabPage1           = new System.Windows.Forms.TabPage();
     this.bunifuSeparator7   = new Bunifu.Framework.UI.BunifuSeparator();
     this.bunifuSeparator6   = new Bunifu.Framework.UI.BunifuSeparator();
     this.bunifuSeparator5   = new Bunifu.Framework.UI.BunifuSeparator();
     this.label5             = new System.Windows.Forms.Label();
     this.label6             = new System.Windows.Forms.Label();
     this.bunifuSeparator3   = new Bunifu.Framework.UI.BunifuSeparator();
     this.label7             = new System.Windows.Forms.Label();
     this.label9             = new System.Windows.Forms.Label();
     this.pictureBox1        = new System.Windows.Forms.PictureBox();
     this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // txtUsername
     //
     this.txtUsername.Location = new System.Drawing.Point(169, 16);
     this.txtUsername.Name     = "txtUsername";
     this.txtUsername.Size     = new System.Drawing.Size(160, 20);
     this.txtUsername.TabIndex = 4;
     //
     // txtCurPassword
     //
     this.txtCurPassword.Location     = new System.Drawing.Point(169, 47);
     this.txtCurPassword.Name         = "txtCurPassword";
     this.txtCurPassword.PasswordChar = '*';
     this.txtCurPassword.Size         = new System.Drawing.Size(160, 20);
     this.txtCurPassword.TabIndex     = 5;
     //
     // txtNewPassword
     //
     this.txtNewPassword.Location     = new System.Drawing.Point(169, 77);
     this.txtNewPassword.Name         = "txtNewPassword";
     this.txtNewPassword.PasswordChar = '*';
     this.txtNewPassword.Size         = new System.Drawing.Size(160, 20);
     this.txtNewPassword.TabIndex     = 6;
     //
     // txtConfirmPassword
     //
     this.txtConfirmPassword.Location     = new System.Drawing.Point(169, 106);
     this.txtConfirmPassword.Name         = "txtConfirmPassword";
     this.txtConfirmPassword.PasswordChar = '*';
     this.txtConfirmPassword.Size         = new System.Drawing.Size(160, 20);
     this.txtConfirmPassword.TabIndex     = 7;
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnOK.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnOK.Location     = new System.Drawing.Point(169, 160);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(80, 24);
     this.btnOK.TabIndex     = 8;
     this.btnOK.Text         = "OK";
     this.btnOK.Click       += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnCancel.Location     = new System.Drawing.Point(255, 160);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(80, 24);
     this.btnCancel.TabIndex     = 9;
     this.btnCancel.Text         = "Cancel";
     this.btnCancel.Click       += new System.EventHandler(this.btnCancel_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(398, 15);
     this.panel1.TabIndex  = 25;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(33, 28);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(83, 13);
     this.label8.TabIndex = 27;
     this.label8.Text     = "Account Setting";
     //
     // bunifuSeparator1
     //
     this.bunifuSeparator1.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator1.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator1.LineThickness = 1;
     this.bunifuSeparator1.Location      = new System.Drawing.Point(12, 44);
     this.bunifuSeparator1.Name          = "bunifuSeparator1";
     this.bunifuSeparator1.Size          = new System.Drawing.Size(370, 2);
     this.bunifuSeparator1.TabIndex      = 28;
     this.bunifuSeparator1.Transparency  = 255;
     this.bunifuSeparator1.Vertical      = false;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Location      = new System.Drawing.Point(12, 52);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(374, 216);
     this.tabControl1.TabIndex      = 29;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.White;
     this.tabPage1.Controls.Add(this.bunifuSeparator7);
     this.tabPage1.Controls.Add(this.bunifuSeparator6);
     this.tabPage1.Controls.Add(this.bunifuSeparator5);
     this.tabPage1.Controls.Add(this.label5);
     this.tabPage1.Controls.Add(this.btnCancel);
     this.tabPage1.Controls.Add(this.label6);
     this.tabPage1.Controls.Add(this.btnOK);
     this.tabPage1.Controls.Add(this.bunifuSeparator3);
     this.tabPage1.Controls.Add(this.txtConfirmPassword);
     this.tabPage1.Controls.Add(this.label7);
     this.tabPage1.Controls.Add(this.txtNewPassword);
     this.tabPage1.Controls.Add(this.label9);
     this.tabPage1.Controls.Add(this.txtCurPassword);
     this.tabPage1.Controls.Add(this.txtUsername);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(366, 190);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Change the password";
     //
     // bunifuSeparator7
     //
     this.bunifuSeparator7.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator7.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator7.LineThickness = 2;
     this.bunifuSeparator7.Location      = new System.Drawing.Point(169, 130);
     this.bunifuSeparator7.Name          = "bunifuSeparator7";
     this.bunifuSeparator7.Size          = new System.Drawing.Size(160, 1);
     this.bunifuSeparator7.TabIndex      = 19;
     this.bunifuSeparator7.Transparency  = 255;
     this.bunifuSeparator7.Vertical      = false;
     //
     // bunifuSeparator6
     //
     this.bunifuSeparator6.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator6.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator6.LineThickness = 2;
     this.bunifuSeparator6.Location      = new System.Drawing.Point(169, 100);
     this.bunifuSeparator6.Name          = "bunifuSeparator6";
     this.bunifuSeparator6.Size          = new System.Drawing.Size(160, 1);
     this.bunifuSeparator6.TabIndex      = 18;
     this.bunifuSeparator6.Transparency  = 255;
     this.bunifuSeparator6.Vertical      = false;
     //
     // bunifuSeparator5
     //
     this.bunifuSeparator5.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator5.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator5.LineThickness = 2;
     this.bunifuSeparator5.Location      = new System.Drawing.Point(169, 70);
     this.bunifuSeparator5.Name          = "bunifuSeparator5";
     this.bunifuSeparator5.Size          = new System.Drawing.Size(160, 1);
     this.bunifuSeparator5.TabIndex      = 17;
     this.bunifuSeparator5.Transparency  = 255;
     this.bunifuSeparator5.Vertical      = false;
     //
     // label5
     //
     this.label5.ForeColor = System.Drawing.Color.Gray;
     this.label5.Location  = new System.Drawing.Point(33, 20);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(104, 16);
     this.label5.TabIndex  = 1;
     this.label5.Text      = "Account name :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.ForeColor = System.Drawing.Color.Gray;
     this.label6.Location  = new System.Drawing.Point(33, 51);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(104, 16);
     this.label6.TabIndex  = 2;
     this.label6.Text      = "Current password :"******"bunifuSeparator3";
     this.bunifuSeparator3.Size          = new System.Drawing.Size(160, 1);
     this.bunifuSeparator3.TabIndex      = 12;
     this.bunifuSeparator3.Transparency  = 255;
     this.bunifuSeparator3.Vertical      = false;
     //
     // label7
     //
     this.label7.ForeColor = System.Drawing.Color.Gray;
     this.label7.Location  = new System.Drawing.Point(33, 81);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(104, 16);
     this.label7.TabIndex  = 3;
     this.label7.Text      = "New passwords :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label9
     //
     this.label9.ForeColor = System.Drawing.Color.Gray;
     this.label9.Location  = new System.Drawing.Point(33, 111);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(109, 16);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "Confirm password :"******"pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(12, 21);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(20, 20);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 16;
     this.pictureBox1.TabStop  = false;
     //
     // bunifuDragControl1
     //
     this.bunifuDragControl1.Fixed         = true;
     this.bunifuDragControl1.Horizontal    = true;
     this.bunifuDragControl1.TargetControl = this;
     this.bunifuDragControl1.Vertical      = true;
     //
     // FormChangePassword
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(398, 287);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.bunifuSeparator1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormChangePassword";
     this.Text            = "Thay đổi mật khẩu";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.FormChangePassword_Closing);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
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();
     Bunifu.Framework.UI.BunifuDragControl          bunifuDragControl1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmInstructor));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
     this.TopFrm           = new System.Windows.Forms.Panel();
     this.label1           = new System.Windows.Forms.Label();
     this.CerrarPic        = new System.Windows.Forms.PictureBox();
     this.BuscarPic        = new System.Windows.Forms.PictureBox();
     this.Buscartxt        = new System.Windows.Forms.TextBox();
     this.pictureBox2      = new System.Windows.Forms.PictureBox();
     this.pictureBox4      = new System.Windows.Forms.PictureBox();
     this.panel1           = new System.Windows.Forms.Panel();
     this.InstructoresData = new System.Windows.Forms.DataGridView();
     this.label2           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.label4           = new System.Windows.Forms.Label();
     this.NuevoBtn         = new Bunifu.Framework.UI.BunifuFlatButton();
     this.panel2           = new System.Windows.Forms.Panel();
     this.BtnEditar        = new Bunifu.Framework.UI.BunifuFlatButton();
     this.BtnEliminar      = new Bunifu.Framework.UI.BunifuFlatButton();
     this.label5           = new System.Windows.Forms.Label();
     this.label6           = new System.Windows.Forms.Label();
     this.label7           = new System.Windows.Forms.Label();
     this.label8           = new System.Windows.Forms.Label();
     this.label9           = new System.Windows.Forms.Label();
     this.Nombretxt        = new System.Windows.Forms.TextBox();
     this.Apellidotxt      = new System.Windows.Forms.TextBox();
     this.contactotxt      = new System.Windows.Forms.TextBox();
     this.Correotxt        = new System.Windows.Forms.TextBox();
     this.Grupocmbx        = new System.Windows.Forms.ComboBox();
     this.BtnAgregar       = new Bunifu.Framework.UI.BunifuFlatButton();
     this.panel3           = new System.Windows.Forms.Panel();
     this.pictureBox3      = new System.Windows.Forms.PictureBox();
     this.pictureBox5      = new System.Windows.Forms.PictureBox();
     this.pictureBox7      = new System.Windows.Forms.PictureBox();
     this.pictureBox8      = new System.Windows.Forms.PictureBox();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.ErrorProv        = new System.Windows.Forms.ErrorProvider(this.components);
     bunifuDragControl1    = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     this.TopFrm.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CerrarPic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.BuscarPic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.InstructoresData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ErrorProv)).BeginInit();
     this.SuspendLayout();
     //
     // bunifuDragControl1
     //
     bunifuDragControl1.Fixed         = true;
     bunifuDragControl1.Horizontal    = true;
     bunifuDragControl1.TargetControl = this.TopFrm;
     bunifuDragControl1.Vertical      = true;
     //
     // TopFrm
     //
     this.TopFrm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.TopFrm.Controls.Add(this.label1);
     this.TopFrm.Controls.Add(this.CerrarPic);
     this.TopFrm.Dock     = System.Windows.Forms.DockStyle.Top;
     this.TopFrm.Location = new System.Drawing.Point(0, 0);
     this.TopFrm.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.TopFrm.Name     = "TopFrm";
     this.TopFrm.Size     = new System.Drawing.Size(1057, 29);
     this.TopFrm.TabIndex = 0;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Poppins", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(2, 0);
     this.label1.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(164, 34);
     this.label1.TabIndex  = 10;
     this.label1.Text      = "INSTRUCTORES";
     //
     // CerrarPic
     //
     this.CerrarPic.Image       = ((System.Drawing.Image)(resources.GetObject("CerrarPic.Image")));
     this.CerrarPic.Location    = new System.Drawing.Point(1031, 2);
     this.CerrarPic.Margin      = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.CerrarPic.Name        = "CerrarPic";
     this.CerrarPic.Size        = new System.Drawing.Size(26, 24);
     this.CerrarPic.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.CerrarPic.TabIndex    = 1;
     this.CerrarPic.TabStop     = false;
     this.CerrarPic.Click      += new System.EventHandler(this.CerrarPic_Click);
     this.CerrarPic.MouseLeave += new System.EventHandler(this.CerrarPic_MouseLeave);
     this.CerrarPic.MouseHover += new System.EventHandler(this.CerrarPic_MouseHover);
     //
     // BuscarPic
     //
     this.BuscarPic.Image    = ((System.Drawing.Image)(resources.GetObject("BuscarPic.Image")));
     this.BuscarPic.Location = new System.Drawing.Point(46, 77);
     this.BuscarPic.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.BuscarPic.Name     = "BuscarPic";
     this.BuscarPic.Size     = new System.Drawing.Size(38, 34);
     this.BuscarPic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.BuscarPic.TabIndex = 7;
     this.BuscarPic.TabStop  = false;
     //
     // Buscartxt
     //
     this.Buscartxt.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
     this.Buscartxt.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.Buscartxt.Font         = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Buscartxt.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.Buscartxt.Location     = new System.Drawing.Point(89, 77);
     this.Buscartxt.Margin       = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Buscartxt.Name         = "Buscartxt";
     this.Buscartxt.Size         = new System.Drawing.Size(259, 32);
     this.Buscartxt.TabIndex     = 8;
     this.Buscartxt.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.Buscartxt.TextChanged += new System.EventHandler(this.Buscartxt_TextChanged);
     //
     // pictureBox2
     //
     this.pictureBox2.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(37, 66);
     this.pictureBox2.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(324, 52);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox2.TabIndex = 9;
     this.pictureBox2.TabStop  = false;
     //
     // pictureBox4
     //
     this.pictureBox4.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
     this.pictureBox4.Location = new System.Drawing.Point(455, 468);
     this.pictureBox4.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox4.Name     = "pictureBox4";
     this.pictureBox4.Size     = new System.Drawing.Size(140, 28);
     this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox4.TabIndex = 10;
     this.pictureBox4.TabStop  = false;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location  = new System.Drawing.Point(1048, 29);
     this.panel1.Margin    = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(9, 479);
     this.panel1.TabIndex  = 11;
     //
     // InstructoresData
     //
     this.InstructoresData.AllowUserToAddRows          = false;
     this.InstructoresData.AllowUserToDeleteRows       = false;
     this.InstructoresData.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.InstructoresData.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.InstructoresData.BackgroundColor             = System.Drawing.Color.White;
     this.InstructoresData.BorderStyle                 = System.Windows.Forms.BorderStyle.None;
     this.InstructoresData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.InstructoresData.ColumnHeadersVisible        = false;
     dataGridViewCellStyle16.Alignment                 = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle16.BackColor                 = System.Drawing.Color.White;
     dataGridViewCellStyle16.Font               = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle16.ForeColor          = System.Drawing.Color.DimGray;
     dataGridViewCellStyle16.Padding            = new System.Windows.Forms.Padding(5);
     dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle16.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.InstructoresData.DefaultCellStyle     = dataGridViewCellStyle16;
     this.InstructoresData.Location             = new System.Drawing.Point(36, 180);
     this.InstructoresData.Margin               = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.InstructoresData.Name              = "InstructoresData";
     this.InstructoresData.ReadOnly          = true;
     this.InstructoresData.RowHeadersVisible = false;
     this.InstructoresData.SelectionMode     = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.InstructoresData.Size              = new System.Drawing.Size(374, 186);
     this.InstructoresData.TabIndex          = 12;
     this.InstructoresData.CellClick        += new System.Windows.Forms.DataGridViewCellEventHandler(this.InstructoresData_CellClick);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label2.Location  = new System.Drawing.Point(37, 142);
     this.label2.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(103, 31);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "NOMBRES";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label3.Location  = new System.Drawing.Point(145, 142);
     this.label3.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(108, 31);
     this.label3.TabIndex  = 13;
     this.label3.Text      = "APELLIDOS";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label4.Location  = new System.Drawing.Point(628, 150);
     this.label4.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(80, 31);
     this.label4.TabIndex  = 14;
     this.label4.Text      = "GRUPO";
     //
     // NuevoBtn
     //
     this.NuevoBtn.Activecolor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.NuevoBtn.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.NuevoBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.NuevoBtn.BorderRadius          = 7;
     this.NuevoBtn.ButtonText            = "LIMPIAR";
     this.NuevoBtn.Cursor                   = System.Windows.Forms.Cursors.Hand;
     this.NuevoBtn.DisabledColor            = System.Drawing.Color.Gray;
     this.NuevoBtn.Font                     = new System.Drawing.Font("Poppins", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.NuevoBtn.Iconcolor                = System.Drawing.Color.Transparent;
     this.NuevoBtn.Iconimage                = ((System.Drawing.Image)(resources.GetObject("NuevoBtn.Iconimage")));
     this.NuevoBtn.Iconimage_right          = null;
     this.NuevoBtn.Iconimage_right_Selected = null;
     this.NuevoBtn.Iconimage_Selected       = null;
     this.NuevoBtn.IconMarginLeft           = 0;
     this.NuevoBtn.IconMarginRight          = 0;
     this.NuevoBtn.IconRightVisible         = true;
     this.NuevoBtn.IconRightZoom            = 0D;
     this.NuevoBtn.IconVisible              = true;
     this.NuevoBtn.IconZoom                 = 25D;
     this.NuevoBtn.IsTab                    = false;
     this.NuevoBtn.Location                 = new System.Drawing.Point(901, 306);
     this.NuevoBtn.Margin                   = new System.Windows.Forms.Padding(2, 9, 2, 9);
     this.NuevoBtn.Name                     = "NuevoBtn";
     this.NuevoBtn.Normalcolor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.NuevoBtn.OnHovercolor             = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(179)))), ((int)(((byte)(255)))));
     this.NuevoBtn.OnHoverTextColor         = System.Drawing.Color.White;
     this.NuevoBtn.selected                 = false;
     this.NuevoBtn.Size                     = new System.Drawing.Size(125, 38);
     this.NuevoBtn.TabIndex                 = 15;
     this.NuevoBtn.Text                     = "LIMPIAR";
     this.NuevoBtn.TextAlign                = System.Drawing.ContentAlignment.MiddleLeft;
     this.NuevoBtn.Textcolor                = System.Drawing.Color.White;
     this.NuevoBtn.TextFont                 = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.NuevoBtn.Click                   += new System.EventHandler(this.NuevoBtn_Click);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.panel2.Dock      = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location  = new System.Drawing.Point(0, 29);
     this.panel2.Margin    = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.panel2.Name      = "panel2";
     this.panel2.Size      = new System.Drawing.Size(9, 479);
     this.panel2.TabIndex  = 12;
     //
     // BtnEditar
     //
     this.BtnEditar.Activecolor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnEditar.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnEditar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.BtnEditar.BorderRadius          = 7;
     this.BtnEditar.ButtonText            = "MODIFICAR";
     this.BtnEditar.Cursor                   = System.Windows.Forms.Cursors.Hand;
     this.BtnEditar.DisabledColor            = System.Drawing.Color.Gray;
     this.BtnEditar.Font                     = new System.Drawing.Font("Poppins", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnEditar.Iconcolor                = System.Drawing.Color.Transparent;
     this.BtnEditar.Iconimage                = ((System.Drawing.Image)(resources.GetObject("BtnEditar.Iconimage")));
     this.BtnEditar.Iconimage_right          = null;
     this.BtnEditar.Iconimage_right_Selected = null;
     this.BtnEditar.Iconimage_Selected       = null;
     this.BtnEditar.IconMarginLeft           = 0;
     this.BtnEditar.IconMarginRight          = 0;
     this.BtnEditar.IconRightVisible         = true;
     this.BtnEditar.IconRightZoom            = 0D;
     this.BtnEditar.IconVisible              = true;
     this.BtnEditar.IconZoom                 = 25D;
     this.BtnEditar.IsTab                    = false;
     this.BtnEditar.Location                 = new System.Drawing.Point(901, 373);
     this.BtnEditar.Margin                   = new System.Windows.Forms.Padding(2, 9, 2, 9);
     this.BtnEditar.Name                     = "BtnEditar";
     this.BtnEditar.Normalcolor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnEditar.OnHovercolor             = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(172)))), ((int)(((byte)(0)))));
     this.BtnEditar.OnHoverTextColor         = System.Drawing.Color.White;
     this.BtnEditar.selected                 = false;
     this.BtnEditar.Size                     = new System.Drawing.Size(125, 38);
     this.BtnEditar.TabIndex                 = 16;
     this.BtnEditar.Text                     = "MODIFICAR";
     this.BtnEditar.TextAlign                = System.Drawing.ContentAlignment.MiddleLeft;
     this.BtnEditar.Textcolor                = System.Drawing.Color.White;
     this.BtnEditar.TextFont                 = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnEditar.Click                   += new System.EventHandler(this.BtnEditar_Click);
     //
     // BtnEliminar
     //
     this.BtnEliminar.Activecolor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnEliminar.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnEliminar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.BtnEliminar.BorderRadius          = 7;
     this.BtnEliminar.ButtonText            = "ELIMINAR";
     this.BtnEliminar.Cursor                   = System.Windows.Forms.Cursors.Hand;
     this.BtnEliminar.DisabledColor            = System.Drawing.Color.Gray;
     this.BtnEliminar.Font                     = new System.Drawing.Font("Poppins", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnEliminar.Iconcolor                = System.Drawing.Color.Transparent;
     this.BtnEliminar.Iconimage                = ((System.Drawing.Image)(resources.GetObject("BtnEliminar.Iconimage")));
     this.BtnEliminar.Iconimage_right          = null;
     this.BtnEliminar.Iconimage_right_Selected = null;
     this.BtnEliminar.Iconimage_Selected       = null;
     this.BtnEliminar.IconMarginLeft           = 0;
     this.BtnEliminar.IconMarginRight          = 0;
     this.BtnEliminar.IconRightVisible         = true;
     this.BtnEliminar.IconRightZoom            = 0D;
     this.BtnEliminar.IconVisible              = true;
     this.BtnEliminar.IconZoom                 = 25D;
     this.BtnEliminar.IsTab                    = false;
     this.BtnEliminar.Location                 = new System.Drawing.Point(744, 373);
     this.BtnEliminar.Margin                   = new System.Windows.Forms.Padding(2, 9, 2, 9);
     this.BtnEliminar.Name                     = "BtnEliminar";
     this.BtnEliminar.Normalcolor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnEliminar.OnHovercolor             = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.BtnEliminar.OnHoverTextColor         = System.Drawing.Color.White;
     this.BtnEliminar.selected                 = false;
     this.BtnEliminar.Size                     = new System.Drawing.Size(125, 38);
     this.BtnEliminar.TabIndex                 = 17;
     this.BtnEliminar.Text                     = "ELIMINAR";
     this.BtnEliminar.TextAlign                = System.Drawing.ContentAlignment.MiddleLeft;
     this.BtnEliminar.Textcolor                = System.Drawing.Color.White;
     this.BtnEliminar.TextFont                 = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnEliminar.Click                   += new System.EventHandler(this.BtnEliminar_Click);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label5.Location  = new System.Drawing.Point(628, 43);
     this.label5.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(103, 31);
     this.label5.TabIndex  = 18;
     this.label5.Text      = "NOMBRES";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label6.Location  = new System.Drawing.Point(628, 97);
     this.label6.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(108, 31);
     this.label6.TabIndex  = 19;
     this.label6.Text      = "APELLIDOS";
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label7.Location  = new System.Drawing.Point(266, 142);
     this.label7.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(80, 31);
     this.label7.TabIndex  = 20;
     this.label7.Text      = "GRUPO";
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label8.Location  = new System.Drawing.Point(624, 195);
     this.label8.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(120, 31);
     this.label8.TabIndex  = 21;
     this.label8.Text      = "CONTACTO";
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.Font      = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.label9.Location  = new System.Drawing.Point(628, 241);
     this.label9.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(93, 31);
     this.label9.TabIndex  = 22;
     this.label9.Text      = "CORREO";
     //
     // Nombretxt
     //
     this.Nombretxt.BackColor    = System.Drawing.Color.White;
     this.Nombretxt.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.Nombretxt.Font         = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Nombretxt.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.Nombretxt.Location     = new System.Drawing.Point(756, 49);
     this.Nombretxt.Margin       = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Nombretxt.Name         = "Nombretxt";
     this.Nombretxt.Size         = new System.Drawing.Size(259, 32);
     this.Nombretxt.TabIndex     = 23;
     this.Nombretxt.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.Nombretxt.TextChanged += new System.EventHandler(this.Nombretxt_TextChanged);
     this.Nombretxt.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.Nombretxt_KeyPress);
     //
     // Apellidotxt
     //
     this.Apellidotxt.BackColor    = System.Drawing.Color.White;
     this.Apellidotxt.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.Apellidotxt.Font         = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Apellidotxt.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.Apellidotxt.Location     = new System.Drawing.Point(756, 97);
     this.Apellidotxt.Margin       = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Apellidotxt.Name         = "Apellidotxt";
     this.Apellidotxt.Size         = new System.Drawing.Size(259, 32);
     this.Apellidotxt.TabIndex     = 24;
     this.Apellidotxt.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.Apellidotxt.TextChanged += new System.EventHandler(this.Apellidotxt_TextChanged);
     this.Apellidotxt.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.Apellidotxt_KeyPress);
     //
     // contactotxt
     //
     this.contactotxt.BackColor    = System.Drawing.Color.White;
     this.contactotxt.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.contactotxt.Font         = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.contactotxt.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.contactotxt.Location     = new System.Drawing.Point(756, 195);
     this.contactotxt.Margin       = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.contactotxt.Name         = "contactotxt";
     this.contactotxt.Size         = new System.Drawing.Size(259, 32);
     this.contactotxt.TabIndex     = 25;
     this.contactotxt.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.contactotxt.TextChanged += new System.EventHandler(this.contactotxt_TextChanged);
     this.contactotxt.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.contactotxt_KeyPress);
     //
     // Correotxt
     //
     this.Correotxt.BackColor    = System.Drawing.Color.White;
     this.Correotxt.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.Correotxt.Font         = new System.Drawing.Font("Poppins", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Correotxt.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.Correotxt.Location     = new System.Drawing.Point(756, 241);
     this.Correotxt.Margin       = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Correotxt.Name         = "Correotxt";
     this.Correotxt.Size         = new System.Drawing.Size(259, 32);
     this.Correotxt.TabIndex     = 26;
     this.Correotxt.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.Correotxt.TextChanged += new System.EventHandler(this.Correotxt_TextChanged);
     //
     // Grupocmbx
     //
     this.Grupocmbx.BackColor             = System.Drawing.Color.White;
     this.Grupocmbx.FlatStyle             = System.Windows.Forms.FlatStyle.Flat;
     this.Grupocmbx.Font                  = new System.Drawing.Font("Poppins", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Grupocmbx.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.Grupocmbx.FormattingEnabled     = true;
     this.Grupocmbx.Location              = new System.Drawing.Point(761, 150);
     this.Grupocmbx.Margin                = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Grupocmbx.Name                  = "Grupocmbx";
     this.Grupocmbx.Size                  = new System.Drawing.Size(250, 29);
     this.Grupocmbx.TabIndex              = 27;
     this.Grupocmbx.SelectedIndexChanged += new System.EventHandler(this.Grupocmbx_SelectedIndexChanged);
     this.Grupocmbx.KeyPress             += new System.Windows.Forms.KeyPressEventHandler(this.Grupocmbx_KeyPress);
     //
     // BtnAgregar
     //
     this.BtnAgregar.Activecolor           = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnAgregar.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnAgregar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.BtnAgregar.BorderRadius          = 7;
     this.BtnAgregar.ButtonText            = "AGREGAR";
     this.BtnAgregar.Cursor                   = System.Windows.Forms.Cursors.Hand;
     this.BtnAgregar.DisabledColor            = System.Drawing.Color.Gray;
     this.BtnAgregar.Font                     = new System.Drawing.Font("Poppins", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnAgregar.Iconcolor                = System.Drawing.Color.Transparent;
     this.BtnAgregar.Iconimage                = ((System.Drawing.Image)(resources.GetObject("BtnAgregar.Iconimage")));
     this.BtnAgregar.Iconimage_right          = null;
     this.BtnAgregar.Iconimage_right_Selected = null;
     this.BtnAgregar.Iconimage_Selected       = null;
     this.BtnAgregar.IconMarginLeft           = 0;
     this.BtnAgregar.IconMarginRight          = 0;
     this.BtnAgregar.IconRightVisible         = true;
     this.BtnAgregar.IconRightZoom            = 0D;
     this.BtnAgregar.IconVisible              = true;
     this.BtnAgregar.IconZoom                 = 25D;
     this.BtnAgregar.IsTab                    = false;
     this.BtnAgregar.Location                 = new System.Drawing.Point(744, 306);
     this.BtnAgregar.Margin                   = new System.Windows.Forms.Padding(2, 9, 2, 9);
     this.BtnAgregar.Name                     = "BtnAgregar";
     this.BtnAgregar.Normalcolor              = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.BtnAgregar.OnHovercolor             = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(162)))), ((int)(((byte)(80)))));
     this.BtnAgregar.OnHoverTextColor         = System.Drawing.Color.White;
     this.BtnAgregar.selected                 = false;
     this.BtnAgregar.Size                     = new System.Drawing.Size(125, 38);
     this.BtnAgregar.TabIndex                 = 28;
     this.BtnAgregar.Text                     = "AGREGAR";
     this.BtnAgregar.TextAlign                = System.Drawing.ContentAlignment.MiddleLeft;
     this.BtnAgregar.Textcolor                = System.Drawing.Color.White;
     this.BtnAgregar.TextFont                 = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.BtnAgregar.Click                   += new System.EventHandler(this.BtnAgregar_Click);
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(85)))), ((int)(((byte)(128)))));
     this.panel3.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel3.Location  = new System.Drawing.Point(9, 499);
     this.panel3.Margin    = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.panel3.Name      = "panel3";
     this.panel3.Size      = new System.Drawing.Size(1039, 9);
     this.panel3.TabIndex  = 13;
     //
     // pictureBox3
     //
     this.pictureBox3.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
     this.pictureBox3.Location = new System.Drawing.Point(744, 43);
     this.pictureBox3.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox3.Name     = "pictureBox3";
     this.pictureBox3.Size     = new System.Drawing.Size(282, 41);
     this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox3.TabIndex = 30;
     this.pictureBox3.TabStop  = false;
     //
     // pictureBox5
     //
     this.pictureBox5.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
     this.pictureBox5.Location = new System.Drawing.Point(744, 91);
     this.pictureBox5.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox5.Name     = "pictureBox5";
     this.pictureBox5.Size     = new System.Drawing.Size(282, 41);
     this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox5.TabIndex = 31;
     this.pictureBox5.TabStop  = false;
     //
     // pictureBox7
     //
     this.pictureBox7.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image")));
     this.pictureBox7.Location = new System.Drawing.Point(744, 188);
     this.pictureBox7.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox7.Name     = "pictureBox7";
     this.pictureBox7.Size     = new System.Drawing.Size(282, 41);
     this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox7.TabIndex = 33;
     this.pictureBox7.TabStop  = false;
     //
     // pictureBox8
     //
     this.pictureBox8.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox8.Image")));
     this.pictureBox8.Location = new System.Drawing.Point(744, 235);
     this.pictureBox8.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox8.Name     = "pictureBox8";
     this.pictureBox8.Size     = new System.Drawing.Size(282, 41);
     this.pictureBox8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox8.TabIndex = 34;
     this.pictureBox8.TabStop  = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(744, 142);
     this.pictureBox1.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(282, 41);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 35;
     this.pictureBox1.TabStop  = false;
     //
     // ErrorProv
     //
     this.ErrorProv.ContainerControl = this;
     //
     // FrmInstructor
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.ClientSize          = new System.Drawing.Size(1057, 508);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.BtnAgregar);
     this.Controls.Add(this.Grupocmbx);
     this.Controls.Add(this.Correotxt);
     this.Controls.Add(this.contactotxt);
     this.Controls.Add(this.Apellidotxt);
     this.Controls.Add(this.Nombretxt);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.BtnEliminar);
     this.Controls.Add(this.BtnEditar);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.pictureBox4);
     this.Controls.Add(this.BuscarPic);
     this.Controls.Add(this.NuevoBtn);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.InstructoresData);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.Buscartxt);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.TopFrm);
     this.Controls.Add(this.pictureBox3);
     this.Controls.Add(this.pictureBox5);
     this.Controls.Add(this.pictureBox7);
     this.Controls.Add(this.pictureBox8);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Margin          = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.Name            = "FrmInstructor";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "FrmInstructor";
     this.Load           += new System.EventHandler(this.FrmInstructor_Load);
     this.TopFrm.ResumeLayout(false);
     this.TopFrm.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CerrarPic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.BuscarPic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.InstructoresData)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ErrorProv)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #6
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormNetworkSettings));
     this.label1             = new System.Windows.Forms.Label();
     this.txtIP              = new System.Windows.Forms.TextBox();
     this.btnOK              = new System.Windows.Forms.Button();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.label2             = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.bunifuSeparator3   = new Bunifu.Framework.UI.BunifuSeparator();
     this.pictureBox1        = new System.Windows.Forms.PictureBox();
     this.label3             = new System.Windows.Forms.Label();
     this.bunifuDragControl1 = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(41, 82);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(122, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Server\'s IP address:";
     //
     // txtIP
     //
     this.txtIP.Location = new System.Drawing.Point(181, 78);
     this.txtIP.Name     = "txtIP";
     this.txtIP.Size     = new System.Drawing.Size(236, 20);
     this.txtIP.TabIndex = 1;
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnOK.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnOK.Location     = new System.Drawing.Point(283, 113);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(64, 24);
     this.btnOK.TabIndex     = 2;
     this.btnOK.Text         = "OK";
     this.btnOK.Click       += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancel.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.btnCancel.Location     = new System.Drawing.Point(353, 113);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(64, 24);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "Cancel";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.label2.Location  = new System.Drawing.Point(41, 53);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(395, 13);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Declare the address of the server listening for incoming connections from the cli" +
                             "ent";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(173)))), ((int)(((byte)(239)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(448, 15);
     this.panel1.TabIndex  = 27;
     //
     // bunifuSeparator3
     //
     this.bunifuSeparator3.BackColor     = System.Drawing.Color.Transparent;
     this.bunifuSeparator3.LineColor     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bunifuSeparator3.LineThickness = 1;
     this.bunifuSeparator3.Location      = new System.Drawing.Point(9, 44);
     this.bunifuSeparator3.Name          = "bunifuSeparator3";
     this.bunifuSeparator3.Size          = new System.Drawing.Size(424, 5);
     this.bunifuSeparator3.TabIndex      = 26;
     this.bunifuSeparator3.Transparency  = 255;
     this.bunifuSeparator3.Vertical      = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(9, 25);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(15, 16);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 25;
     this.pictureBox1.TabStop  = false;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(41, 28);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(86, 13);
     this.label3.TabIndex = 24;
     this.label3.Text     = "Network settings";
     //
     // bunifuDragControl1
     //
     this.bunifuDragControl1.Fixed         = true;
     this.bunifuDragControl1.Horizontal    = true;
     this.bunifuDragControl1.TargetControl = this;
     this.bunifuDragControl1.Vertical      = true;
     //
     // FormNetworkSettings
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(448, 149);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.bunifuSeparator3);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.txtIP);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "FormNetworkSettings";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Thiết lập mạng";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.FormNetworkSettings_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
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();
     Bunifu.Framework.UI.BunifuDragControl          bunifuDragControl1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Login));
     this.header2            = new System.Windows.Forms.Panel();
     this.headerpanle        = new System.Windows.Forms.Panel();
     this.bunifuImageButton2 = new Bunifu.Framework.UI.BunifuImageButton();
     this.bunifuElipse1      = new Bunifu.Framework.UI.BunifuElipse(this.components);
     this.panel2             = new System.Windows.Forms.Panel();
     this.msg                = new System.Windows.Forms.Label();
     this.pictureBox5        = new System.Windows.Forms.PictureBox();
     this.pictureBox4        = new System.Windows.Forms.PictureBox();
     this.pictureBox3        = new System.Windows.Forms.PictureBox();
     this.pictureBox2        = new System.Windows.Forms.PictureBox();
     this.label5             = new System.Windows.Forms.Label();
     this.label4             = new System.Windows.Forms.Label();
     this.loginbutton        = new Bunifu.Framework.UI.BunifuThinButton2();
     this.label3             = new System.Windows.Forms.Label();
     this.bunifuCheckbox1    = new Bunifu.Framework.UI.BunifuCheckbox();
     this.label2             = new System.Windows.Forms.Label();
     this.PasswordT          = new Bunifu.Framework.UI.BunifuMaterialTextbox();
     this.UsernameT          = new Bunifu.Framework.UI.BunifuMaterialTextbox();
     this.panel1             = new System.Windows.Forms.Panel();
     this.pictureBox1        = new System.Windows.Forms.PictureBox();
     this.bunifuDragControl2 = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     bunifuDragControl1      = new Bunifu.Framework.UI.BunifuDragControl(this.components);
     this.headerpanle.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bunifuImageButton2)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // bunifuDragControl1
     //
     bunifuDragControl1.Fixed         = true;
     bunifuDragControl1.Horizontal    = true;
     bunifuDragControl1.TargetControl = this.header2;
     bunifuDragControl1.Vertical      = true;
     //
     // header2
     //
     this.header2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.header2.Dock      = System.Windows.Forms.DockStyle.Top;
     this.header2.Location  = new System.Drawing.Point(0, 0);
     this.header2.Name      = "header2";
     this.header2.Size      = new System.Drawing.Size(400, 48);
     this.header2.TabIndex  = 8;
     //
     // headerpanle
     //
     this.headerpanle.BackColor = System.Drawing.Color.Transparent;
     this.headerpanle.Controls.Add(this.bunifuImageButton2);
     this.headerpanle.Dock     = System.Windows.Forms.DockStyle.Top;
     this.headerpanle.Location = new System.Drawing.Point(0, 0);
     this.headerpanle.Name     = "headerpanle";
     this.headerpanle.Size     = new System.Drawing.Size(447, 48);
     this.headerpanle.TabIndex = 4;
     //
     // bunifuImageButton2
     //
     this.bunifuImageButton2.BackColor   = System.Drawing.Color.Transparent;
     this.bunifuImageButton2.Cursor      = System.Windows.Forms.Cursors.Hand;
     this.bunifuImageButton2.Image       = global::Retweet_Done.Properties.Resources.Delete_32px1;
     this.bunifuImageButton2.ImageActive = null;
     this.bunifuImageButton2.Location    = new System.Drawing.Point(9, 5);
     this.bunifuImageButton2.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.bunifuImageButton2.Name        = "bunifuImageButton2";
     this.bunifuImageButton2.Size        = new System.Drawing.Size(35, 38);
     this.bunifuImageButton2.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.bunifuImageButton2.TabIndex    = 2;
     this.bunifuImageButton2.TabStop     = false;
     this.bunifuImageButton2.Zoom        = 20;
     this.bunifuImageButton2.Click      += new System.EventHandler(this.BunifuImageButton2_Click);
     //
     // bunifuElipse1
     //
     this.bunifuElipse1.ElipseRadius  = 5;
     this.bunifuElipse1.TargetControl = this;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.msg);
     this.panel2.Controls.Add(this.pictureBox5);
     this.panel2.Controls.Add(this.pictureBox4);
     this.panel2.Controls.Add(this.pictureBox3);
     this.panel2.Controls.Add(this.pictureBox2);
     this.panel2.Controls.Add(this.label5);
     this.panel2.Controls.Add(this.header2);
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.loginbutton);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.bunifuCheckbox1);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.PasswordT);
     this.panel2.Controls.Add(this.UsernameT);
     this.panel2.Location = new System.Drawing.Point(-10, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(400, 438);
     this.panel2.TabIndex = 1;
     //
     // msg
     //
     this.msg.Anchor      = System.Windows.Forms.AnchorStyles.Right;
     this.msg.Font        = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.msg.ForeColor   = System.Drawing.Color.Crimson;
     this.msg.Location    = new System.Drawing.Point(29, 128);
     this.msg.Name        = "msg";
     this.msg.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.msg.Size        = new System.Drawing.Size(304, 40);
     this.msg.TabIndex    = 14;
     this.msg.Text        = "اذا كنت لا تملك حساب يمكنك انشاء واحد خلال دقيقية";
     this.msg.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     this.msg.Visible     = false;
     //
     // pictureBox5
     //
     this.pictureBox5.BackgroundImage       = global::Retweet_Done.Properties.Resources.Login_Rounded_96px;
     this.pictureBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox5.Location = new System.Drawing.Point(342, 65);
     this.pictureBox5.Name     = "pictureBox5";
     this.pictureBox5.Size     = new System.Drawing.Size(45, 64);
     this.pictureBox5.TabIndex = 13;
     this.pictureBox5.TabStop  = false;
     //
     // pictureBox4
     //
     this.pictureBox4.BackgroundImage       = global::Retweet_Done.Properties.Resources.Password_32px;
     this.pictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox4.Location = new System.Drawing.Point(29, 251);
     this.pictureBox4.Name     = "pictureBox4";
     this.pictureBox4.Size     = new System.Drawing.Size(33, 48);
     this.pictureBox4.TabIndex = 12;
     this.pictureBox4.TabStop  = false;
     //
     // pictureBox3
     //
     this.pictureBox3.BackgroundImage       = global::Retweet_Done.Properties.Resources.Circled_User_Male_32px;
     this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox3.Location = new System.Drawing.Point(29, 173);
     this.pictureBox3.Name     = "pictureBox3";
     this.pictureBox3.Size     = new System.Drawing.Size(33, 48);
     this.pictureBox3.TabIndex = 11;
     this.pictureBox3.TabStop  = false;
     //
     // pictureBox2
     //
     this.pictureBox2.BackgroundImage       = global::Retweet_Done.Properties.Resources.User_32px;
     this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox2.Location = new System.Drawing.Point(324, 346);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(30, 27);
     this.pictureBox2.TabIndex = 10;
     this.pictureBox2.TabStop  = false;
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Font      = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label5.Location  = new System.Drawing.Point(143, 65);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(196, 35);
     this.label5.TabIndex  = 9;
     this.label5.Text      = "تسجيل الدخول";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.label4.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label4.Location  = new System.Drawing.Point(196, 352);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(122, 14);
     this.label4.TabIndex  = 7;
     this.label4.Text      = "تسجيل حساب جديد";
     this.label4.Click    += new System.EventHandler(this.label4_Click);
     //
     // loginbutton
     //
     this.loginbutton.ActiveBorderThickness = 1;
     this.loginbutton.ActiveCornerRadius    = 20;
     this.loginbutton.ActiveFillColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.loginbutton.ActiveForecolor       = System.Drawing.Color.White;
     this.loginbutton.ActiveLineColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.loginbutton.BackColor             = System.Drawing.Color.White;
     this.loginbutton.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("loginbutton.BackgroundImage")));
     this.loginbutton.ButtonText            = "تسجيل الدخول";
     this.loginbutton.Cursor              = System.Windows.Forms.Cursors.Hand;
     this.loginbutton.Font                = new System.Drawing.Font("GE SS Two Light", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.loginbutton.ForeColor           = System.Drawing.Color.SeaGreen;
     this.loginbutton.IdleBorderThickness = 1;
     this.loginbutton.IdleCornerRadius    = 50;
     this.loginbutton.IdleFillColor       = System.Drawing.Color.White;
     this.loginbutton.IdleForecolor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.loginbutton.IdleLineColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.loginbutton.Location            = new System.Drawing.Point(127, 375);
     this.loginbutton.Margin              = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.loginbutton.Name                = "loginbutton";
     this.loginbutton.Size                = new System.Drawing.Size(130, 56);
     this.loginbutton.TabIndex            = 2;
     this.loginbutton.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.loginbutton.Click              += new System.EventHandler(this.Loginbutton_Click);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label3.Location  = new System.Drawing.Point(269, 324);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(49, 14);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "تذكرني";
     //
     // bunifuCheckbox1
     //
     this.bunifuCheckbox1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.bunifuCheckbox1.ChechedOffColor = System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(135)))), ((int)(((byte)(140)))));
     this.bunifuCheckbox1.Checked         = true;
     this.bunifuCheckbox1.CheckedOnColor  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.bunifuCheckbox1.ForeColor       = System.Drawing.Color.White;
     this.bunifuCheckbox1.Location        = new System.Drawing.Point(328, 320);
     this.bunifuCheckbox1.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.bunifuCheckbox1.Name            = "bunifuCheckbox1";
     this.bunifuCheckbox1.Size            = new System.Drawing.Size(20, 20);
     this.bunifuCheckbox1.TabIndex        = 4;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label2.Location  = new System.Drawing.Point(56, 106);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(280, 13);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "اذا كنت لا تملك حساب يمكنك انشاء واحد خلال دقيقية";
     //
     // PasswordT
     //
     this.PasswordT.Cursor              = System.Windows.Forms.Cursors.IBeam;
     this.PasswordT.Font                = new System.Drawing.Font("Century Gothic", 9.75F);
     this.PasswordT.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.PasswordT.HintForeColor       = System.Drawing.Color.Empty;
     this.PasswordT.HintText            = "";
     this.PasswordT.isPassword          = true;
     this.PasswordT.LineFocusedColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.PasswordT.LineIdleColor       = System.Drawing.Color.Gray;
     this.PasswordT.LineMouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.PasswordT.LineThickness       = 3;
     this.PasswordT.Location            = new System.Drawing.Point(69, 266);
     this.PasswordT.Margin              = new System.Windows.Forms.Padding(4);
     this.PasswordT.Name                = "PasswordT";
     this.PasswordT.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.PasswordT.Size                = new System.Drawing.Size(280, 33);
     this.PasswordT.TabIndex            = 1;
     this.PasswordT.Tag       = "";
     this.PasswordT.Text      = "Password";
     this.PasswordT.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // UsernameT
     //
     this.UsernameT.Cursor              = System.Windows.Forms.Cursors.IBeam;
     this.UsernameT.Font                = new System.Drawing.Font("Century Gothic", 9.75F);
     this.UsernameT.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.UsernameT.HintForeColor       = System.Drawing.Color.Empty;
     this.UsernameT.HintText            = "";
     this.UsernameT.isPassword          = false;
     this.UsernameT.LineFocusedColor    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.UsernameT.LineIdleColor       = System.Drawing.Color.Gray;
     this.UsernameT.LineMouseHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(46)))), ((int)(((byte)(72)))));
     this.UsernameT.LineThickness       = 3;
     this.UsernameT.Location            = new System.Drawing.Point(69, 188);
     this.UsernameT.Margin              = new System.Windows.Forms.Padding(4);
     this.UsernameT.Name                = "UsernameT";
     this.UsernameT.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.UsernameT.Size                = new System.Drawing.Size(280, 33);
     this.UsernameT.TabIndex            = 0;
     this.UsernameT.Text                = "UserName";
     this.UsernameT.TextAlign           = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // panel1
     //
     this.panel1.BackgroundImage       = global::Retweet_Done.Properties.Resources.tw;
     this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.panel1.Controls.Add(this.headerpanle);
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(390, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(447, 438);
     this.panel1.TabIndex = 0;
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image     = global::Retweet_Done.Properties.Resources.logo__1_1;
     this.pictureBox1.Location  = new System.Drawing.Point(106, 311);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(227, 132);
     this.pictureBox1.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox1.TabIndex  = 3;
     this.pictureBox1.TabStop   = false;
     //
     // bunifuDragControl2
     //
     this.bunifuDragControl2.Fixed         = true;
     this.bunifuDragControl2.Horizontal    = true;
     this.bunifuDragControl2.TargetControl = this.headerpanle;
     this.bunifuDragControl2.Vertical      = true;
     //
     // Login
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(837, 438);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Font              = new System.Drawing.Font("GE SS Two Light", 8.999999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.FormBorderStyle   = System.Windows.Forms.FormBorderStyle.None;
     this.Icon              = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin            = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name              = "Login";
     this.RightToLeft       = System.Windows.Forms.RightToLeft.Yes;
     this.RightToLeftLayout = true;
     this.StartPosition     = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text              = "Login";
     this.Load             += new System.EventHandler(this.Login_Load);
     this.headerpanle.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.bunifuImageButton2)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #8
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Bunifu.Framework.UI.BunifuDragControl e1 = new Bunifu.Framework.UI.BunifuDragControl();
     e1.TargetControl = this;
 }