Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: Communicating between windows Pin
DaveyM6916-Aug-08 23:46
professionalDaveyM6916-Aug-08 23:46 
GeneralRe: Communicating between windows Pin
Jason Coggins17-Aug-08 10:53
Jason Coggins17-Aug-08 10:53 
GeneralRe: Communicating between windows Pin
DaveyM6917-Aug-08 23:10
professionalDaveyM6917-Aug-08 23:10 
GeneralRe: Communicating between windows Pin
Jason Coggins18-Aug-08 14:51
Jason Coggins18-Aug-08 14:51 
QuestionXML Serialization with subclass Pin
Ken Mazaika16-Aug-08 12:51
Ken Mazaika16-Aug-08 12:51 
AnswerRe: XML Serialization with subclass Pin
lisan_al_ghaib16-Aug-08 13:18
lisan_al_ghaib16-Aug-08 13:18 
QuestionCasting EventHandlers problem Pin
hdv21216-Aug-08 12:01
hdv21216-Aug-08 12:01 
AnswerRe: Casting EventHandlers problem Pin
lisan_al_ghaib16-Aug-08 13:15
lisan_al_ghaib16-Aug-08 13:15 
Hi,
What are you trying to do is not very clear
You are trying to cast delegates? In dont think that casting is possible for delegates.

You can create a delegate that handles your controls event :
public delegate void MyEventHandler (object sender, EventArgs e);

...
void AMethod (Control c)
{
c.OnSomeEvent += new MyEventHandler(SomeMethod);
}

void SomeMethod (object sender , EventArgs e)
{
...
}
GeneralRe: Casting EventHandlers problem Pin
hdv21216-Aug-08 23:33
hdv21216-Aug-08 23:33 
AnswerRe: Casting EventHandlers problem Pin
lisan_al_ghaib17-Aug-08 0:16
lisan_al_ghaib17-Aug-08 0:16 
GeneralRe: Casting EventHandlers problem Pin
hdv21217-Aug-08 0:25
hdv21217-Aug-08 0:25 
GeneralRe: Casting EventHandlers problem Pin
N a v a n e e t h17-Aug-08 4:30
N a v a n e e t h17-Aug-08 4:30 
GeneralRe: Casting EventHandlers problem Pin
hdv21217-Aug-08 9:28
hdv21217-Aug-08 9:28 
QuestionProblems with Keyboard input (KeyDown, KeyPress, KeyUp) Pin
poppabaggins16-Aug-08 9:54
poppabaggins16-Aug-08 9:54 
AnswerRe: Problems with Keyboard input (KeyDown, KeyPress, KeyUp) Pin
DaveyM6916-Aug-08 10:14
professionalDaveyM6916-Aug-08 10:14 
GeneralRe: Problems with Keyboard input (KeyDown, KeyPress, KeyUp) Pin
poppabaggins16-Aug-08 11:53
poppabaggins16-Aug-08 11:53 
GeneralRe: Problems with Keyboard input (KeyDown, KeyPress, KeyUp) [modified] Pin
poppabaggins17-Aug-08 11:27
poppabaggins17-Aug-08 11:27 
GeneralRe: Problems with Keyboard input (KeyDown, KeyPress, KeyUp) Pin
DaveyM6917-Aug-08 23:13
professionalDaveyM6917-Aug-08 23:13 
GeneralRe: Problems with Keyboard input (KeyDown, KeyPress, KeyUp) Pin
poppabaggins18-Aug-08 2:58
poppabaggins18-Aug-08 2:58 
QuestionGet started with keylistening, even when out of focus.. Pin
Joplinazz16-Aug-08 9:01
Joplinazz16-Aug-08 9:01 
AnswerRe: Get started with keylistening, even when out of focus.. Pin
DaveyM6916-Aug-08 10:08
professionalDaveyM6916-Aug-08 10:08 
GeneralRe: Get started with keylistening, even when out of focus.. Pin
Joplinazz16-Aug-08 13:00
Joplinazz16-Aug-08 13:00 
QuestionInterface inheritance problem. Pin
hdv21216-Aug-08 5:58
hdv21216-Aug-08 5:58 
AnswerRe: Interface inheritance problem. Pin
Wendelius16-Aug-08 6:10
mentorWendelius16-Aug-08 6:10 
AnswerRe: Interface inheritance problem. Pin
User 665816-Aug-08 6:16
User 665816-Aug-08 6:16 

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.