Click here to Skip to main content
15,914,070 members
Home / Discussions / C#
   

C#

 
JokeRe: hi Pin
joon vh.3-Apr-07 1:27
joon vh.3-Apr-07 1:27 
GeneralRe: hi Pin
originSH3-Apr-07 2:47
originSH3-Apr-07 2:47 
QuestionHow can I determine total day size of a specific month? Pin
memix2-Apr-07 23:38
memix2-Apr-07 23:38 
AnswerRe: How can I determine total day size of a specific month? Pin
Christian Graus2-Apr-07 23:45
protectorChristian Graus2-Apr-07 23:45 
GeneralDateTime.DaysInMonth() is enough for me. Pin
memix3-Apr-07 0:13
memix3-Apr-07 0:13 
QuestionRemove row from tablelayoutpanel Pin
waddie12-Apr-07 23:20
waddie12-Apr-07 23:20 
AnswerRe: Remove row from tablelayoutpanel Pin
joon vh.2-Apr-07 23:33
joon vh.2-Apr-07 23:33 
GeneralRe: Remove row from tablelayoutpanel Pin
waddie13-Apr-07 0:09
waddie13-Apr-07 0:09 
Questionuser control properties given serialization error Pin
topcatalpha2-Apr-07 23:13
topcatalpha2-Apr-07 23:13 
QuestionHide Folder Pin
Ollie19862-Apr-07 22:45
Ollie19862-Apr-07 22:45 
AnswerRe: Hide Folder Pin
joon vh.2-Apr-07 23:13
joon vh.2-Apr-07 23:13 
GeneralRe: Hide Folder Pin
Ollie19863-Apr-07 1:45
Ollie19863-Apr-07 1:45 
Question[solved] Event problem Pin
User 26989672-Apr-07 22:26
User 26989672-Apr-07 22:26 
Hello,

I have the following problem: I have created my own TextBox class (valid inputs are only numbers => NumericTextBox). It's naturally derived from the .NET TextBox control. It works fine. In the next step I tried to create a control, which can be inserted into a ToolStrip with the designer of VS2005. So I derived from ToolStripControlHost and delivered in the constructor my NumericTextBox. In the abstract it works. Only numbers can be inserted, but the property MaxLength (inherited from the original TextBox) is not supported. For example I set MaxLength to 5 but I can input more than 5 characters (numbers). Has anybody an idea, why this doesn't work?

Alternate: I can derive my ToolStripNumericTextBox from ToolStripTextBox. This works fine, but now I have to maintain the code twice. Once for the normal NumericTextBox and once for the ToolStripNumericTextBox. Can I avoid this?

Greets
Patrick




-- modified at 10:08 Tuesday 3rd April, 2007
AnswerRe: Event problem Pin
WillemM3-Apr-07 1:13
WillemM3-Apr-07 1:13 
QuestionHelp here...allow the files display randomly Pin
Missy Glory2-Apr-07 22:20
Missy Glory2-Apr-07 22:20 
AnswerRe: Help here...allow the files display randomly Pin
Tamimi - Code2-Apr-07 22:34
Tamimi - Code2-Apr-07 22:34 
GeneralRe: Help here...allow the files display randomly Pin
Missy Glory2-Apr-07 23:02
Missy Glory2-Apr-07 23:02 
GeneralRe: Help here...allow the files display randomly Pin
joon vh.2-Apr-07 23:23
joon vh.2-Apr-07 23:23 
GeneralRe: Help here...allow the files display randomly Pin
Stefan Troschuetz3-Apr-07 0:00
Stefan Troschuetz3-Apr-07 0:00 
GeneralRe: Help here...allow the files display randomly Pin
joon vh.3-Apr-07 0:02
joon vh.3-Apr-07 0:02 
QuestionUpload multiple *.txt to remote server Pin
lygine ng lee chuang2-Apr-07 22:06
lygine ng lee chuang2-Apr-07 22:06 
AnswerRe: Upload multiple *.txt to remote server Pin
lygine ng lee chuang2-Apr-07 22:14
lygine ng lee chuang2-Apr-07 22:14 
AnswerRe: Upload multiple *.txt to remote server Pin
blackjack21502-Apr-07 22:45
blackjack21502-Apr-07 22:45 
GeneralRe: Upload multiple *.txt to remote server Pin
lygine ng lee chuang2-Apr-07 22:54
lygine ng lee chuang2-Apr-07 22:54 
GeneralRe: Upload multiple *.txt to remote server Pin
blackjack21503-Apr-07 21:09
blackjack21503-Apr-07 21:09 

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.