Click here to Skip to main content
15,904,652 members
Home / Discussions / C#
   

C#

 
GeneralRe: app config file issue Pin
Dave Kreskowiak7-Nov-08 13:19
mveDave Kreskowiak7-Nov-08 13:19 
QuestionThreading Pin
caradri30-Oct-08 3:25
caradri30-Oct-08 3:25 
AnswerRe: Threading Pin
Eddy Vluggen30-Oct-08 4:10
professionalEddy Vluggen30-Oct-08 4:10 
AnswerRe: Threading Pin
Giorgi Dalakishvili30-Oct-08 4:13
mentorGiorgi Dalakishvili30-Oct-08 4:13 
QuestionModal Dialog Behavior Problem Pin
selcuks30-Oct-08 3:19
selcuks30-Oct-08 3:19 
QuestionCan somebody translate this and tell me what it means Pin
netJP12L30-Oct-08 2:53
netJP12L30-Oct-08 2:53 
AnswerRe: Can somebody translate this and tell me what it means Pin
led mike30-Oct-08 6:02
led mike30-Oct-08 6:02 
AnswerRe: Can somebody translate this and tell me what it means Pin
Dave Kreskowiak30-Oct-08 6:15
mveDave Kreskowiak30-Oct-08 6:15 
netJP12L wrote:
I am wondering if there is a way (perhaps through Attributes) that I can indicate to a PropertyGrid that I want a certain Property (which is an int) of a class MyClass to be limited to a given range, say 0-10.


The PropertyGrid doesn't do that. Validation code should be in the property's setter, not in the Grid. The only way you could possibly do this is to implement your own UITypeEditor[^]. Again, this is NOT recommended just to limit the range of a value.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionForcing Usercontrol to forward focus to its current child control Pin
AndrusM30-Oct-08 2:28
AndrusM30-Oct-08 2:28 
QuestionCannot implicitly convert type 'System.DateTime' to 'string' error is rising Pin
Samiullah30-Oct-08 1:20
Samiullah30-Oct-08 1:20 
AnswerRe: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising Pin
TommyTomToms30-Oct-08 1:23
TommyTomToms30-Oct-08 1:23 
AnswerRe: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising Pin
CPallini30-Oct-08 1:28
mveCPallini30-Oct-08 1:28 
GeneralRe: Cannot implicitly convert type 'System.DateTime' to 'string' error is rising Pin
EliottA30-Oct-08 2:17
EliottA30-Oct-08 2:17 
QuestionHow i can connect with MySql Database Pin
wasimsharp30-Oct-08 1:02
wasimsharp30-Oct-08 1:02 
AnswerRe: How i can connect with MySql Database Pin
Sami Sammour30-Oct-08 2:36
Sami Sammour30-Oct-08 2:36 
GeneralRe: How i can connect with MySql Database Pin
wasimsharp30-Oct-08 18:06
wasimsharp30-Oct-08 18:06 
QuestionChecked & unChecked event for tree view using javascript Pin
anithagaraga30-Oct-08 0:20
anithagaraga30-Oct-08 0:20 
AnswerWrongForumException detected... Pin
Mbah Dhaim30-Oct-08 0:34
Mbah Dhaim30-Oct-08 0:34 
AnswerRe: Checked & unChecked event for tree view using javascript Pin
kirri003730-Oct-08 2:51
kirri003730-Oct-08 2:51 
AnswerRe: Checked & unChecked event for tree view using javascript Pin
Paul Conrad30-Oct-08 4:26
professionalPaul Conrad30-Oct-08 4:26 
Question[Message Deleted] Pin
DJ24530-Oct-08 0:18
DJ24530-Oct-08 0:18 
AnswerRe: Changing a datagridview's combobox items based on another combobox Pin
leppie30-Oct-08 0:46
leppie30-Oct-08 0:46 
Questionref parameter Pin
arkiboys29-Oct-08 23:45
arkiboys29-Oct-08 23:45 
AnswerRe: ref parameter Pin
Mbah Dhaim30-Oct-08 0:12
Mbah Dhaim30-Oct-08 0:12 
GeneralRe: ref parameter Pin
arkiboys30-Oct-08 3:20
arkiboys30-Oct-08 3:20 

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.