Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: Gif compression using Save method on bitmap class Pin
Richard Deeming1-Jun-03 23:33
mveRichard Deeming1-Jun-03 23:33 
Generalshow tooltip Pin
grv5751-Jun-03 20:16
grv5751-Jun-03 20:16 
GeneralRe: show tooltip Pin
Singh, Manish2-Jun-03 20:44
Singh, Manish2-Jun-03 20:44 
GeneralSystem.NullReferenceException in RichTextBox while dynamically adding text Pin
CNU1-Jun-03 19:58
CNU1-Jun-03 19:58 
GeneralCreate a remort object in C# Pin
Gaurika Wijeratne1-Jun-03 17:54
Gaurika Wijeratne1-Jun-03 17:54 
GeneralRe: Create a remort object in C# Pin
Kannan Kalyanaraman1-Jun-03 22:17
Kannan Kalyanaraman1-Jun-03 22:17 
GeneralRe: Create a remort object in C# Pin
Gaurika Wijeratne1-Jun-03 22:39
Gaurika Wijeratne1-Jun-03 22:39 
Generalurgent help needed, event handler Pin
mtrx1-Jun-03 17:35
mtrx1-Jun-03 17:35 
ok, i need some help in this matter, and i cant seem to find a solution online

heres the scenario

i created a usercontrol
now, i added in a label and a picture box into it (docked both left)
so now the usercontrol is effectively hidden from the view

so, from the form that i add this control into, i want to create a Click event, referring to when the user clicks the control. i cant get it to work as the usercontrol.click event never fires due to the fact that i cant click directly on the usercontrol (its clicking on either the label or picture box)

now, im gonna use this user control in a lot of forms, and i dont want my only solution to be duplicating the code
uc.label1.click += new eventhandler(clicked);
uc.picturebox1.click += new eventhandler(clicked);

is there any way for me to merge the 2 events into 1?
something like declaring a public event inside the user control then linking it to both controls?
or is there an event type that allows me to specify if any of the child controls are clicked, a certain event will happen

bear in mind that i cannot put the event handler code inside the user control itself, it has to be in the form that calls it

appreciate any help you guys can give me on this matter
GeneralRe: urgent help needed, event handler Pin
Ray Cassick1-Jun-03 17:55
Ray Cassick1-Jun-03 17:55 
GeneralRe: urgent help needed, event handler Pin
mtrx2-Jun-03 3:41
mtrx2-Jun-03 3:41 
GeneralRe: urgent help needed, event handler Pin
shaunAustin3-Jun-03 1:25
shaunAustin3-Jun-03 1:25 
GeneralCustom Control Events Pin
Tym!1-Jun-03 12:05
Tym!1-Jun-03 12:05 
GeneralSome Progress, Sound good? Pin
Tym!1-Jun-03 13:23
Tym!1-Jun-03 13:23 
QuestionGDI+, How to stop antialias? Pin
FruitBatInShades31-May-03 23:51
FruitBatInShades31-May-03 23:51 
AnswerRe: GDI+, How to stop antialias? Pin
leppie1-Jun-03 0:07
leppie1-Jun-03 0:07 
GeneralRe: GDI+, How to stop antialias? Pin
FruitBatInShades1-Jun-03 0:44
FruitBatInShades1-Jun-03 0:44 
QuestionHow to extend System.Int32? Pin
ralfoide31-May-03 15:58
ralfoide31-May-03 15:58 
AnswerRe: How to extend System.Int32? Pin
Eric Gunnerson (msft)31-May-03 16:35
Eric Gunnerson (msft)31-May-03 16:35 
GeneralRe: How to extend System.Int32? Pin
ralfoide1-Jun-03 17:13
ralfoide1-Jun-03 17:13 
GeneralRe: How to extend System.Int32? Pin
ralfoide1-Jun-03 17:42
ralfoide1-Jun-03 17:42 
GeneralRe: How to extend System.Int32? Pin
leppie2-Jun-03 8:00
leppie2-Jun-03 8:00 
GeneralRe: How to extend System.Int32? Pin
Eric Gunnerson (msft)3-Jun-03 9:47
Eric Gunnerson (msft)3-Jun-03 9:47 
AnswerRe: How to extend System.Int32? Pin
leppie1-Jun-03 0:39
leppie1-Jun-03 0:39 
GeneralRe: How to extend System.Int32? Pin
David Stone2-Jun-03 9:50
sitebuilderDavid Stone2-Jun-03 9:50 
GeneralSetting Form's size problems Pin
Acidis31-May-03 11:38
Acidis31-May-03 11:38 

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.