G
Guest
Hi again
I have a little problem with "serializable" a control ...
I am creating AppDomain, Assembly and Instance. All works fine.
My "base" class for the instance inherit from:
- System.MarshalByRefObject
- and also my Interface.
In my "base" class I refer to a Form.
I am able to access the form but not the controls. I get the exeption:
Type 'System.Windows.Forms.Form+ControlCollection' in assembly
'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' is not marked as serializable.
How do I mark this form and/or the controls on it as serializable ??
Thank you for any comment !
Best regards
Frank Uray
I have a little problem with "serializable" a control ...
I am creating AppDomain, Assembly and Instance. All works fine.
My "base" class for the instance inherit from:
- System.MarshalByRefObject
- and also my Interface.
In my "base" class I refer to a Form.
I am able to access the form but not the controls. I get the exeption:
Type 'System.Windows.Forms.Form+ControlCollection' in assembly
'System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' is not marked as serializable.
How do I mark this form and/or the controls on it as serializable ??
Thank you for any comment !
Best regards
Frank Uray