public void AddRange(ExplorerBarButtonCollection items) { foreach (ExplorerBarButton item in items) { Add(item); } }
public void AddRange(ExplorerBarButtonCollection items) { foreach (ExplorerBarButton item in items) { Add(item); } }
public ExplorerBar() { SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.ResizeRedraw, true); _dropDownButton = new ExplorerBarButton(); _dropDownButton.Owner = this; RenderMode = ExplorerBarRenderMode.Themed; _buttons = new ExplorerBarButtonCollection(this); }
public ExplorerBar() { SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.ResizeRedraw, true); _dropDownButton = new ExplorerBarButton(); _dropDownButton.Owner = this; RenderMode = ExplorerBarRenderMode.Themed; _buttons = new ExplorerBarButtonCollection(this); }