private void RefreshAll() { Dots.Clear(); Dots.AddRange(Klass.Kls_to_List(gls)); Klass.RefreshAll(gls); if (chart_auto.Checked) { Fill_chart(); } RefreshScreen(); dots_list.DataSource = null; dots_list.Items.Clear(); dots_list.DataSource = Dots; classes.DataSource = null; classes.Items.Clear(); classes.DataSource = gls; }