AnimatGuiCtrls.Controls.OutlookBar.AddBand C# (CSharp) Method

AddBand() public method

public AddBand ( string caption, ContentPanel content ) : void
caption string
content ContentPanel
return void
        public void AddBand(string caption, ContentPanel content)
        {
            content.outlookBar=this;
                int index=Controls.Count;
                BandTagInfo bti=new BandTagInfo(this, index);
                BandPanel bandPanel=new BandPanel(caption, content, bti);
                Controls.Add(bandPanel);
                UpdateBarInfo();
                RecalcLayout(bandPanel, index);
        }