Click here to Skip to main content
15,900,973 members
Home / Discussions / C#
   

C#

 
AnswerRe: Comparing the Background image of a control... Pin
Amar Chaudhary10-Nov-06 5:41
Amar Chaudhary10-Nov-06 5:41 
QuestionRe: Comparing the Background image of a control... [modified] Pin
new_phoenix10-Nov-06 5:54
new_phoenix10-Nov-06 5:54 
AnswerRe: Comparing the Background image of a control... Pin
Amar Chaudhary10-Nov-06 6:10
Amar Chaudhary10-Nov-06 6:10 
QuestionRe: Comparing the Background image of a control... [modified] Pin
new_phoenix10-Nov-06 7:10
new_phoenix10-Nov-06 7:10 
AnswerRe: Comparing the Background image of a control... Pin
Amar Chaudhary10-Nov-06 9:01
Amar Chaudhary10-Nov-06 9:01 
QuestionRe: Comparing the Background image of a control... Pin
new_phoenix10-Nov-06 9:34
new_phoenix10-Nov-06 9:34 
AnswerRe: Comparing the Background image of a control... Pin
Amar Chaudhary10-Nov-06 9:48
Amar Chaudhary10-Nov-06 9:48 
QuestionRe: One additional question... [modified] Pin
new_phoenix10-Nov-06 10:12
new_phoenix10-Nov-06 10:12 
Amar:

OK. I did as you had suggested and modifed the control with the extension of the property. At the places where the control is assigned the backgroundimage property, I found the "Path" property as specified. I made the assignment of the backgroundimage value to this new Path property that we added to the customized control.

However, when I attempt to retrieve the value of the path property, it does not show up in the Intellisense drop down list. I should add that the place where I am attempting to retrieve the value from is in a public sealed event handler class. Also, the variables and classes in this sealed class are all implement the static keyword.

The control that is addressed in the Paint event handler of this public sealed event handler class is retrieved utilizing the Control ctrl = ((Control)sender) code, and this ctrl was implemented utilizing the customized control class that was modified to include the Path property. When I remove the "sealed" key word from the event handler class, it still does not show the new Path property.

What are the requirements to enable the Intellisense drop down list to show the property "Path" that we added to the customized control?

New_Phoenix


-- modified at 16:26 Friday 10th November, 2006
AnswerRe: One additional question... Pin
Amar Chaudhary10-Nov-06 10:30
Amar Chaudhary10-Nov-06 10:30 
QuestionMultithreading, Pin
raj123ranjan10-Nov-06 4:39
raj123ranjan10-Nov-06 4:39 
AnswerRe: Multithreading, Pin
S. Senthil Kumar10-Nov-06 5:27
S. Senthil Kumar10-Nov-06 5:27 
AnswerRe: Multithreading, Pin
User 665810-Nov-06 5:27
User 665810-Nov-06 5:27 
QuestionHo to detect Sound Device? Pin
bahman2000b10-Nov-06 4:31
bahman2000b10-Nov-06 4:31 
AnswerRe: Ho to detect Sound Device? Pin
Ed.Poore10-Nov-06 5:38
Ed.Poore10-Nov-06 5:38 
AnswerRe: Ho to detect Sound Device? Pin
mav.northwind10-Nov-06 19:46
mav.northwind10-Nov-06 19:46 
QuestionAutofill Login Pin
Alper Camel10-Nov-06 3:51
Alper Camel10-Nov-06 3:51 
AnswerRe: Autofill Login Pin
ednrgc10-Nov-06 5:07
ednrgc10-Nov-06 5:07 
GeneralRe: Autofill Login Pin
shopi3012-Nov-06 15:01
shopi3012-Nov-06 15:01 
GeneralRe: Autofill Login Pin
ednrgc13-Nov-06 3:03
ednrgc13-Nov-06 3:03 
QuestionC# and XML - Do we need parser for an XML Editor in C# Pin
h@s@n10-Nov-06 3:18
h@s@n10-Nov-06 3:18 
AnswerRe: C# and XML - Do we need parser for an XML Editor in C# Pin
ednrgc10-Nov-06 3:27
ednrgc10-Nov-06 3:27 
AnswerRe: C# and XML - Do we need parser for an XML Editor in C# Pin
Dustin Metzgar10-Nov-06 3:37
Dustin Metzgar10-Nov-06 3:37 
AnswerRe: C# and XML - Do we need parser for an XML Editor in C# Pin
Pete O'Hanlon10-Nov-06 3:46
mvePete O'Hanlon10-Nov-06 3:46 
GeneralRe: C# and XML - Do we need parser for an XML Editor in C# Pin
h@s@n10-Nov-06 9:13
h@s@n10-Nov-06 9:13 
GeneralRe: C# and XML - Do we need parser for an XML Editor in C# Pin
h@s@n10-Nov-06 9:14
h@s@n10-Nov-06 9:14 

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.