protected override void OnResize(EventArgs eventargs) { base.OnResize(eventargs); cbxIndicatorSlot.Width = tsIndLayout.ClientSize.Width - tsbtnSelectAll.Width - tsbtnSelectNone.Width - tsbtnStatus.Width - 15; SetVerticalScrollBar(); }