Click here to Skip to main content
16,004,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Displaying REG_MULTI_SZ from teh Registry Pin
Neil Van Note9-May-02 12:16
Neil Van Note9-May-02 12:16 
GeneralRe: Displaying REG_MULTI_SZ from teh Registry Pin
Nick Parker9-May-02 18:55
protectorNick Parker9-May-02 18:55 
GeneralRe: Displaying REG_MULTI_SZ from teh Registry Pin
James T. Johnson10-May-02 1:42
James T. Johnson10-May-02 1:42 
GeneralRe: Displaying REG_MULTI_SZ from teh Registry Pin
Nick Parker10-May-02 4:28
protectorNick Parker10-May-02 4:28 
QuestionHow to make ctrl+C (copy), ctrl+V(Paste) work in winforms Pin
9-May-02 10:44
suss9-May-02 10:44 
AnswerRe: How to make ctrl+C (copy), ctrl+V(Paste) work in winforms Pin
Nick Parker9-May-02 11:48
protectorNick Parker9-May-02 11:48 
GeneralRe: How to make ctrl+C (copy), ctrl+V(Paste) work in winforms Pin
9-May-02 17:58
suss9-May-02 17:58 
QuestionHow to create a Collection Property? Pin
Zombies with Coffee, LLC9-May-02 9:24
professionalZombies with Coffee, LLC9-May-02 9:24 
I'm finding that it would be very useful to have a class property that would accept multiple entries. For example, I want to have a property that keeps track of 5 toolbar buttons automatically for me. So, I want to create a property where I can automatically get/set the toolbar collection via the IDE.

The following code 'almost' works. The property appears, I can click on the "..." button and the Collection Editor appears, but it doesn't save anything. The word "(Collection)" doesn't appear in the property.

Are there any examples out there that show how to do this?

[Category( "Controls" )]
[Description( "Add the list of ToolBarButtons that keep track of the modes" )]

public ToolBarButton[] ToolBar_ButtonModes
{
set{ m_ToolBar_ButtonModes = value; }
get{ return m_ToolBar_ButtonModes; }
}

private ToolBarButton[] m_ToolBar_ButtonModes = null;

-- Thanks!!

AnswerRe: How to create a Collection Property? Pin
David Wengier9-May-02 13:10
David Wengier9-May-02 13:10 
GeneralC# Color Coding Format Pin
Nick Parker9-May-02 9:21
protectorNick Parker9-May-02 9:21 
GeneralForm Designer Pin
BLaZiNiX8-May-02 17:04
BLaZiNiX8-May-02 17:04 
GeneralRe: Form Designer Pin
James T. Johnson8-May-02 18:06
James T. Johnson8-May-02 18:06 
GeneralRe: Form Designer Pin
BLaZiNiX8-May-02 18:15
BLaZiNiX8-May-02 18:15 
GeneralRe: Form Designer Pin
James T. Johnson8-May-02 18:33
James T. Johnson8-May-02 18:33 
GeneralRe: Form Designer Pin
Neil Van Note8-May-02 18:42
Neil Van Note8-May-02 18:42 
GeneralRe: Form Designer Pin
James T. Johnson8-May-02 19:10
James T. Johnson8-May-02 19:10 
GeneralRe: Form Designer Pin
Neil Van Note8-May-02 19:15
Neil Van Note8-May-02 19:15 
GeneralRe: Form Designer Pin
BLaZiNiX9-May-02 3:07
BLaZiNiX9-May-02 3:07 
GeneralRe: Form Designer Pin
Neil Van Note9-May-02 3:52
Neil Van Note9-May-02 3:52 
GeneralRe: Form Designer Pin
BLaZiNiX9-May-02 7:41
BLaZiNiX9-May-02 7:41 
GeneralRe: Form Designer Pin
Neil Van Note9-May-02 16:09
Neil Van Note9-May-02 16:09 
GeneralRe: Form Designer Pin
BLaZiNiX9-May-02 17:16
BLaZiNiX9-May-02 17:16 
GeneralRe: Form Designer Pin
Neil Van Note9-May-02 17:57
Neil Van Note9-May-02 17:57 
GeneralRe: Form Designer Pin
James T. Johnson8-May-02 18:24
James T. Johnson8-May-02 18:24 
GeneralDifference between Release and Debug Pin
8-May-02 16:39
suss8-May-02 16:39 

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.