public KChart(SaveFile sav) { InitializeComponent(); Icon = Properties.Resources.Icon; WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage); SAV = sav; Array.Resize(ref species, SAV.Personal.TableLength); var AltForms = SAV.Personal.GetFormList(species, SAV.MaxSpeciesID); species = SAV.Personal.GetPersonalEntryList(AltForms, species, SAV.MaxSpeciesID, out baseForm, out formVal); DGV.Rows.Clear(); for (int i = 1; i < species.Length; i++) { PopEntry(i); } DGV.DoubleBuffered(true); DGV.Sort(DGV.Columns[0], ListSortDirection.Ascending); }