I have questions for a C# windows form application.
-
How can I put control over a textbox so that I can type only texts in the textbox when the input property is set to text only and type only numbers (int or float or uint) when the input property is set to numbers only and get the alert that the ( Only texts/ numbers)? I want to know the property name of the textbox in visual studio 2005/2008 also the alert setting process.
-
Suppose I use a combobox which label is Sex and the items of the combobox are Male and Female. How can I set the Male item default selected?