Click here to Skip to main content
15,921,279 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to get Remote Machine's hardware resources Pin
zinc_z12-Jun-07 7:55
zinc_z12-Jun-07 7:55 
GeneralRe: How to get Remote Machine's hardware resources Pin
Shy Agam12-Jun-07 8:54
Shy Agam12-Jun-07 8:54 
Questioncall .css file into c# Pin
matjame11-Jun-07 23:02
matjame11-Jun-07 23:02 
AnswerRe: call .css file into c# Pin
Colin Angus Mackay12-Jun-07 0:36
Colin Angus Mackay12-Jun-07 0:36 
GeneralRe: call .css file into c# Pin
matjame12-Jun-07 1:09
matjame12-Jun-07 1:09 
GeneralRe: call .css file into c# Pin
Colin Angus Mackay12-Jun-07 1:23
Colin Angus Mackay12-Jun-07 1:23 
Questionhow to take valid input in NumericUpDown control Pin
Rocky#11-Jun-07 22:38
Rocky#11-Jun-07 22:38 
AnswerRe: how to take valid input in NumericUpDown control Pin
Shy Agam12-Jun-07 0:41
Shy Agam12-Jun-07 0:41 
You can try the following:

- Create a new component, which inherits System.Windows.Forms.NumericUpDown.
- In your new component override the OnTextBoxKeyDown() method, and inside it put code like this:
protected override void OnTextBoxKeyDown(object source, KeyEventArgs e)
{
    if (e.KeyCode != Key.Decimal || !Text.Contains("."))
        base.OnTextBoxKeyDown(sender, e);
}
This should disable calls to base.OnTextBoxKeyDown() when the user presses the decimal key, and a decimal point is already present.

Regards,
Shy.
GeneralRe: how to take valid input in NumericUpDown control Pin
PandemoniumPasha12-Jun-07 1:02
PandemoniumPasha12-Jun-07 1:02 
GeneralRe: how to take valid input in NumericUpDown control Pin
Rocky#12-Jun-07 2:25
Rocky#12-Jun-07 2:25 
GeneralRe: how to take valid input in NumericUpDown control Pin
Shy Agam12-Jun-07 2:26
Shy Agam12-Jun-07 2:26 
GeneralRe: how to take valid input in NumericUpDown control Pin
PandemoniumPasha13-Jun-07 0:37
PandemoniumPasha13-Jun-07 0:37 
GeneralRe: how to take valid input in NumericUpDown control Pin
Rocky#12-Jun-07 2:14
Rocky#12-Jun-07 2:14 
GeneralRe: how to take valid input in NumericUpDown control Pin
Rocky#14-Jun-07 0:44
Rocky#14-Jun-07 0:44 
GeneralRe: how to take valid input in NumericUpDown control Pin
Shy Agam14-Jun-07 2:09
Shy Agam14-Jun-07 2:09 
GeneralRe: how to take valid input in NumericUpDown control Pin
Rocky#14-Jun-07 2:15
Rocky#14-Jun-07 2:15 
GeneralRe: how to take valid input in NumericUpDown control Pin
Rocky#14-Jun-07 2:16
Rocky#14-Jun-07 2:16 
QuestionMy computer Explorer Pin
Jayesh Talsaniya11-Jun-07 22:28
Jayesh Talsaniya11-Jun-07 22:28 
AnswerRe: My computer Explorer Pin
Pete O'Hanlon11-Jun-07 23:19
mvePete O'Hanlon11-Jun-07 23:19 
Question[XAML Beginner] how to customize my list box? Pin
Super Lloyd11-Jun-07 21:54
Super Lloyd11-Jun-07 21:54 
QuestionIs it possible to have TabControl without the Tab to click on? Pin
Khoramdin11-Jun-07 21:46
Khoramdin11-Jun-07 21:46 
GeneralRe: Is it possible to have TabControl without the Tab to click on? Pin
Martin#11-Jun-07 21:51
Martin#11-Jun-07 21:51 
GeneralRe: Is it possible to have TabControl without the Tab to click on? Pin
Khoramdin11-Jun-07 22:17
Khoramdin11-Jun-07 22:17 
AnswerRe: Is it possible to have TabControl without the Tab to click on? Pin
Martin#11-Jun-07 22:31
Martin#11-Jun-07 22:31 
QuestionHow to Add an .msi file to a setup project????? Pin
nelluru11-Jun-07 21:12
nelluru11-Jun-07 21:12 

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.