Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to suspend drawing operation of a form ? Pin
DimaC6-May-05 3:03
DimaC6-May-05 3:03 
AnswerRe: How to suspend drawing operation of a form ? Pin
benjymous6-May-05 3:20
benjymous6-May-05 3:20 
GeneralRe: How to suspend drawing operation of a form ? Pin
DimaC6-May-05 3:31
DimaC6-May-05 3:31 
GeneralRe: How to suspend drawing operation of a form ? Pin
benjymous6-May-05 3:34
benjymous6-May-05 3:34 
GeneralRe: How to suspend drawing operation of a form ? Pin
DimaC6-May-05 3:39
DimaC6-May-05 3:39 
GeneralBinary serialization questions Pin
WujekSamoZlo5-May-05 11:09
WujekSamoZlo5-May-05 11:09 
GeneralRe: Binary serialization questions Pin
keith maddox6-May-05 2:46
keith maddox6-May-05 2:46 
GeneralRe: Binary serialization questions Pin
Mathew Hall7-May-05 21:30
Mathew Hall7-May-05 21:30 
#1 Just put the serializable attribute atop your class

That won't work if the class he's extending is not serializable. From the MSDN[^]: "It is important to note that the Serializable attribute cannot be inherited. If you derive a new class from MyObject, the new class must be marked with the attribute as well, or it cannot be serialized. For example, when you attempt to serialize an instance of the class below, you will get a SerializationException informing you that the MyStuff type is not marked as serializable".

The only way around it is to use ISerializable

"I think I speak on behalf of everyone here when I say huh?" - Buffy
Generalloading and display images(Bitmaps) Pin
malahat5-May-05 10:57
malahat5-May-05 10:57 
GeneralRe: loading and display images(Bitmaps) Pin
MoustafaS5-May-05 13:56
MoustafaS5-May-05 13:56 
GeneralPropertyGrid question Pin
bouli5-May-05 10:45
bouli5-May-05 10:45 
Generalconnecting to the net in a dialog window. Pin
Green Fuze5-May-05 8:44
Green Fuze5-May-05 8:44 
GeneralRe: connecting to the net in a dialog window. Pin
Dave Kreskowiak5-May-05 9:17
mveDave Kreskowiak5-May-05 9:17 
GeneralRe: connecting to the net in a dialog window. Pin
Green Fuze5-May-05 9:55
Green Fuze5-May-05 9:55 
GeneralRe: connecting to the net in a dialog window. Pin
Dave Kreskowiak5-May-05 17:38
mveDave Kreskowiak5-May-05 17:38 
GeneralRe: connecting to the net in a dialog window. Pin
Green Fuze5-May-05 22:44
Green Fuze5-May-05 22:44 
GeneralRe: connecting to the net in a dialog window. Pin
Green Fuze6-May-05 0:05
Green Fuze6-May-05 0:05 
Questionprevent delete folder ?? Pin
Anonymous5-May-05 8:19
Anonymous5-May-05 8:19 
AnswerRe: prevent delete folder ?? Pin
Dave Kreskowiak5-May-05 9:15
mveDave Kreskowiak5-May-05 9:15 
GeneralLoading images into an SQL database and then retrieving them Pin
DafyddG5-May-05 7:44
DafyddG5-May-05 7:44 
Generalmultiple same taskbarnotifier in C# Pin
dwark1065-May-05 5:45
dwark1065-May-05 5:45 
GeneralConnecting to a running instance of an embedded webBrowser control Pin
rwelte5-May-05 5:14
rwelte5-May-05 5:14 
GeneralShowing legacy data in data grid Pin
dirk helmet5-May-05 5:07
sussdirk helmet5-May-05 5:07 
GeneralRe: Showing legacy data in data grid Pin
Anonymous5-May-05 5:16
Anonymous5-May-05 5:16 
GeneralRe: Showing legacy data in data grid Pin
dirk helmet5-May-05 5:41
sussdirk helmet5-May-05 5:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.