private void ShowProperties_Click(object sender, EventArgs e) { this.ContentExists.Text = string.Empty; PropertyDTO[] properties = service.GetItemDynamicProperties(this.itemPath); if (properties.Length > 0) { this.dataGridView1.DataSource = properties; } else { this.dataGridView1.DataSource = new List <PropertyDTO>(); this.ContentExists.Text = "No Content"; } }