public void LoadHarps() { SQLDataClass sq = new SQLDataClass(DatabaseFile); List <Harp> lst = sq.GetAll(); hc.AddHarps(lst); hc.SelectHarp(lst[0]); }
private void LoadDatas(string fileName) { sq = new SQLDataClass(fileName); List <Harp> lst = sq.GetAll(); dgvDATA.DataSource = lst; SetAirSlots(lst[0]); FormInstances.Instance().hc.AddHarps(lst); HarpInstrumentFactory.HarpDatabaeObject2HarpInstrument(lst[0]); }