Click here to Skip to main content
15,905,875 members
Home / Discussions / C#
   

C#

 
GeneralLinks to C# sites Pin
leppie8-Jul-02 23:38
leppie8-Jul-02 23:38 
GeneralRe: Links to C# sites Pin
Michael P Butler9-Jul-02 8:20
Michael P Butler9-Jul-02 8:20 
GeneralCreating similar Shell_TrayWnd Pin
8-Jul-02 21:02
suss8-Jul-02 21:02 
GeneralRe: Creating similar Shell_TrayWnd Pin
James T. Johnson15-Jul-02 22:25
James T. Johnson15-Jul-02 22:25 
GeneralInheriting textbox and setting property values Pin
kyledunn8-Jul-02 10:16
kyledunn8-Jul-02 10:16 
GeneralRe: Inheriting textbox and setting property values Pin
Andy Smith8-Jul-02 10:46
Andy Smith8-Jul-02 10:46 
GeneralRe: Inheriting textbox and setting property values Pin
kyledunn9-Jul-02 2:49
kyledunn9-Jul-02 2:49 
GeneralRe: Inheriting textbox and setting property values Pin
Andy Smith9-Jul-02 5:37
Andy Smith9-Jul-02 5:37 
kyledunn wrote:
Setting the value of properties in the constructor means they are now fixed at that value regardless of changes made in the property browser.


This is false. Setting values in the constructor will not do that. you need to set the value.


kyledunn wrote:
and it did not set the Name value to the default "tbx".


it didn't change it, because you never set it. the DefaultValue attribute is only for the IDE to know when it's been changed. It doesn't actually set the value. You have to set it yourself in the constructor.


kyledunn wrote:
but got this warning:


that warning is because you need to explicitly say whether it is an "override" or a "new". In this case, since the "Name" property is not virtual, you can only use "new".


All that said, it is a REALLY BAD IDEA to try to override the Name property. Controls do magic things with the name property to make sure they are unique. Making them all "tbx" would be a BAD THING.
GeneralRe: Inheriting textbox and setting property values Pin
kyledunn9-Jul-02 7:55
kyledunn9-Jul-02 7:55 
QuestionSetWizardMode? How do we create C# Wizards? Pin
Zombies with Coffee, LLC8-Jul-02 9:53
professionalZombies with Coffee, LLC8-Jul-02 9:53 
AnswerRe: SetWizardMode? How do we create C# Wizards? Pin
Rama Krishna Vavilala8-Jul-02 10:57
Rama Krishna Vavilala8-Jul-02 10:57 
GeneralRe: SetWizardMode? How do we create C# Wizards? Pin
Zombies with Coffee, LLC8-Jul-02 11:03
professionalZombies with Coffee, LLC8-Jul-02 11:03 
GeneralRe: SetWizardMode? How do we create C# Wizards? Pin
Rama Krishna Vavilala8-Jul-02 11:20
Rama Krishna Vavilala8-Jul-02 11:20 
GeneralRe: SetWizardMode? How do we create C# Wizards? Pin
Zombies with Coffee, LLC8-Jul-02 11:39
professionalZombies with Coffee, LLC8-Jul-02 11:39 
GeneralPlease Help...Tree Refreshing Problem Pin
cAptHiDDeN8-Jul-02 9:32
cAptHiDDeN8-Jul-02 9:32 
GeneralRe: Please Help...Tree Refreshing Problem Pin
Zombies with Coffee, LLC8-Jul-02 9:57
professionalZombies with Coffee, LLC8-Jul-02 9:57 
GeneralRe: Please Help...Tree Refreshing Problem Pin
cAptHiDDeN9-Jul-02 5:34
cAptHiDDeN9-Jul-02 5:34 
GeneralRe: Please Help...Tree Refreshing Problem Pin
gekoscan9-Jul-02 18:13
gekoscan9-Jul-02 18:13 
GeneralRe: Please Help...Tree Refreshing Problem Pin
cAptHiDDeN10-Jul-02 5:08
cAptHiDDeN10-Jul-02 5:08 
QuestionAny word on next version? Pin
Zombies with Coffee, LLC8-Jul-02 9:07
professionalZombies with Coffee, LLC8-Jul-02 9:07 
GeneralC# construct similar to JTable Pin
w.l.8-Jul-02 9:02
w.l.8-Jul-02 9:02 
GeneralRe: C# construct similar to JTable Pin
Andy Smith8-Jul-02 10:50
Andy Smith8-Jul-02 10:50 
GeneralExtending a control used by VS Designer Pin
scrozier8-Jul-02 8:25
scrozier8-Jul-02 8:25 
GeneralRe: Extending a control used by VS Designer Pin
James T. Johnson8-Jul-02 13:03
James T. Johnson8-Jul-02 13:03 
Generalporting from c to c# Pin
8-Jul-02 6:35
suss8-Jul-02 6:35 

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.