Click here to Skip to main content
15,920,626 members
Home / Discussions / C#
   

C#

 
GeneralRe: Flicker Free Listview Pin
leppie13-Jun-02 21:06
leppie13-Jun-02 21:06 
GeneralRe: Flicker Free Listview Pin
Brandon Parker14-Jun-02 4:05
Brandon Parker14-Jun-02 4:05 
GeneralFree Windows Form Designer Pin
Gavin Jerman13-Jun-02 6:19
Gavin Jerman13-Jun-02 6:19 
GeneralRe: Free Windows Form Designer Pin
leppie13-Jun-02 9:53
leppie13-Jun-02 9:53 
GeneralRe: Free Windows Form Designer Pin
Rickard Andersson2013-Jun-02 12:11
Rickard Andersson2013-Jun-02 12:11 
QuestionUsing context menu item in main menu? Pin
Martin Haesemeyer13-Jun-02 4:48
Martin Haesemeyer13-Jun-02 4:48 
GeneralC# Controls - 3 questions Pin
Maciej Pirog13-Jun-02 4:02
Maciej Pirog13-Jun-02 4:02 
GeneralRe: C# Controls - 3 questions Pin
Russell Morris13-Jun-02 4:40
Russell Morris13-Jun-02 4:40 
Maciej Pirog wrote:
1. How can I bind my own property to one of the categories that are displayed in the Properties window (like 'Behaviour' ora 'Apperance')? Can I make my own cathegory?

Use the 'CategoryAttribute' on one of your control's properties

Maciej Pirog wrote:
2. I would like the control to know, if it's in a Design mode

Take a look at the Control.DesignMode property

Maciej Pirog wrote:
How can I change the control's icon that is displayed in the Toolbox?

Embed a bitmap in your assembly named the same as your control's fully qualified typename (plus .bmp). So if your control's full name is MyNamespace.MyControl, 'embed as resources' a 16x16 bitmap in your project named 'MyNamespace.MyControl.bmp'. Recompile, and studio should use that bitmap on the toolbox.

Check out the code for PropertyTree for an example of embedding Toolbox bitmaps in a control assembly.

--
Russell Morris

"WOW! Chocolate - half price!" - Homer Simpson, while in the land of chocolate.
GeneralRe: C# Controls - 3 questions Pin
Maciej Pirog13-Jun-02 8:17
Maciej Pirog13-Jun-02 8:17 
Generalweb forms sending parameters Pin
sharon13-Jun-02 2:25
sharon13-Jun-02 2:25 
GeneralRe: web forms sending parameters Pin
Rama Krishna Vavilala13-Jun-02 7:05
Rama Krishna Vavilala13-Jun-02 7:05 
GeneralObject Role Modeling Pin
gicio13-Jun-02 1:07
gicio13-Jun-02 1:07 
GeneralRe: Object Role Modeling Pin
gicio14-Jun-02 3:10
gicio14-Jun-02 3:10 
GeneralCustomizing DataGrid Pin
J. Ehrnström12-Jun-02 16:45
J. Ehrnström12-Jun-02 16:45 
GeneralRe: Customizing DataGrid Pin
Rocky Moore12-Jun-02 19:49
Rocky Moore12-Jun-02 19:49 
GeneralRe: Customizing DataGrid Pin
J. Ehrnström13-Jun-02 4:28
J. Ehrnström13-Jun-02 4:28 
GeneralRe: Customizing DataGrid Pin
J. Ehrnström13-Jun-02 12:23
J. Ehrnström13-Jun-02 12:23 
GeneralRe: Customizing DataGrid Pin
leppie14-Jun-02 1:22
leppie14-Jun-02 1:22 
GeneralRe: Customizing DataGrid Pin
J. Ehrnström14-Jun-02 2:10
J. Ehrnström14-Jun-02 2:10 
GeneralDimming an image Pin
Rama Krishna Vavilala12-Jun-02 16:41
Rama Krishna Vavilala12-Jun-02 16:41 
GeneralRe: Dimming an image Pin
James T. Johnson12-Jun-02 20:04
James T. Johnson12-Jun-02 20:04 
GeneralRe: Dimming an image Pin
Rama Krishna Vavilala13-Jun-02 7:00
Rama Krishna Vavilala13-Jun-02 7:00 
GeneralRe: Dimming an image Pin
Chris Losinger13-Jun-02 7:03
professionalChris Losinger13-Jun-02 7:03 
Generaldon v tran Pin
12-Jun-02 15:35
suss12-Jun-02 15:35 
GeneralRe: don v tran Pin
David Wengier12-Jun-02 16:01
David Wengier12-Jun-02 16:01 

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.