HappypsychoX
HappypsychoX
CC#
Created by HappypsychoX on 11/29/2023 in #help
Help with program structure.
Great. Thanks for the help. I think I have a good direction to focus my research.
15 replies
CC#
Created by HappypsychoX on 11/29/2023 in #help
Help with program structure.
Then at runtime if user chooses Form 1a for example, I can add the needed controls and bind each one to an instance of the generic class. Do I just add these instances to a collection? Can you bind to items in a collection? Still fairly new to wpf and have been using CalibirnMicro to help with bindings.
15 replies
CC#
Created by HappypsychoX on 11/29/2023 in #help
Help with program structure.
something like this?
15 replies
CC#
Created by HappypsychoX on 11/29/2023 in #help
Help with program structure.
A class that can be used to represent each field
class GenericField { public object Value { get; set; } GenericField(object value) { Value = value; } }
15 replies
CC#
Created by HappypsychoX on 11/29/2023 in #help
Help with program structure.
Ok, and instead of using xaml I just add the controls through code at runtime?
15 replies
CC#
Created by HappypsychoX on 11/29/2023 in #help
Help with program structure.
create an abstraction for the fields
By this do you mean a create a class that holds the value of all possible fields?
15 replies