Click here to Skip to main content
16,004,927 members
Home / Discussions / C#
   

C#

 
Questioncopy array string to by byte array Pin
Jeeva Jose16-Jan-07 0:26
Jeeva Jose16-Jan-07 0:26 
AnswerRe: copy array string to by byte array Pin
goyal manish16-Jan-07 1:04
goyal manish16-Jan-07 1:04 
AnswerRe: copy array string to by byte array Pin
Guffa16-Jan-07 3:04
Guffa16-Jan-07 3:04 
QuestionComplex user control not responding to click events Pin
robalexclark15-Jan-07 23:40
robalexclark15-Jan-07 23:40 
AnswerRe: Complex user control not responding to click events Pin
Luc Pattyn16-Jan-07 0:12
sitebuilderLuc Pattyn16-Jan-07 0:12 
GeneralRe: Complex user control not responding to click events Pin
robalexclark16-Jan-07 1:05
robalexclark16-Jan-07 1:05 
GeneralRe: Complex user control not responding to click events Pin
Luc Pattyn16-Jan-07 1:51
sitebuilderLuc Pattyn16-Jan-07 1:51 
GeneralRe: Complex user control not responding to click events Pin
robalexclark16-Jan-07 3:29
robalexclark16-Jan-07 3:29 
Hi,

I also had the samBtn.Click+=....in the loop attaching a common handler each button ...to no avail.

However your comments got me thinking about exactly what was happening (in terms of only 1 event and overlapping controls) and I think I realise why its not working. The problem is that I have a usercontrol that is *full* of buttons. When I added the buttonArray1.Click+= part to the user control and hopeing to catch this, it was not firing because that would *only* fire if I clicked on an *empty* part of the userControl and not a button. If I click on a button, then that SampleButton "most deserves it" and deals with it correctly (it changes colour). As there is no part of the user control that is empty, its never going to work.

Maybe what I need to do is raise a new event from the change colour event and catch that in my main form.

Thanks again,
Rob
Questionregular expression [modified] Pin
papy-boom15-Jan-07 23:39
papy-boom15-Jan-07 23:39 
AnswerRe: regular expression Pin
ednrgc16-Jan-07 2:07
ednrgc16-Jan-07 2:07 
GeneralRe: regular expression Pin
papy-boom16-Jan-07 2:16
papy-boom16-Jan-07 2:16 
GeneralRe: regular expression Pin
ednrgc16-Jan-07 2:41
ednrgc16-Jan-07 2:41 
Questionmultithreading and font object causes InvalidOperationException[modified] Pin
haape15-Jan-07 23:32
haape15-Jan-07 23:32 
QuestionCollapse Sections Pin
Blue_Boy15-Jan-07 23:23
Blue_Boy15-Jan-07 23:23 
QuestionHow to consume a webservice with a pocket pc emulator Pin
pshilviu15-Jan-07 23:15
pshilviu15-Jan-07 23:15 
Questionhttp web exception (C#.Net) Pin
Sri harini15-Jan-07 23:10
Sri harini15-Jan-07 23:10 
QuestionUTF-8 prefix in attachment filename Pin
mandrake_215-Jan-07 23:04
mandrake_215-Jan-07 23:04 
AnswerRe: UTF-8 prefix in attachment filename Pin
Guffa15-Jan-07 23:52
Guffa15-Jan-07 23:52 
GeneralRe: UTF-8 prefix in attachment filename Pin
mandrake_216-Jan-07 2:43
mandrake_216-Jan-07 2:43 
AnswerRe: UTF-8 prefix in attachment filename Pin
Guffa16-Jan-07 3:32
Guffa16-Jan-07 3:32 
QuestionOdbcDataAdapter query on update().. Pin
jamesjk15-Jan-07 22:56
jamesjk15-Jan-07 22:56 
AnswerRe: OdbcDataAdapter query on update().. Pin
bluewavestrider16-Jan-07 6:41
bluewavestrider16-Jan-07 6:41 
AnswerRe: Binary .dat files in VB .Net Pin
Stefan Troschuetz15-Jan-07 22:43
Stefan Troschuetz15-Jan-07 22:43 
QuestionDisplaying binary data in a text box Pin
Quaspam15-Jan-07 22:05
Quaspam15-Jan-07 22:05 
AnswerRe: Displaying binary data in a text box Pin
Christian Graus15-Jan-07 22:07
protectorChristian Graus15-Jan-07 22:07 

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.