M
moongirl
I have an object called Company, and this contains 3 public properties
which are all of type BindingList<Issue> where Issue is another class
of mine. Each issue needs to have a unique reference number which
should be automatically incremented when a new issue is added to a
binding list. The list of numbers should be global, i.e. if an issue
is added to one binding list after 3 have already been added in
another, its reference number should be 4.
Firstly I am not sure about the best way to implement this. I have
thought about adding a property to the Company object called
numberOfIssues which would be equal to the total count of the 3
binding lists. I would then need to be able to reference this property
when a new Issue is created in any of the binding lists.
Can anyone help me with this?
which are all of type BindingList<Issue> where Issue is another class
of mine. Each issue needs to have a unique reference number which
should be automatically incremented when a new issue is added to a
binding list. The list of numbers should be global, i.e. if an issue
is added to one binding list after 3 have already been added in
another, its reference number should be 4.
Firstly I am not sure about the best way to implement this. I have
thought about adding a property to the Company object called
numberOfIssues which would be equal to the total count of the 3
binding lists. I would then need to be able to reference this property
when a new Issue is created in any of the binding lists.
Can anyone help me with this?