private void AddSettlement_Click(object sender, EventArgs e) { var town = new Town(InputTown.Text, ListDistrict.SelectedItem.ToString(), Choice_Type.Text); town.Add(sqlConnection); ListTown.DataSource = Town.LoadListState(ListDistrict.SelectedItem.ToString(), Choice_Type.Text, sqlConnection); InputTown.Text = ""; }