public MusicPanel this[int i] { get { if (i >= panels.Count) i = panels.Count - 1; if (i < 0) i = 0; return panels[i]; } } public PanelManager()