|
-
April 19th, 2011, 10:58 AM
#4
Re: Marking Assembly Classes as Serializable!
 Originally Posted by Umar214
Thanks Ajay! Do you mean we need to mark the Timer object as a NonSerialiazable attribute?
No. You won't be able to mark the Timer as non serializable because you didn't write this code (it's part of the framework). As such, you won't be able to change the code.
The point I'm making is that you shouldn't be trying to serialize UI framework code anyway. You should only serialize data, not ui code.
Change your design and code so that the data is kept separate from the UI code, then serialize the data.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|