Click here to Skip to main content
15,903,030 members
Home / Discussions / C#
   

C#

 
QuestionHelp Me in this Regard Pin
Murthy Narasimha17-May-07 21:07
Murthy Narasimha17-May-07 21:07 
AnswerRe: Help Me in this Regard Pin
Christian Graus17-May-07 21:08
protectorChristian Graus17-May-07 21:08 
QuestionC# Pin
Rohidas17-May-07 20:58
Rohidas17-May-07 20:58 
AnswerRe: C# Pin
Christian Graus17-May-07 21:07
protectorChristian Graus17-May-07 21:07 
AnswerRe: C# Pin
Colin Angus Mackay17-May-07 21:17
Colin Angus Mackay17-May-07 21:17 
AnswerRe: C# Pin
Michael Demeersseman17-May-07 22:51
Michael Demeersseman17-May-07 22:51 
AnswerRe: C# Pin
Nouman Bhatti18-May-07 2:38
Nouman Bhatti18-May-07 2:38 
QuestionHelp with IReferenceService.GetComponent() Pin
BASHuss17-May-07 20:52
BASHuss17-May-07 20:52 
Hi,

System.ComponentModel.Design.IReferenceService.GetComponent() is described by MS here:

http://msdn2.microsoft.com/en-us/library/system.componentmodel.design.ireferenceservice.getcomponent.aspx

unfortunately the do not offer example code.

This is what I know:

If a component is sited, you can get the IReferenceService by a call of Site.GetService()...
this works fine.

My Problem:
with C# Express at DesignTime, I always get:

Parent.Equals(myComponent) == true

as a result of this kind of code:

Component myComponent;<br />
IReferenceService refSvc;<br />
[...].br />
IComponent Parent = refSvc.GetComponent(myComponent);<br />


Am I doing something wrong, or is this a bug?


best regards,
Bernd
AnswerRe: Help with IReferenceService.GetComponent() Pin
BASHuss18-May-07 0:58
BASHuss18-May-07 0:58 
GeneralRe: Help with IReferenceService.GetComponent() Pin
BASHuss18-May-07 6:30
BASHuss18-May-07 6:30 
QuestionHow to make a button transparent? Pin
82.san17-May-07 19:07
82.san17-May-07 19:07 
AnswerRe: How to make a button transparent? Pin
Colin Angus Mackay17-May-07 21:17
Colin Angus Mackay17-May-07 21:17 
GeneralRe: How to make a button transparent? Pin
82.san17-May-07 21:35
82.san17-May-07 21:35 
QuestionRe: How to make a button transparent? Pin
Sonia Gupta17-May-07 21:36
Sonia Gupta17-May-07 21:36 
AnswerRe: How to make a button transparent? Pin
Manoj Kumar Rai17-May-07 21:38
professionalManoj Kumar Rai17-May-07 21:38 
GeneralRe: How to make a button transparent? Pin
Sonia Gupta17-May-07 21:42
Sonia Gupta17-May-07 21:42 
GeneralRe: How to make a button transparent? Pin
82.san17-May-07 21:50
82.san17-May-07 21:50 
GeneralRe: How to make a button transparent? Pin
Sonia Gupta17-May-07 21:54
Sonia Gupta17-May-07 21:54 
GeneralRe: How to make a button transparent? Pin
82.san17-May-07 21:57
82.san17-May-07 21:57 
GeneralRe: How to make a button transparent? Pin
Manoj Kumar Rai17-May-07 23:57
professionalManoj Kumar Rai17-May-07 23:57 
GeneralRe: How to make a button transparent? Pin
82.san20-May-07 19:48
82.san20-May-07 19:48 
AnswerRe: How to make a button transparent? Pin
PandemoniumPasha18-May-07 0:30
PandemoniumPasha18-May-07 0:30 
GeneralRe: How to make a button transparent? Pin
long zihang8-Apr-12 23:42
long zihang8-Apr-12 23:42 
QuestionC# Programmme of Vocabulary Learning (involving 6 correct wordpairs, separated by '\t') Pin
Ntoki17-May-07 18:35
Ntoki17-May-07 18:35 
AnswerRe: C# Programmme of Vocabulary Learning (involving 6 correct wordpairs, separated by '\t') Pin
mav.northwind17-May-07 19:32
mav.northwind17-May-07 19:32 

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.