Month: October 2013

Quick and dirty way of creating Numeric TextBox in .Net (C#)

Quick and dirty way of creating Numeric TextBox in .Net (C#)

Handle KeyDown event of the TextBox and set the e.Handled property to true if the character is not numeric.   Switch cases list all desired characters which will be displayed, rest of the characters are ignored. If additional characters are required, they may be included as switch cases. For instance, negative sign may be allowed…

Read More Read More

How to embed chrome browser in .net application

How to embed chrome browser in .net application

Chrome browser can be embedded in native application taking a hybrid approach to development where application is partly developed in native technology and partly in web. This has several advantages: Salvage the existing investment in HTML/Javascript projects. The part of application written in web technology is platform independent. This is very important due to variety…

Read More Read More