/// <summary> /// Initializates a new instance of the <code>Rebar</code> class with default settings /// </summary> public Rebar() : base() { SetStyle(ControlStyles.UserPaint | ControlStyles.FixedWidth, false); SetStyle(ControlStyles.FixedHeight, AutoSize); Dock = DockStyle.Top; TabStop = false; _Bands = new RebarBandCollection(this); }
public ReBar() { SetStyle(ControlStyles.UserPaint, false); TabStop = false; Dock = DockStyle.Top; bands = new RebarBandCollection(this); bands.Changed += new EventHandler(Bands_Changed); addPlaceHolderToolBar = true; }
public Rebar() : base() { this.SetStyle(ControlStyles.UserPaint, false); this.bandsCollection = new RebarBandCollection(this); }