Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
Questionmerging two images in pictureboxesc# Pin
prgramya2-Mar-06 18:38
prgramya2-Mar-06 18:38 
AnswerRe: merging two images in pictureboxesc# Pin
Vasudevan Deepak Kumar2-Mar-06 20:00
Vasudevan Deepak Kumar2-Mar-06 20:00 
QuestionHow to Access a property of a class from another class Pin
psmukil2-Mar-06 18:36
psmukil2-Mar-06 18:36 
AnswerRe: How to Access a property of a class from another class Pin
AB77712-Mar-06 20:49
AB77712-Mar-06 20:49 
GeneralRe: How to Access a property of a class from another class Pin
psmukil4-Mar-06 2:39
psmukil4-Mar-06 2:39 
Questioncapture video clip from webcam Pin
prgramya2-Mar-06 18:13
prgramya2-Mar-06 18:13 
AnswerRe: capture video clip from webcam Pin
AB77712-Mar-06 21:44
AB77712-Mar-06 21:44 
QuestionFind events bound on a control Pin
M Harris2-Mar-06 15:23
M Harris2-Mar-06 15:23 
I am attempting to write a form serialiser in C#, it is a Visual Studio .Net 2005 addin.

My current problem is getting what methods are set as bound to events on a control. For example, i bind button1_click(..) to button1, i can iterate
through all the events in System.Windows.Forms.Button just fine, however i have not been able to determine how to find out what delegates that event
has bound to it.

Current code:
private void GetEvents(string type, object oControl, int controlId)
{
Type t = oControl.GetType();
EventInfo[] events = t.GetEvents();

foreach (EventInfo evnt in events)
{

object value = envt;
}
}


Setting of value was simply for me to drop a break point on to play with the EventInfo object..


Any assistance or links to a guide would be most welcome.
- Mark Harris
AnswerRe: Find events bound on a control Pin
Marc Clifton3-Mar-06 6:50
mvaMarc Clifton3-Mar-06 6:50 
QuestionRe: Find events bound on a control Pin
M Harris7-Mar-06 20:02
M Harris7-Mar-06 20:02 
QuestionReturn an image to mspaint! Pin
Gareth_Hastings2-Mar-06 12:56
Gareth_Hastings2-Mar-06 12:56 
AnswerRe: Return an image to mspaint! Pin
Curtis Schlak.2-Mar-06 13:17
Curtis Schlak.2-Mar-06 13:17 
GeneralRe: Return an image to mspaint! Pin
Gareth_Hastings2-Mar-06 21:18
Gareth_Hastings2-Mar-06 21:18 
GeneralRe: Return an image to mspaint! Pin
Curtis Schlak.3-Mar-06 15:21
Curtis Schlak.3-Mar-06 15:21 
AnswerRe: Return an image to mspaint! Pin
Vasudevan Deepak Kumar2-Mar-06 20:05
Vasudevan Deepak Kumar2-Mar-06 20:05 
GeneralRe: Return an image to mspaint! Pin
Gareth_Hastings2-Mar-06 21:26
Gareth_Hastings2-Mar-06 21:26 
QuestionC# Video Tutorials Pin
shatterstar64572-Mar-06 12:16
shatterstar64572-Mar-06 12:16 
AnswerRe: C# Video Tutorials Pin
renjithkr2-Mar-06 22:25
renjithkr2-Mar-06 22:25 
QuestionHTML vriable to C# Pin
ytubis2-Mar-06 11:36
ytubis2-Mar-06 11:36 
AnswerRe: HTML vriable to C# Pin
Curtis Schlak.2-Mar-06 12:24
Curtis Schlak.2-Mar-06 12:24 
GeneralRe: HTML vriable to C# Pin
ytubis2-Mar-06 12:38
ytubis2-Mar-06 12:38 
GeneralRe: HTML vriable to C# Pin
Curtis Schlak.2-Mar-06 13:21
Curtis Schlak.2-Mar-06 13:21 
QuestionVSTO Excel buttons Pin
Drew McGhie2-Mar-06 11:30
Drew McGhie2-Mar-06 11:30 
Question"unable to setablish connection to network" exception Pin
amresawy2-Mar-06 10:11
amresawy2-Mar-06 10:11 
AnswerRe: "unable to setablish connection to network" exception Pin
Vasudevan Deepak Kumar2-Mar-06 21:08
Vasudevan Deepak Kumar2-Mar-06 21:08 

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.