/// <summary> /// Initializes a new instance of the <see cref="NuGenMiniBar"/> class. /// </summary> public NuGenMiniBar() { this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.UserPaint, true); _coll = new NuGenMiniBarControlCollection(this); _fmt = new StringFormat(); _fmt.LineAlignment = StringAlignment.Center; }
/// <summary> /// Initializes a new instance of the <see cref="NuGenMiniBar"/> class. /// </summary> public NuGenMiniBar() { this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer | ControlStyles.UserPaint, true); _coll = new NuGenMiniBarControlCollection(this); _fmt = new StringFormat(); _fmt.LineAlignment = StringAlignment.Center; }