[chore:] listbox item type is no string anymore (hopefully I tested everything?)
This commit is contained in:
@@ -60,6 +60,11 @@ public class KasAddressList //Address-Set
|
||||
var id = listItemName.Split(" - ")[0];
|
||||
return int.Parse(id);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name + " (" + KasPersons.Count + " Einträge)";
|
||||
}
|
||||
}
|
||||
|
||||
public class KasPerson
|
||||
@@ -188,6 +193,18 @@ public class KasPerson
|
||||
|
||||
return highest + base_id + 1;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (refsid != null && refsid != 0)
|
||||
{
|
||||
return refsid + " - " + name;
|
||||
}
|
||||
else
|
||||
{
|
||||
return id + " - " + name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class KasPersonError
|
||||
|
||||
Reference in New Issue
Block a user