P
pihentagy
Hi all!
Is it possible to have a bindingsource in a partial class?
Well it is possible, but I have the following issues:
- this.components is defined in the .designer.cs file. If I call my
own initialization method before the GUI's one, I will not have
this.components. If I call it after, it's too late, because I'd like
to bind it to a GUI component
- my IDE (#develop) doesn't display my own partial class as part of
the Form. What should I do to make it understood that my class belongs
to that?
ps: the reason for requiring it to be in a partial is to generate that
piece of code.
Thanks
Gergo
Is it possible to have a bindingsource in a partial class?
Well it is possible, but I have the following issues:
- this.components is defined in the .designer.cs file. If I call my
own initialization method before the GUI's one, I will not have
this.components. If I call it after, it's too late, because I'd like
to bind it to a GUI component
- my IDE (#develop) doesn't display my own partial class as part of
the Form. What should I do to make it understood that my class belongs
to that?
ps: the reason for requiring it to be in a partial is to generate that
piece of code.
Thanks
Gergo