private void ShowPeople_Click(object sender, EventArgs e) { this.ContentExists.Text = string.Empty; List <PersonDTO> people = service.GetItemPersons(this.itemPath).ToList(); if (people.Count > 0) { this.dataGridView1.DataSource = people; } else { this.dataGridView1.DataSource = new List <PersonDTO>(); this.ContentExists.Text = "No Content"; } }