protected override void OnHandleCreated(EventArgs e)
{
base.OnHandleCreated(e);
this.ReleaseBands();
this.BeginUpdate();
for (int i = 0; i < this.commandBars.Count; i++)
{
NativeMethods.REBARBANDINFO bandInfo = this.CreateBandInfo(i);
NativeMethods.SendMessage(this.Handle, NativeMethods.RB_INSERTBAND, i, ref bandInfo);
}
this.UpdateSize();
this.EndUpdate();
this.CaptureBands();
}