Ejemplo n.º 1
0
 // Event handler for when double clicking on item in listbox
 // Shows message box with information about the selected object
 private void listBoxViewEstates_DoubleClick(object sender, EventArgs e)
 {
     selectedEstate = estateManager.GetAt(listBoxViewEstates.SelectedIndex);
     MessageBox.Show(selectedEstate.ToString());
 }