Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralTreeView Context menus Pin
Dave Kerr8-Dec-02 5:36
Dave Kerr8-Dec-02 5:36 
GeneralRe: TreeView Context menus Pin
leppie8-Dec-02 9:58
leppie8-Dec-02 9:58 
Generaltotal beginner Pin
GaryR8-Dec-02 1:13
GaryR8-Dec-02 1:13 
GeneralRe: total beginner Pin
joan_fl8-Dec-02 2:18
joan_fl8-Dec-02 2:18 
GeneralRe: total beginner Pin
GaryR8-Dec-02 4:15
GaryR8-Dec-02 4:15 
Generalresource bitmap to imagelist Pin
peterchen8-Dec-02 0:10
peterchen8-Dec-02 0:10 
GeneralRe: resource bitmap to imagelist Pin
Jon Rista8-Dec-02 13:51
Jon Rista8-Dec-02 13:51 
GeneralCollections and the Collection Editor Pin
Dave Kerr7-Dec-02 23:57
Dave Kerr7-Dec-02 23:57 
Hi,
I've been having loads of problems with collections in C#. Up to now, my main class in my program has stored large amounts of data (vertices, polygons etc) in ArrayList's. I'd like to be able to use the Collection Editor from the properties window though, and to do that I realise I need a specific collection for each object. However, I've tried deriving from CollectionBase, and half the function's I've used with ArrayList don't work, then I tried deriving from ArrayList and the program crashed.
I'd really like to just derive from ArrayList and make the collection type specific, can I do this? Or do I have to derive from CollectionBase, and if so, what code must I implement to make it work like ArrayList? I know where to go from there, using custom collection editors, but first I need my custom collection!
Any Ideas?

Dave Kerr
focus_business@hotmail.com
www.focus.esmartweb.com
GeneralRe: Collections and the Collection Editor Pin
leppie8-Dec-02 0:50
leppie8-Dec-02 0:50 
GeneralRe: Collections and the Collection Editor Pin
Dave Kerr8-Dec-02 2:12
Dave Kerr8-Dec-02 2:12 
GeneralRead Only Database in C# Pin
europria7-Dec-02 21:16
europria7-Dec-02 21:16 
QuestionHow to move a Splitter control? Pin
Bog7-Dec-02 18:34
Bog7-Dec-02 18:34 
AnswerRe: How to move a Splitter control? Pin
Donald Blachly8-Dec-02 6:24
Donald Blachly8-Dec-02 6:24 
GeneralRe: How to move a Splitter control? Pin
Bog9-Dec-02 10:55
Bog9-Dec-02 10:55 
GeneralRe: How to move a Splitter control? Pin
leppie9-Dec-02 11:43
leppie9-Dec-02 11:43 
GeneralRe: How to move a Splitter control? Pin
Donald Blachly10-Dec-02 15:10
Donald Blachly10-Dec-02 15:10 
GeneralRe: How to move a Splitter control? Pin
Donald Blachly10-Dec-02 15:25
Donald Blachly10-Dec-02 15:25 
GeneralRe: How to move a Splitter control? Pin
Bog11-Dec-02 13:23
Bog11-Dec-02 13:23 
GeneralRe: How to move a Splitter control? Pin
Donald Blachly11-Dec-02 18:46
Donald Blachly11-Dec-02 18:46 
AnswerRe: How to move a Splitter control? Pin
Dominique Plante6-Mar-03 7:54
Dominique Plante6-Mar-03 7:54 
GeneralProblems with a memory leak Pin
Omega5017-Dec-02 11:10
Omega5017-Dec-02 11:10 
GeneralRe: Problems with a memory leak Pin
Burt Harris7-Dec-02 15:17
Burt Harris7-Dec-02 15:17 
GeneralRe: Problems with a memory leak Pin
Omega5017-Dec-02 16:27
Omega5017-Dec-02 16:27 
GeneralRe: Problems with a memory leak Pin
Burt Harris8-Dec-02 11:42
Burt Harris8-Dec-02 11:42 
GeneralRe: Problems with a memory leak Pin
Omega5019-Dec-02 10:52
Omega5019-Dec-02 10: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.