Exception abgefangen,
straßen heißen standard "none" um datenleiche zu vermeiden
This commit is contained in:
@@ -10,7 +10,9 @@ namespace KlassenBIB
|
||||
[ContentProperty("Schadenskuerzeln")]
|
||||
public class Inspektionsobjekt
|
||||
{
|
||||
public string StrasseName { get; set; }
|
||||
private string strasseName = "none";
|
||||
|
||||
public string StrasseName { get => strasseName; set => strasseName = value; }
|
||||
public string OrtName { get; set; }
|
||||
public string Hausnummer { get; set; }
|
||||
public string Projektnummer { get; set; }
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace SanSystem
|
||||
|
||||
private void lst_strassen_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if ((sender as ListBox).SelectedItem == null) return;
|
||||
string selectedStreetName = (sender as ListBox).SelectedItem.ToString();
|
||||
if (selectedStreetName == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user