Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Help with IReferenceService.GetComponent() Pin
BASHuss18-May-07 0:58
BASHuss18-May-07 0:58 
no one knows?
no ideas?
Am I describing anything unclear?

This is about writing a custom UITypeEditor for replacing the buildin one for a property like this:

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]<br />
public Component Owner<br />
{<br />
  get { return this._Owner; }<br />
  set { this._Owner = value; }<br />
}


The build in Editor allows choosing components from a toolbox, which are private Fields in the BaseClass of my Form. The result is, that the code added by the designer cannot be compiled anymore, if such a component is chosen.

I am also experimenting with IInheritanceService and IDesignerHost to solve this... I already have a DropDown Editor that works, but till now I cannot filter the shown components properly...
Normal Reflection is no help here, as Reflection does not work on the RootComponent of the Designer...
... I'll check if TypeDescriptor solves the Reflection lack...

So the complete Problem I have to deal with:
How to find out if a Component in DesignMode is a field of the Designers RootComponent or a public or protected (but not private) field of the RootComponents base class...

best regards,
Bernd
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 
QuestionExecuting Javascript in ASPX Pin
darora317-May-07 18:17
darora317-May-07 18:17 

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.