Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Deleted VS component Pin
Hans Ruck21-Jun-09 8:59
Hans Ruck21-Jun-09 8:59 
QuestionReuseability of controls Pin
Rafone21-Jun-09 3:29
Rafone21-Jun-09 3:29 
AnswerRe: Reuseability of controls Pin
Colin Angus Mackay21-Jun-09 4:12
Colin Angus Mackay21-Jun-09 4:12 
GeneralRe: Reuseability of controls Pin
Rafone21-Jun-09 5:08
Rafone21-Jun-09 5:08 
GeneralRe: Reuseability of controls Pin
Luc Pattyn21-Jun-09 5:25
sitebuilderLuc Pattyn21-Jun-09 5:25 
GeneralRe: Reuseability of controls Pin
Rafone21-Jun-09 7:58
Rafone21-Jun-09 7:58 
GeneralRe: Reuseability of controls Pin
Luc Pattyn21-Jun-09 8:10
sitebuilderLuc Pattyn21-Jun-09 8:10 
QuestionEvent handling in a custom control. Pin
Siddhartha S.21-Jun-09 1:26
Siddhartha S.21-Jun-09 1:26 
Hi All,

I have a composite(custom) control in which I have a button control (call it button1). In the control I have coded for the button click event. i.e. inside the method:
private void button1_Click(object sender, EventArgs e)
{
    //My functionality here
}

This control will be used by some other application developer.
The requirement demands the functionality that I have impelemented though my code in the button click event handler be overwritten by the developer who will be using my control in his application iff he wishes so or else the functionalty would persist.
The problem that I am facing is how to access the button click event handler in the cutom control from the application that is hosting the control. Making the event handling method public would be a bad work around. I believe I am missing on a concept.
Any guidance will be appreciated.

Best Regards,
Sid

AnswerRe: Event handling in a custom control. Pin
Luc Pattyn21-Jun-09 1:58
sitebuilderLuc Pattyn21-Jun-09 1:58 
GeneralRe: Event handling in a custom control. Pin
Siddhartha S.21-Jun-09 16:55
Siddhartha S.21-Jun-09 16:55 
GeneralRe: Event handling in a custom control. Pin
Luc Pattyn21-Jun-09 17:00
sitebuilderLuc Pattyn21-Jun-09 17:00 
GeneralRe: Event handling in a custom control. Pin
Siddhartha S.21-Jun-09 17:04
Siddhartha S.21-Jun-09 17:04 
QuestionCasting KeyValuePair -- eliminate else if blocks [modified] Pin
devvvy21-Jun-09 0:48
devvvy21-Jun-09 0:48 
AnswerRe: Casting KeyValuePair -- eliminate else if blocks Pin
Colin Angus Mackay21-Jun-09 3:49
Colin Angus Mackay21-Jun-09 3:49 
GeneralRe: Casting KeyValuePair -- eliminate else if blocks Pin
devvvy21-Jun-09 6:15
devvvy21-Jun-09 6:15 
Question"Error 1053: The service did not respond to the start or control request in a timely fashion" Pin
obrix_activex21-Jun-09 0:37
obrix_activex21-Jun-09 0:37 
QuestionHow You Check Data In DataSet? Pin
noamtzu21-Jun-09 0:17
noamtzu21-Jun-09 0:17 
AnswerRe: How You Check Data In DataSet? Pin
dan!sh 21-Jun-09 0:23
professional dan!sh 21-Jun-09 0:23 
GeneralRe: How You Check Data In DataSet? Pin
noamtzu21-Jun-09 0:32
noamtzu21-Jun-09 0:32 
GeneralRe: How You Check Data In DataSet? Pin
Christian Graus21-Jun-09 0:35
protectorChristian Graus21-Jun-09 0:35 
GeneralRe: How You Check Data In DataSet? Pin
noamtzu21-Jun-09 0:44
noamtzu21-Jun-09 0:44 
GeneralRe: How You Check Data In DataSet? Pin
Rajesh R Subramanian21-Jun-09 6:03
professionalRajesh R Subramanian21-Jun-09 6:03 
GeneralRe: How You Check Data In DataSet? Pin
EliottA22-Jun-09 2:49
EliottA22-Jun-09 2:49 
QuestionStrange Dataset problem! [modified] Pin
Muammar©20-Jun-09 22:39
Muammar©20-Jun-09 22:39 
AnswerRe: Strange Dataset problem! Pin
Mycroft Holmes20-Jun-09 23:15
professionalMycroft Holmes20-Jun-09 23:15 

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.