Click here to Skip to main content
15,881,172 members
Home / Discussions / C#
   

C#

 
GeneralRe: Docking Panel under another Panel Pin
DSdragondude30-Jan-08 6:55
DSdragondude30-Jan-08 6:55 
GeneralRe: Docking Panel under another Panel Pin
TJoe30-Jan-08 6:58
TJoe30-Jan-08 6:58 
GeneralRe: Docking Panel under another Panel Pin
DSdragondude30-Jan-08 6:59
DSdragondude30-Jan-08 6:59 
GeneralDeserialization problems Pin
Bekjong30-Jan-08 3:25
Bekjong30-Jan-08 3:25 
GeneralRe: Deserialization problems Pin
Skippums30-Jan-08 5:08
Skippums30-Jan-08 5:08 
GeneralRe: Deserialization problems Pin
Bekjong30-Jan-08 23:49
Bekjong30-Jan-08 23:49 
GeneralRe: Deserialization problems Pin
Not Active30-Jan-08 5:52
mentorNot Active30-Jan-08 5:52 
AnswerRe: Deserialization problems Pin
TJoe30-Jan-08 6:53
TJoe30-Jan-08 6:53 
I think you need to add a special constructor for deserialization like so:

/// <summary>
/// Initializes a new instance of the <see cref="T:IndexedBaseDataCollection"/> class.
/// </summary>
/// <param name="info">The info.</param>
/// <param name="context">The context.</param>
protected IndexedBaseDataCollection(SerializationInfo info, StreamingContext context) {
    // Get data from info parameter
}


The Dictionary<TKey,TValue> (in .Net 3.x anyway) implements ISerializable. Which (I'm 99% sure) means you need the above constructor for deserialization.

Take care,
Tom

-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com

GeneralXP Style Pin
topcatalpha30-Jan-08 3:04
topcatalpha30-Jan-08 3:04 
GeneralRe: XP Style Pin
topcatalpha30-Jan-08 4:23
topcatalpha30-Jan-08 4:23 
QuestionConstructing an wizard aplication... Pin
pcaeiro30-Jan-08 2:55
pcaeiro30-Jan-08 2:55 
GeneralRe: Constructing an wizard aplication... Pin
Bekjong30-Jan-08 3:35
Bekjong30-Jan-08 3:35 
GeneralRe: Constructing an wizard aplication... Pin
pcaeiro30-Jan-08 16:49
pcaeiro30-Jan-08 16:49 
GeneralRe: Constructing an wizard aplication... Pin
Bekjong30-Jan-08 23:50
Bekjong30-Jan-08 23:50 
GeneralExcel Cell character limitation Pin
michael_jhons30-Jan-08 2:29
michael_jhons30-Jan-08 2:29 
GeneralRe: Excel Cell character limitation Pin
eggsovereasy30-Jan-08 3:36
eggsovereasy30-Jan-08 3:36 
GeneralRe: Excel Cell character limitation Pin
michael_jhons30-Jan-08 3:46
michael_jhons30-Jan-08 3:46 
GeneralRe: Excel Cell character limitation Pin
eggsovereasy30-Jan-08 9:14
eggsovereasy30-Jan-08 9:14 
GeneralListViewItem.SubItems Problem Pin
half-life30-Jan-08 0:03
half-life30-Jan-08 0:03 
GeneralRe: ListViewItem.SubItems Problem Pin
Gareth H30-Jan-08 0:10
Gareth H30-Jan-08 0:10 
GeneralRe: ListViewItem.SubItems Problem Pin
half-life30-Jan-08 0:54
half-life30-Jan-08 0:54 
GeneralRe: ListViewItem.SubItems Problem Pin
J$30-Jan-08 5:48
J$30-Jan-08 5:48 
GeneralRe: ListViewItem.SubItems Problem Pin
half-life30-Jan-08 8:19
half-life30-Jan-08 8:19 
GeneralRe: ListViewItem.SubItems Problem Pin
J$30-Jan-08 8:24
J$30-Jan-08 8:24 
GeneralRe: ListViewItem.SubItems Problem Pin
half-life30-Jan-08 8:34
half-life30-Jan-08 8:34 

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.