Click here to Skip to main content
15,905,233 members
Home / Discussions / C#
   

C#

 
Question.m4a Tag Reader Pin
4324235423534253425135143532456-May-06 9:36
4324235423534253425135143532456-May-06 9:36 
Questionwhere can i find ngen.exe? Pin
Susuko6-May-06 8:18
Susuko6-May-06 8:18 
AnswerRe: where can i find ngen.exe? Pin
Ravi Bhavnani6-May-06 9:05
professionalRavi Bhavnani6-May-06 9:05 
GeneralRe: where can i find ngen.exe? Pin
Susuko6-May-06 9:44
Susuko6-May-06 9:44 
GeneralRe: where can i find ngen.exe? Pin
Ravi Bhavnani6-May-06 9:52
professionalRavi Bhavnani6-May-06 9:52 
QuestionConvert a file to stream Pin
QzRz6-May-06 6:42
QzRz6-May-06 6:42 
AnswerRe: Convert a file to stream Pin
DigitalKing6-May-06 6:48
DigitalKing6-May-06 6:48 
GeneralRe: Convert a file to stream Pin
QzRz6-May-06 6:54
QzRz6-May-06 6:54 
AnswerRe: Convert a file to stream Pin
S. Senthil Kumar6-May-06 7:28
S. Senthil Kumar6-May-06 7:28 
Questiontree view represantation of string Pin
majid4u6-May-06 6:39
majid4u6-May-06 6:39 
AnswerRe: tree view represantation of string Pin
S. Senthil Kumar6-May-06 7:31
S. Senthil Kumar6-May-06 7:31 
Questionrepresentation of string in treeview Pin
majid4u6-May-06 6:06
majid4u6-May-06 6:06 
AnswerRe: representation of string in treeview Pin
Josh Smith6-May-06 6:18
Josh Smith6-May-06 6:18 
QuestionCheck box Databinding problems Pin
malikjhangirahmed@hotmail.com6-May-06 3:23
malikjhangirahmed@hotmail.com6-May-06 3:23 
QuestionHow to use IHTMLDocument2 with .NET 2.0 Webbrowser Pin
cweeks786816-May-06 3:20
cweeks786816-May-06 3:20 
AnswerRe: How to use IHTMLDocument2 with .NET 2.0 Webbrowser Pin
led mike6-May-06 6:40
led mike6-May-06 6:40 
GeneralRe: How to use IHTMLDocument2 with .NET 2.0 Webbrowser Pin
cweeks786816-May-06 8:13
cweeks786816-May-06 8:13 
QuestionDynamic Events (C#)... Pin
Shy Agam6-May-06 2:34
Shy Agam6-May-06 2:34 
AnswerRe: Dynamic Events (C#)... Pin
mav.northwind6-May-06 3:38
mav.northwind6-May-06 3:38 
AnswerRe: Dynamic Events (C#)... Pin
Guffa6-May-06 3:40
Guffa6-May-06 3:40 
GeneralRe: Dynamic Events (C#)... Pin
Shy Agam6-May-06 4:00
Shy Agam6-May-06 4:00 
QuestionProperty that is an array, bound to a PropertyGrid Pin
-Dy6-May-06 2:31
-Dy6-May-06 2:31 
I have a custom collection class that is bound to a PropertyGrid object, which functions very well. Part of the collection class is as follows:
public DotCommand[] Attributes
 {
     get
     {
         return attributes;
     }
     set
     {
         // this set is not hit via the editor - why not?
         attributes = value;
         if (AttributesChanged != null)
             AttributesChanged(this, new EventArgs());
     }
 }

The PropertyGrid shows the Attributes item, with an ellipsis button (...); when I click on the button the Object Collection Editor appears and I can add items (the DotCommand object is very simple, it just contains two string objects, exposed with public get/set properties). When I dismiss the Object Collection Editor with Ok, the setter for the Attributes property above is not hit. If I press the ellipsis again, only the last added item is displayed (the others are gone).

What do I need to do to wire the PropertyGrid and Attributes property together properly? Is it because the Attributes property is an array (DotCommand[])?



- Dy
AnswerRe: Property that is an array, bound to a PropertyGrid Pin
Josh Smith6-May-06 6:13
Josh Smith6-May-06 6:13 
QuestionHow can I determine number of references to an object ? Pin
_awatts6-May-06 2:10
_awatts6-May-06 2:10 
AnswerRe: How can I determine number of references to an object ? Pin
S. Senthil Kumar6-May-06 7:34
S. Senthil Kumar6-May-06 7:34 

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.