Click here to Skip to main content
15,922,139 members
Home / Discussions / C#
   

C#

 
QuestionListbox items to array Pin
neer120-Jun-07 3:16
neer120-Jun-07 3:16 
AnswerRe: Listbox items to array Pin
Chintan.Desai20-Jun-07 3:37
Chintan.Desai20-Jun-07 3:37 
GeneralRe: Listbox items to array Pin
Stu Richardson20-Jun-07 3:40
Stu Richardson20-Jun-07 3:40 
AnswerRe: change de currentrow of datagridview Pin
Chintan.Desai20-Jun-07 3:45
Chintan.Desai20-Jun-07 3:45 
QuestionExporting Data to Multiple Excel Sheets in C# Windows Application Pin
meeram39520-Jun-07 2:10
meeram39520-Jun-07 2:10 
AnswerRe: Exporting Data to Multiple Excel Sheets in C# Windows Application Pin
Sandeep Akhare20-Jun-07 3:09
Sandeep Akhare20-Jun-07 3:09 
Questionhow can i make a full row select in a datagrid Pin
-spy-20-Jun-07 1:52
-spy-20-Jun-07 1:52 
AnswerRe: how can i make a full row select in a datagrid Pin
Not Active20-Jun-07 2:24
mentorNot Active20-Jun-07 2:24 
AnswerRe: how can i make a full row select in a datagrid Pin
Stu Richardson20-Jun-07 3:35
Stu Richardson20-Jun-07 3:35 
QuestionProgramming processes in C# - concurrency [modified] Pin
Theghost20-Jun-07 1:22
Theghost20-Jun-07 1:22 
AnswerRe: Programming processes in C# - concurrency Pin
J4amieC20-Jun-07 3:01
J4amieC20-Jun-07 3:01 
QuestionKey Press event of textbox Pin
Sapan Roy20-Jun-07 1:10
Sapan Roy20-Jun-07 1:10 
AnswerRe: Key Press event of textbox Pin
Martin#20-Jun-07 1:16
Martin#20-Jun-07 1:16 
QuestionString Concatenation Issue Pin
Brendan Vogt20-Jun-07 0:44
Brendan Vogt20-Jun-07 0:44 
AnswerRe: String Concatenation Issue Pin
Martin#20-Jun-07 0:51
Martin#20-Jun-07 0:51 
AnswerRe: String Concatenation Issue Pin
Sandeep Akhare20-Jun-07 0:59
Sandeep Akhare20-Jun-07 0:59 
Questionfile server Pin
sureshprabhu20-Jun-07 0:33
sureshprabhu20-Jun-07 0:33 
QuestionSerializing the same object instance twice... Pin
Shy Agam20-Jun-07 0:10
Shy Agam20-Jun-07 0:10 
Hello,

I have a collection of ITask (an interface I've created) objects.
References to these objets are duplicated.
They are kept in a second collection.
This second collection is a collection of categories.
Each category can contain child categories.
Each task can appear only in one category.
This means that every single ITask object in the ITask collection is somewhere inside the categories.
I'm using this implementation to allow the user to filter the ITask objects by categories, and by other means which are not relevant.

OK... Now I want the tasks to be "restored" when the program next runs, so I serialize and deserialize them... So far so good...
I want to serialize the collection of categories the user have created, and restore them too... I can serialize the categories collection as well, but what will happen to the ITask objects when I deserialize the categories?
Will they point to the same objects deserialized to the ITask collection?

Hope this is clear enough... Smile | :)

If you have any other ideas regarding how to better store the collections, I'd be more than happy to hear them. Smile | :)

Thanks in advance,
Shy.
AnswerRe: Serializing the same object instance twice... [modified] Pin
Martin#20-Jun-07 0:20
Martin#20-Jun-07 0:20 
AnswerRe: Serializing the same object instance twice... Pin
welbers20-Jun-07 0:29
welbers20-Jun-07 0:29 
AnswerRe: Serializing the same object instance twice... Pin
Shy Agam20-Jun-07 0:38
Shy Agam20-Jun-07 0:38 
Questionflicker free fast moving images Pin
wolf70719-Jun-07 23:53
wolf70719-Jun-07 23:53 
AnswerRe: flicker free fast moving images Pin
Martin#20-Jun-07 0:03
Martin#20-Jun-07 0:03 
QuestionCustomizing the grid columns Pin
minkinin19-Jun-07 23:23
minkinin19-Jun-07 23:23 
QuestionUse of trignometric func.??-----------help urgent Pin
Raza568019-Jun-07 23:17
Raza568019-Jun-07 23:17 

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.