Click here to Skip to main content
15,920,632 members
Home / Discussions / C#
   

C#

 
Answer[Message Deleted] Pin
Catherine8827-Dec-07 3:18
Catherine8827-Dec-07 3:18 
GeneralRe: Urgent help needed for project Pin
Colin Angus Mackay27-Dec-07 3:48
Colin Angus Mackay27-Dec-07 3:48 
GeneralRe: Urgent help needed for project Pin
Not Active27-Dec-07 3:52
mentorNot Active27-Dec-07 3:52 
GeneralRe: Urgent help needed for project Pin
Paul Conrad27-Dec-07 6:26
professionalPaul Conrad27-Dec-07 6:26 
QuestionHow can I implement a Brush property for a control? Pin
ctoma200527-Dec-07 2:56
ctoma200527-Dec-07 2:56 
AnswerRe: How can I implement a Brush property for a control? Pin
TJoe27-Dec-07 5:09
TJoe27-Dec-07 5:09 
GeneralRe: How can I implement a Brush property for a control? Pin
ctoma200528-Dec-07 2:31
ctoma200528-Dec-07 2:31 
GeneralRe: How can I implement a Brush property for a control? Pin
TJoe28-Dec-07 3:41
TJoe28-Dec-07 3:41 
If you can email over the code to BrushConverter, then I can take a look.

Your last question brought up another option, which is to provide two properties (e.g. Brush and BrushString). The Brush property would not be serialized (e.g. there should be a ShouldSerializeBrush() method that always returns false). The BrushString property would be serialized, but would not be browsable. This way it will save the "string" (or byte[]) which would hold the serialized version of the Brush in the designer code.

In the "get" for BrushString, you would serialize the Brush into a string and return that. In the "set" for BrushString, you would deserialize the Brush and save it. The Brush property would work normally.

Take care,
Tom

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

Questioncapture Data Modified from database real time? Pin
jason_mf27-Dec-07 2:25
jason_mf27-Dec-07 2:25 
AnswerRe: capture Data Modified from database real time? Pin
Giorgi Dalakishvili27-Dec-07 2:42
mentorGiorgi Dalakishvili27-Dec-07 2:42 
GeneralRe: capture Data Modified from database real time? Pin
jason_mf27-Dec-07 3:02
jason_mf27-Dec-07 3:02 
GeneralRe: capture Data Modified from database real time? Pin
Giorgi Dalakishvili27-Dec-07 3:10
mentorGiorgi Dalakishvili27-Dec-07 3:10 
Generallinq update problem Pin
brain2cpu27-Dec-07 2:20
professionalbrain2cpu27-Dec-07 2:20 
GeneralRe: linq update problem Pin
TJoe27-Dec-07 5:17
TJoe27-Dec-07 5:17 
GeneralRe: linq update problem Pin
brain2cpu27-Dec-07 20:37
professionalbrain2cpu27-Dec-07 20:37 
GeneralRe: linq update problem Pin
TJoe28-Dec-07 3:47
TJoe28-Dec-07 3:47 
GeneralRe: linq update problem Pin
brain2cpu30-Dec-07 23:42
professionalbrain2cpu30-Dec-07 23:42 
QuestionFile Dialoge Pin
sudany_zool27-Dec-07 1:25
sudany_zool27-Dec-07 1:25 
GeneralRe: File Dialoge Pin
Giorgi Dalakishvili27-Dec-07 1:33
mentorGiorgi Dalakishvili27-Dec-07 1:33 
GeneralRe: File Dialoge Pin
sudany_zool27-Dec-07 1:49
sudany_zool27-Dec-07 1:49 
GeneralRe: File Dialoge Pin
Giorgi Dalakishvili27-Dec-07 2:02
mentorGiorgi Dalakishvili27-Dec-07 2:02 
GeneralRe: File Dialoge Pin
sudany_zool27-Dec-07 2:10
sudany_zool27-Dec-07 2:10 
GeneralRe: File Dialoge Pin
Giorgi Dalakishvili27-Dec-07 2:43
mentorGiorgi Dalakishvili27-Dec-07 2:43 
GeneralRe: File Dialoge Pin
Xmen Real 27-Dec-07 3:45
professional Xmen Real 27-Dec-07 3:45 
Generalembed xml file into dll while deployment Pin
Member 183766127-Dec-07 1:13
Member 183766127-Dec-07 1:13 

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.