Click here to Skip to main content
15,885,985 members
Home / Discussions / C#
   

C#

 
GeneralRe: help Pin
Stephane Rodriguez.22-Sep-02 20:15
Stephane Rodriguez.22-Sep-02 20:15 
GeneralDesktop Hierarchy Pin
Wjousts22-Sep-02 13:41
Wjousts22-Sep-02 13:41 
GeneralRe: Desktop Hierarchy Pin
Paul Riley22-Sep-02 15:07
Paul Riley22-Sep-02 15:07 
Questionhelp? Pin
imran_rafique22-Sep-02 13:35
imran_rafique22-Sep-02 13:35 
GeneralDragging files onto a windows form Pin
zimbar22-Sep-02 5:01
zimbar22-Sep-02 5:01 
GeneralRe: Dragging files onto a windows form Pin
Stephane Rodriguez.22-Sep-02 5:20
Stephane Rodriguez.22-Sep-02 5:20 
GeneralCustom Control Pin
Donald Blachly21-Sep-02 18:55
Donald Blachly21-Sep-02 18:55 
GeneralRe: Custom Control Pin
Stephane Rodriguez.21-Sep-02 21:24
Stephane Rodriguez.21-Sep-02 21:24 
Adding set/get properties in your custom control allows to inoculate the public interface from the actual custom control implementation. Hence lower code maintenance for instance when a TextBox becomes a MyTextBoxEx.

Of course, no one needs to care that much about object-oriented programming, and the controls could be declared as public. This would btw shorten development time. And there is no need to feel the same for it, especially when things are obvious.

Unfortunately, there is no known option (or I don't know) to tell the VS.NET IDE to add controls as public, instead of private.

My -0.5 cent



MS quote (http://www.microsoft.com/ddk) : As of September 30, 2002, the Microsoft® Windows® 2000 DDK, the Microsoft Windows 98 DDK, and the Microsoft Windows NT® 4.0 DDK will no longer be available for purchase or download on this site.
GeneralRe: Custom Control Pin
James T. Johnson21-Sep-02 21:42
James T. Johnson21-Sep-02 21:42 
GeneralRe: Custom Control Pin
Stephane Rodriguez.21-Sep-02 22:59
Stephane Rodriguez.21-Sep-02 22:59 
GeneralRe: Custom Control Pin
James T. Johnson21-Sep-02 23:13
James T. Johnson21-Sep-02 23:13 
GeneralRe: Custom Control Pin
Donald Blachly22-Sep-02 3:47
Donald Blachly22-Sep-02 3:47 
QuestionCentering a window at runtime? Pin
Zinj21-Sep-02 14:00
sussZinj21-Sep-02 14:00 
AnswerRe: Centering a window at runtime? Pin
David Stone21-Sep-02 14:14
sitebuilderDavid Stone21-Sep-02 14:14 
AnswerRe: Centering a window at runtime? Pin
James T. Johnson21-Sep-02 14:30
James T. Johnson21-Sep-02 14:30 
GeneralRe: Centering a window at runtime? Pin
Zinj21-Sep-02 15:43
sussZinj21-Sep-02 15:43 
GeneralRe: Centering a window at runtime? Pin
James T. Johnson21-Sep-02 15:50
James T. Johnson21-Sep-02 15:50 
GeneralRe: Centering a window at runtime? Pin
Zinj22-Sep-02 4:51
sussZinj22-Sep-02 4:51 
GeneralRGB and HSV Pin
Tomas Petricek21-Sep-02 4:43
Tomas Petricek21-Sep-02 4:43 
GeneralRe: RGB and HSV Pin
leppie21-Sep-02 5:34
leppie21-Sep-02 5:34 
GeneralRe: RGB and HSV Pin
Stephane Rodriguez.21-Sep-02 5:42
Stephane Rodriguez.21-Sep-02 5:42 
GeneralRe: RGB and HSV Pin
leppie21-Sep-02 5:55
leppie21-Sep-02 5:55 
GeneralRe: RGB and HSV Pin
Tomas Petricek21-Sep-02 6:19
Tomas Petricek21-Sep-02 6:19 
GeneralScrolling Metrics Pin
leppie21-Sep-02 3:53
leppie21-Sep-02 3:53 
GeneralMulticolored Text Pin
Stickman21-Sep-02 1:38
Stickman21-Sep-02 1:38 

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.