Ejemplo n.º 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.pbImage = new System.Windows.Forms.PictureBox();
     this.lblLink = new Controls.SmoothLabel();
     ((System.ComponentModel.ISupportInitialize)(this.pbImage)).BeginInit();
     this.SuspendLayout();
     //
     // pbImage
     //
     this.pbImage.Dock         = System.Windows.Forms.DockStyle.Left;
     this.pbImage.Location     = new System.Drawing.Point(0, 0);
     this.pbImage.Name         = "pbImage";
     this.pbImage.Size         = new System.Drawing.Size(24, 16);
     this.pbImage.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pbImage.TabIndex     = 0;
     this.pbImage.TabStop      = false;
     this.pbImage.Visible      = false;
     this.pbImage.DoubleClick += new System.EventHandler(this.pClick);
     this.pbImage.MouseLeave  += new System.EventHandler(this.pMouseLeave);
     this.pbImage.Click       += new System.EventHandler(this.pClick);
     this.pbImage.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.p_MouseDown);
     this.pbImage.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.p_MouseUp);
     this.pbImage.MouseEnter  += new System.EventHandler(this.pMouseEnter);
     //
     // lblLink
     //
     this.lblLink.AntiAliasText  = true;
     this.lblLink.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.lblLink.Location       = new System.Drawing.Point(24, 0);
     this.lblLink.Name           = "lblLink";
     this.lblLink.Size           = new System.Drawing.Size(126, 16);
     this.lblLink.StringTrimming = System.Drawing.StringTrimming.EllipsisWord;
     this.lblLink.Strong         = false;
     this.lblLink.TabIndex       = 1;
     this.lblLink.TextAlign      = System.Drawing.ContentAlignment.MiddleLeft;
     this.lblLink.DoubleClick   += new System.EventHandler(this.pClick);
     this.lblLink.MouseLeave    += new System.EventHandler(this.pMouseLeave);
     this.lblLink.Click         += new System.EventHandler(this.pClick);
     this.lblLink.MouseDown     += new System.Windows.Forms.MouseEventHandler(this.p_MouseDown);
     this.lblLink.MouseEnter    += new System.EventHandler(this.pMouseEnter);
     this.lblLink.MouseUp       += new System.Windows.Forms.MouseEventHandler(this.p_MouseUp);
     //
     // LinkButton
     //
     this.Controls.Add(this.lblLink);
     this.Controls.Add(this.pbImage);
     this.Name            = "LinkButton";
     this.Size            = new System.Drawing.Size(150, 16);
     this.EnabledChanged += new System.EventHandler(this.LinkButton_EnabledChanged);
     ((System.ComponentModel.ISupportInitialize)(this.pbImage)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pbImage = new System.Windows.Forms.PictureBox();
     this.lblLink = new Controls.SmoothLabel();
     ((System.ComponentModel.ISupportInitialize)(this.pbImage)).BeginInit();
     this.SuspendLayout();
     //
     // pbImage
     //
     this.pbImage.Dock = System.Windows.Forms.DockStyle.Left;
     this.pbImage.Location = new System.Drawing.Point(0, 0);
     this.pbImage.Name = "pbImage";
     this.pbImage.Size = new System.Drawing.Size(24, 16);
     this.pbImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pbImage.TabIndex = 0;
     this.pbImage.TabStop = false;
     this.pbImage.Visible = false;
     this.pbImage.DoubleClick += new System.EventHandler(this.pClick);
     this.pbImage.MouseLeave += new System.EventHandler(this.pMouseLeave);
     this.pbImage.Click += new System.EventHandler(this.pClick);
     this.pbImage.MouseDown += new System.Windows.Forms.MouseEventHandler(this.p_MouseDown);
     this.pbImage.MouseUp += new System.Windows.Forms.MouseEventHandler(this.p_MouseUp);
     this.pbImage.MouseEnter += new System.EventHandler(this.pMouseEnter);
     //
     // lblLink
     //
     this.lblLink.AntiAliasText = true;
     this.lblLink.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lblLink.Location = new System.Drawing.Point(24, 0);
     this.lblLink.Name = "lblLink";
     this.lblLink.Size = new System.Drawing.Size(126, 16);
     this.lblLink.StringTrimming = System.Drawing.StringTrimming.EllipsisWord;
     this.lblLink.Strong = false;
     this.lblLink.TabIndex = 1;
     this.lblLink.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.lblLink.DoubleClick += new System.EventHandler(this.pClick);
     this.lblLink.MouseLeave += new System.EventHandler(this.pMouseLeave);
     this.lblLink.Click += new System.EventHandler(this.pClick);
     this.lblLink.MouseDown += new System.Windows.Forms.MouseEventHandler(this.p_MouseDown);
     this.lblLink.MouseEnter += new System.EventHandler(this.pMouseEnter);
     this.lblLink.MouseUp += new System.Windows.Forms.MouseEventHandler(this.p_MouseUp);
     //
     // LinkButton
     //
     this.Controls.Add(this.lblLink);
     this.Controls.Add(this.pbImage);
     this.Name = "LinkButton";
     this.Size = new System.Drawing.Size(150, 16);
     this.EnabledChanged += new System.EventHandler(this.LinkButton_EnabledChanged);
     ((System.ComponentModel.ISupportInitialize)(this.pbImage)).EndInit();
     this.ResumeLayout(false);
 }