Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: Methods of a collection class are not always called Pin
Luc Pattyn12-Mar-12 3:26
sitebuilderLuc Pattyn12-Mar-12 3:26 
GeneralRe: Methods of a collection class are not always called Pin
CDP180212-Mar-12 4:03
CDP180212-Mar-12 4:03 
AnswerRe: Methods of a collection class are not always called Pin
Luc Pattyn12-Mar-12 4:23
sitebuilderLuc Pattyn12-Mar-12 4:23 
GeneralRe: Methods of a collection class are not always called Pin
CDP180212-Mar-12 21:21
CDP180212-Mar-12 21:21 
AnswerRe: Methods of a collection class are not always called Pin
Pete O'Hanlon11-Mar-12 20:01
mvePete O'Hanlon11-Mar-12 20:01 
GeneralRe: Methods of a collection class are not always called Pin
CDP180212-Mar-12 0:07
CDP180212-Mar-12 0:07 
GeneralRe: Methods of a collection class are not always called Pin
Pete O'Hanlon12-Mar-12 0:43
mvePete O'Hanlon12-Mar-12 0:43 
AnswerRe: Methods of a collection class are not always called Pin
Bernhard Hiller11-Mar-12 21:18
Bernhard Hiller11-Mar-12 21:18 
What about not inheriting from List<Control>? I.e.
public class ControlList : IList<Control>

Then you'll need to have the collection as a memeber variable, and forward calls to it, e.g.
C#
protected List<Control> myList = new List<Control>();
public void Add(cPraeComponent oComponent)
{
    //your code here
    //and do not forget to call the member variable's method
    myList.Add(oComponent);
}

That means writing a lot of code, but I think it's worth to try.
GeneralRe: Methods of a collection class are not always called Pin
CDP180212-Mar-12 0:27
CDP180212-Mar-12 0:27 
QuestionExport to Excel - DropDownList Pin
Andrew Woodward11-Mar-12 10:12
Andrew Woodward11-Mar-12 10:12 
Questioninsert image in datagrid Pin
MemberDotNetting11-Mar-12 9:06
MemberDotNetting11-Mar-12 9:06 
AnswerRe: insert image in datagrid Pin
OriginalGriff11-Mar-12 9:41
mveOriginalGriff11-Mar-12 9:41 
GeneralRe: insert image in datagrid Pin
MemberDotNetting12-Mar-12 7:09
MemberDotNetting12-Mar-12 7:09 
Questioncombobox Pin
MemberDotNetting11-Mar-12 4:42
MemberDotNetting11-Mar-12 4:42 
AnswerRe: combobox Pin
Ravi Bhavnani11-Mar-12 5:12
professionalRavi Bhavnani11-Mar-12 5:12 
GeneralRe: combobox Pin
MemberDotNetting11-Mar-12 5:45
MemberDotNetting11-Mar-12 5:45 
GeneralRe: combobox Pin
OriginalGriff11-Mar-12 6:17
mveOriginalGriff11-Mar-12 6:17 
GeneralRe: combobox Pin
MemberDotNetting11-Mar-12 6:29
MemberDotNetting11-Mar-12 6:29 
GeneralRe: combobox Pin
OriginalGriff11-Mar-12 6:51
mveOriginalGriff11-Mar-12 6:51 
GeneralRe: combobox Pin
MemberDotNetting11-Mar-12 6:59
MemberDotNetting11-Mar-12 6:59 
AnswerRe: combobox Pin
OriginalGriff11-Mar-12 5:12
mveOriginalGriff11-Mar-12 5:12 
GeneralRe: combobox Pin
Ravi Bhavnani11-Mar-12 5:14
professionalRavi Bhavnani11-Mar-12 5:14 
GeneralRe: combobox Pin
OriginalGriff11-Mar-12 5:21
mveOriginalGriff11-Mar-12 5:21 
GeneralRe: combobox Pin
MemberDotNetting11-Mar-12 5:43
MemberDotNetting11-Mar-12 5:43 
GeneralRe: combobox Pin
OriginalGriff11-Mar-12 5:52
mveOriginalGriff11-Mar-12 5:52 

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.