Click here to Skip to main content
16,010,553 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to know that a point is inside an object or not? Pin
Duong Tien Nam7-Mar-07 21:18
Duong Tien Nam7-Mar-07 21:18 
Questioncomponent for azimuth Pin
barak1604877-Mar-07 19:10
barak1604877-Mar-07 19:10 
Questionaccess variable of form1 in form2 Pin
komal Chhabra7-Mar-07 18:58
komal Chhabra7-Mar-07 18:58 
AnswerRe: access variable of form1 in form2 Pin
sam#7-Mar-07 19:01
sam#7-Mar-07 19:01 
AnswerRe: access variable of form1 in form2 Pin
barak1604877-Mar-07 19:21
barak1604877-Mar-07 19:21 
AnswerRe: access variable of form1 in form2 Pin
Stefan Troschuetz7-Mar-07 21:25
Stefan Troschuetz7-Mar-07 21:25 
QuestionCapturing characters in a DataGridView custom column Pin
Wayne Seegers7-Mar-07 14:09
Wayne Seegers7-Mar-07 14:09 
QuestionCustom Image Button Control Pin
Expert Coming7-Mar-07 13:58
Expert Coming7-Mar-07 13:58 
I made a custom ImageButton web control. All I need now is to know how to make a passable OnCliok event. I want it to be just like a normal Button.

Ex.

<asp:button id="btnButton" onclick="btnButtonClick" runat="server">

But I want mine to have that same structure. Delegates as far as I have seen are the exact opposite of what I want.

I am making this so it can be used for more than just my current use. I don't know what the method the button is going to call will look like. Having it take (object sender, and ImageButtonEventArgs e) is an option for parameters.

I give all the information to weave out the wrong responses, and do not expect the code to be written for me. I have been trying for days with no luck as I have very little experience with custom controls, and only consider myself an intermediate programmer.

Thanks for your help!

The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.

AnswerRe: Custom Image Button Control Pin
Expert Coming7-Mar-07 16:18
Expert Coming7-Mar-07 16:18 
QuestionApparently i have a control of type '7' Pin
Anthony Mushrow7-Mar-07 12:30
professionalAnthony Mushrow7-Mar-07 12:30 
AnswerRe: Apparently i have a control of type '7' Pin
Guffa7-Mar-07 13:07
Guffa7-Mar-07 13:07 
GeneralRe: Apparently i have a control of type '7' Pin
Anthony Mushrow7-Mar-07 13:52
professionalAnthony Mushrow7-Mar-07 13:52 
AnswerRe: Apparently i have a control of type '7' Pin
Guffa7-Mar-07 14:04
Guffa7-Mar-07 14:04 
GeneralRe: Apparently i have a control of type '7' Pin
Anthony Mushrow7-Mar-07 14:23
professionalAnthony Mushrow7-Mar-07 14:23 
AnswerRe: Apparently i have a control of type '7' Pin
Guffa7-Mar-07 14:32
Guffa7-Mar-07 14:32 
GeneralRe: Apparently i have a control of type '7' Pin
Anthony Mushrow7-Mar-07 14:38
professionalAnthony Mushrow7-Mar-07 14:38 
QuestionService Detection [modified] Pin
Darkness847-Mar-07 12:15
Darkness847-Mar-07 12:15 
AnswerRe: Service Detection Pin
pbraun7-Mar-07 15:55
pbraun7-Mar-07 15:55 
GeneralRe: Service Detection Pin
Darkness847-Mar-07 16:30
Darkness847-Mar-07 16:30 
QuestionDatagridview Pin
babbelfisken7-Mar-07 10:20
babbelfisken7-Mar-07 10:20 
QuestionCalling functions from VC++6 DLL Pin
MinaFawzi7-Mar-07 10:00
MinaFawzi7-Mar-07 10:00 
AnswerRe: Calling functions from VC++6 DLL Pin
Ravi Bhavnani7-Mar-07 10:30
professionalRavi Bhavnani7-Mar-07 10:30 
Questionhow can i create a variable Pin
marwan_siala7-Mar-07 9:47
marwan_siala7-Mar-07 9:47 
AnswerRe: how can i create a variable Pin
Luc Pattyn7-Mar-07 9:58
sitebuilderLuc Pattyn7-Mar-07 9:58 
GeneralRe: how can i create a variable Pin
marwan_siala7-Mar-07 10:19
marwan_siala7-Mar-07 10:19 

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.