private void label5_Click(object sender, EventArgs e) { if (this.Property.PropertyList != null) { PropertyListView plv = new PropertyListView(this.Property.PropertyList); plv.ShowDialog(); } }
private void dataGridPropertyLists_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex != -1) { PropertyListView plv = new PropertyListView(this.CadastralArea.FindPropertyList(dataGridPropertyLists.Rows[e.RowIndex].Cells[0].Value.ToString())); plv.ShowDialog(); } }