Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: Show Windows Desktop, nothing else... Pin
Shorgov26-Oct-09 0:16
Shorgov26-Oct-09 0:16 
GeneralRe: Show Windows Desktop, nothing else... Pin
Naruki26-Oct-09 4:20
Naruki26-Oct-09 4:20 
QuestionHow to get contents of cache memory in c#? Pin
Swapnil 200925-Oct-09 23:24
Swapnil 200925-Oct-09 23:24 
AnswerRe: How to get contents of cache memory in c#? Pin
Abhishek Sur25-Oct-09 23:32
professionalAbhishek Sur25-Oct-09 23:32 
GeneralRe: How to get contents of cache memory in c#? Pin
Swapnil 200925-Oct-09 23:42
Swapnil 200925-Oct-09 23:42 
AnswerRe: How to get contents of cache memory in c#? Pin
Jaiprakash M Bankolli25-Oct-09 23:43
Jaiprakash M Bankolli25-Oct-09 23:43 
GeneralRe: How to get contents of cache memory in c#? Pin
Swapnil 200926-Oct-09 0:04
Swapnil 200926-Oct-09 0:04 
Questionproblem with custom control properties value Pin
Lyon Sun25-Oct-09 23:18
Lyon Sun25-Oct-09 23:18 
Hi, all,

I am doing with a custom control in WinForms, and there is one customed integer type property, say, currentLine, declared in that custom control class with the following code:
private int currentLine;

public int CurrentLine
{
    get { return currentLine; }
    set { currentLine = value; }
}

but this property's value should be restricted between 1 and 100.
How to make this happen, so that a value smaller than 1, or bigger than 100 is rejected to be entered in properties window at designer time?
Any suggestions are so much appreciated!! Thanks.

Br!

Sun
AnswerMessage Closed Pin
25-Oct-09 23:35
stancrm25-Oct-09 23:35 
GeneralRe: problem with custom control properties value Pin
Lyon Sun25-Oct-09 23:45
Lyon Sun25-Oct-09 23:45 
GeneralRe: problem with custom control properties value Pin
Lyon Sun26-Oct-09 0:01
Lyon Sun26-Oct-09 0:01 
AnswerRe: problem with custom control properties value Pin
Abhishek Sur25-Oct-09 23:42
professionalAbhishek Sur25-Oct-09 23:42 
GeneralRe: problem with custom control properties value Pin
Lyon Sun25-Oct-09 23:59
Lyon Sun25-Oct-09 23:59 
QuestionHow to get contents of cache memory in c#? Pin
snakeway42025-Oct-09 23:17
snakeway42025-Oct-09 23:17 
AnswerRe: How to get contents of cache memory in c#? Pin
Abhishek Sur25-Oct-09 23:34
professionalAbhishek Sur25-Oct-09 23:34 
QuestionOpening one file by two processes at same time in C# Pin
MikeSharp25-Oct-09 23:05
MikeSharp25-Oct-09 23:05 
AnswerRe: Opening one file by two processes at same time in C# Pin
Not Active25-Oct-09 23:16
mentorNot Active25-Oct-09 23:16 
AnswerRe: Opening one file by two processes at same time in C# Pin
Abhishek Sur25-Oct-09 23:29
professionalAbhishek Sur25-Oct-09 23:29 
QuestionHow to reference a DLL from a custom folder Pin
hirajhil25-Oct-09 22:22
hirajhil25-Oct-09 22:22 
AnswerRe: How to reference a DLL from a custom folder Pin
Christian Graus25-Oct-09 22:33
protectorChristian Graus25-Oct-09 22:33 
GeneralRe: How to reference a DLL from a custom folder Pin
hirajhil25-Oct-09 22:36
hirajhil25-Oct-09 22:36 
GeneralRe: How to reference a DLL from a custom folder Pin
Abhishek Sur25-Oct-09 22:52
professionalAbhishek Sur25-Oct-09 22:52 
GeneralRe: How to reference a DLL from a custom folder Pin
Giorgi Dalakishvili25-Oct-09 22:55
mentorGiorgi Dalakishvili25-Oct-09 22:55 
QuestionPowerShell Cmdlets Pin
satsumatable25-Oct-09 21:02
satsumatable25-Oct-09 21:02 
QuestionThanks for all Pin
Abdaqader25-Oct-09 20:37
Abdaqader25-Oct-09 20:37 

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.