Click here to Skip to main content
15,868,016 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need help. Pin
Mycroft Holmes15-Jul-09 19:44
professionalMycroft Holmes15-Jul-09 19:44 
GeneralRe: Need help. Pin
mjawadkhatri15-Jul-09 20:02
mjawadkhatri15-Jul-09 20:02 
GeneralRe: Need help. Pin
Mycroft Holmes15-Jul-09 20:58
professionalMycroft Holmes15-Jul-09 20:58 
QuestionHow to Print a file in c#? Pin
svt gdwl15-Jul-09 19:02
svt gdwl15-Jul-09 19:02 
AnswerRe: How to Print a file in c#? Pin
dan!sh 15-Jul-09 19:30
professional dan!sh 15-Jul-09 19:30 
QuestionHow to implement IOleCommandTarget and IOLEDocumentView interface in c#? Pin
svt gdwl15-Jul-09 18:41
svt gdwl15-Jul-09 18:41 
QuestionUser Control and Button Click Issue. Pin
VivekUtsa15-Jul-09 18:00
VivekUtsa15-Jul-09 18:00 
AnswerRe: User Control and Button Click Issue. Pin
dan!sh 15-Jul-09 18:56
professional dan!sh 15-Jul-09 18:56 
IMO you should have a delegate and handle the button click event in the parent form. Or in the button click event, check for the parent control and execute code accordingly. Something like this:

switch(button.parent.tag){
// cases according to the tag
}


For this, you will need to set the tag property of the usercontrol in the form.
GeneralRe: User Control and Button Click Issue. Pin
VivekUtsa15-Jul-09 19:16
VivekUtsa15-Jul-09 19:16 
GeneralRe: User Control and Button Click Issue. Pin
dan!sh 15-Jul-09 19:26
professional dan!sh 15-Jul-09 19:26 
GeneralRe: User Control and Button Click Issue. Pin
VivekUtsa15-Jul-09 19:33
VivekUtsa15-Jul-09 19:33 
QuestionSystem.NullReferenceException was unhandled by user code, Object reference not set to an instance of an object. Pin
haleemasher15-Jul-09 17:04
haleemasher15-Jul-09 17:04 
AnswerRe: System.NullReferenceException was unhandled by user code, Object reference not set to an instance of an object. Pin
PIEBALDconsult15-Jul-09 18:06
mvePIEBALDconsult15-Jul-09 18:06 
AnswerRe: System.NullReferenceException was unhandled by user code, Object reference not set to an instance of an object. Pin
Vimalsoft(Pty) Ltd15-Jul-09 20:31
professionalVimalsoft(Pty) Ltd15-Jul-09 20:31 
QuestionWhich C# Book? Pin
321Markus12315-Jul-09 16:07
321Markus12315-Jul-09 16:07 
AnswerRe: Which C# Book? Pin
PIEBALDconsult15-Jul-09 17:09
mvePIEBALDconsult15-Jul-09 17:09 
QuestionDynamic Types in Generics? Pin
NandoMan15-Jul-09 11:49
NandoMan15-Jul-09 11:49 
AnswerRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 12:05
subeditorPete O'Hanlon15-Jul-09 12:05 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan15-Jul-09 12:14
NandoMan15-Jul-09 12:14 
GeneralRe: Dynamic Types in Generics? Pin
Pete O'Hanlon15-Jul-09 12:17
subeditorPete O'Hanlon15-Jul-09 12:17 
GeneralRe: Dynamic Types in Generics? Pin
DaveyM6915-Jul-09 13:30
professionalDaveyM6915-Jul-09 13:30 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 6:34
NandoMan16-Jul-09 6:34 
AnswerRe: Dynamic Types in Generics? Pin
harold aptroot15-Jul-09 13:34
harold aptroot15-Jul-09 13:34 
GeneralRe: Dynamic Types in Generics? Pin
0x3c015-Jul-09 21:12
0x3c015-Jul-09 21:12 
GeneralRe: Dynamic Types in Generics? Pin
NandoMan16-Jul-09 9:19
NandoMan16-Jul-09 9:19 

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.