Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: image with shadow in transparented form Pin
hamid_m14-Mar-08 20:15
hamid_m14-Mar-08 20:15 
GeneralRe: image with shadow in transparented form Pin
Paul Conrad15-Mar-08 7:27
professionalPaul Conrad15-Mar-08 7:27 
GeneralRe: image with shadow in transparented form Pin
User 226147415-Mar-08 12:39
User 226147415-Mar-08 12:39 
GeneralRe: image with shadow in transparented form Pin
hamid_m15-Mar-08 20:14
hamid_m15-Mar-08 20:14 
GeneralRe: image with shadow in transparented form Pin
shan shirsat16-Jul-11 21:06
shan shirsat16-Jul-11 21:06 
Generalfile security Pin
damianrda14-Mar-08 8:25
damianrda14-Mar-08 8:25 
QuestionAdding number and letters on a form like a phone. [modified] Pin
steve_rm14-Mar-08 7:56
steve_rm14-Mar-08 7:56 
GeneralRe: Adding number and letters on a form like a phone. Pin
led mike14-Mar-08 9:11
led mike14-Mar-08 9:11 
GeneralRe: Adding number and letters on a form like a phone. Pin
Giorgi Dalakishvili14-Mar-08 9:41
mentorGiorgi Dalakishvili14-Mar-08 9:41 
GeneralRe: Adding number and letters on a form like a phone. Pin
martin_hughes14-Mar-08 11:43
martin_hughes14-Mar-08 11:43 
GeneralDebug mode error and exe problem Pin
aximum14-Mar-08 7:21
aximum14-Mar-08 7:21 
GeneralRe: Debug mode error and exe problem Pin
Luc Pattyn14-Mar-08 10:37
sitebuilderLuc Pattyn14-Mar-08 10:37 
GeneralFormatting data in DataGridViewCell Pin
t4ure4n14-Mar-08 5:44
t4ure4n14-Mar-08 5:44 
GeneralRe: Formatting data in DataGridViewCell Pin
Xmen Real 14-Mar-08 16:10
professional Xmen Real 14-Mar-08 16:10 
AnswerRe: Formatting data in DataGridViewCell Pin
buchstaben15-Mar-08 6:14
buchstaben15-Mar-08 6:14 
GeneralGeneric toolbox component [modified] Pin
hain14-Mar-08 5:32
hain14-Mar-08 5:32 
I have written a generic (i.e., having a type parameter) undo-redo component that I would like to add to the toolbox. The problem is, how can I drag this component to the component tray, and specify the type (of objects on the undo stack). I can't just make the component use system.object, since the objects must be ICloneable (and that would not be "generic" anyway).

When the component is dragged onto the component tray, an instance of the component is created, so it needs to know its type. Perhaps, the initial type could be system.object (how would you specify this for the drag?), and then the actual type could be be given as a property of the component, and changed when the property is changed? (How would you do this?)

Interesting/challenging problem, huh? (...well, perhaps not for the gurus).
Does anyone have an elegant solution?
Thanks,
Tom

modified on Friday, March 14, 2008 11:46 AM

GeneralRe: Generic toolbox component Pin
led mike14-Mar-08 7:26
led mike14-Mar-08 7:26 
GeneralRe: Generic toolbox component Pin
hain14-Mar-08 11:04
hain14-Mar-08 11:04 
GeneralDatabinding on ComboBox Pin
guidoursus14-Mar-08 4:43
guidoursus14-Mar-08 4:43 
GeneralRe: Databinding on ComboBox Pin
Rob Philpott14-Mar-08 4:49
Rob Philpott14-Mar-08 4:49 
GeneralRe: Databinding on ComboBox Pin
Gareth H14-Mar-08 5:24
Gareth H14-Mar-08 5:24 
GeneralRe: Databinding on ComboBox Pin
guidoursus14-Mar-08 5:29
guidoursus14-Mar-08 5:29 
QuestionConsole application with args: Is there a way to pass args from VS when debugging? Pin
Frankidoze14-Mar-08 4:37
Frankidoze14-Mar-08 4:37 
AnswerRe: Console application with args: Is there a way to pass args from VS when debugging? Pin
laserbaronen14-Mar-08 4:39
laserbaronen14-Mar-08 4:39 
AnswerRe: Console application with args: Is there a way to pass args from VS when debugging? Pin
Rob Philpott14-Mar-08 4:39
Rob Philpott14-Mar-08 4:39 

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.