Exemplo n.º 1
0
 public Label()
 {
     base.SetState2(0x800, true);
     base.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor | ControlStyles.UserPaint, this.IsOwnerDraw());
     base.SetStyle(ControlStyles.Selectable | ControlStyles.FixedHeight, false);
     base.SetStyle(ControlStyles.ResizeRedraw, true);
     CommonProperties.SetSelfAutoSizeInDefaultLayout(this, true);
     this.labelState[StateFlatStyle]   = 2;
     this.labelState[StateUseMnemonic] = 1;
     this.labelState[StateBorderStyle] = 0;
     this.TabStop         = false;
     this.requestedHeight = base.Height;
     this.requestedWidth  = base.Width;
 }