Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is it possible to reconnect an event without raising it? Pin
Gideon Engelberth21-Sep-09 15:54
Gideon Engelberth21-Sep-09 15:54 
GeneralRe: Is it possible to reconnect an event without raising it? Pin
CBenac22-Sep-09 8:30
CBenac22-Sep-09 8:30 
QuestionHow to start a NamedPipeClientStream and a NamedPipeServerStream together Pin
AndyASPVB21-Sep-09 13:19
AndyASPVB21-Sep-09 13:19 
AnswerRe: How to start a NamedPipeClientStream and a NamedPipeServerStream together Pin
Michael Eber22-Sep-09 19:15
Michael Eber22-Sep-09 19:15 
QuestionSilverlight replace elements app Pin
User 602357121-Sep-09 11:14
User 602357121-Sep-09 11:14 
AnswerRe: Silverlight replace elements app Pin
Henry Minute21-Sep-09 11:35
Henry Minute21-Sep-09 11:35 
QuestionProblem with delegate for C++ DLL callback function Pin
Matthew Page21-Sep-09 11:10
Matthew Page21-Sep-09 11:10 
AnswerRe: Problem with delegate for C++ DLL callback function Pin
Matthew Page21-Sep-09 11:54
Matthew Page21-Sep-09 11:54 
I really don't like answering my own questions...

Apparently C#, unlike VB, automatically creates delegates for COM events. So instead of creating my own function I use theirs.

Code then becomes,
myApi = new MyCOMInterfaceLib.MyCOMClassClass();
myApi.coordCallback += new _IMyCOMClassEvents_coordCallbackEventHandler(this.coordHandler);


If there is a better or easier way to do this, please let me know.

Otherwise, thank you.

- Matt
QuestionAdding custom properties to a DataGridViewRow Pin
theallmightycpd21-Sep-09 9:33
theallmightycpd21-Sep-09 9:33 
AnswerRe: Adding custom properties to a DataGridViewRow Pin
Henry Minute21-Sep-09 11:41
Henry Minute21-Sep-09 11:41 
GeneralRe: Adding custom properties to a DataGridViewRow Pin
theallmightycpd22-Sep-09 3:39
theallmightycpd22-Sep-09 3:39 
GeneralRe: Adding custom properties to a DataGridViewRow Pin
Henry Minute22-Sep-09 4:08
Henry Minute22-Sep-09 4:08 
QuestionUsing StringBuilder inside another class? Pin
helfri6221-Sep-09 9:27
professionalhelfri6221-Sep-09 9:27 
AnswerRe: Using StringBuilder inside another class? Pin
Luc Pattyn21-Sep-09 9:40
sitebuilderLuc Pattyn21-Sep-09 9:40 
GeneralRe: Using StringBuilder inside another class? Pin
helfri6221-Sep-09 10:00
professionalhelfri6221-Sep-09 10:00 
GeneralRe: Using StringBuilder inside another class? Pin
Luc Pattyn21-Sep-09 10:10
sitebuilderLuc Pattyn21-Sep-09 10:10 
QuestionThread reach synchronized code block Pin
FJJCENTU21-Sep-09 6:33
FJJCENTU21-Sep-09 6:33 
AnswerRe: Thread reach synchronized code block Pin
N a v a n e e t h21-Sep-09 7:01
N a v a n e e t h21-Sep-09 7:01 
Question[SOLVED] File Encryption Broken [modified] Pin
Ben Magee21-Sep-09 6:26
Ben Magee21-Sep-09 6:26 
NewsRe: File Encryption Broken Pin
Ben Magee21-Sep-09 6:41
Ben Magee21-Sep-09 6:41 
QuestionPlease help me about working with Word - Very URGENT Pin
designervc21-Sep-09 6:18
designervc21-Sep-09 6:18 
QuestionSocket programming problem Pin
JLP18821-Sep-09 6:07
JLP18821-Sep-09 6:07 
QuestionRecovering delivery Errors sending SMTP Mails Pin
FJJCENTU21-Sep-09 4:14
FJJCENTU21-Sep-09 4:14 
QuestionCreate a delegate at run time Pin
bonzaiholding21-Sep-09 2:50
bonzaiholding21-Sep-09 2:50 
AnswerRe: Create a delegate at run time Pin
Not Active21-Sep-09 4:04
mentorNot Active21-Sep-09 4:04 

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.