Click here to Skip to main content
15,919,434 members
Home / Discussions / C#
   

C#

 
GeneralRe: possible to convert text to handwriting graphics Pin
IrfanHaleem15-May-07 22:48
IrfanHaleem15-May-07 22:48 
GeneralRe: possible to convert text to handwriting graphics Pin
Christian Graus16-May-07 0:51
protectorChristian Graus16-May-07 0:51 
QuestionShowing fraction Pin
Muammar©15-May-07 21:52
Muammar©15-May-07 21:52 
AnswerRe: Showing fraction Pin
Muammar©15-May-07 21:53
Muammar©15-May-07 21:53 
GeneralRe: Showing fraction Pin
Vikram A Punathambekar15-May-07 22:13
Vikram A Punathambekar15-May-07 22:13 
GeneralRe: Showing fraction Pin
Arun.Immanuel15-May-07 23:59
Arun.Immanuel15-May-07 23:59 
QuestionCalling Function... Pin
Dotnetkanna15-May-07 21:47
Dotnetkanna15-May-07 21:47 
AnswerRe: Calling Function... Pin
Martin#15-May-07 22:12
Martin#15-May-07 22:12 
Hello,

I would inherit my TextBoxSpecial, which has all the features of only accepting numbers or letters. Then give it Property for switching to the mode you whant it to be.
This could be a enum for example:
public enum ModeTextBox
{
	numbers= 0,
	letters= 1,
}

private ModeTextBox _mode= ModeTextBox.numbers;
  
public ModeTextBox Mode
{
    get
    {
        return _mode;
    }
    set
    {
        _mode = value;
    }
}

This property can than be set from your button click event!

Hope it helps!

All the bset,

Martin
AnswerRe: Calling Function... Pin
Martin#16-May-07 4:09
Martin#16-May-07 4:09 
QuestionCollection Editor for HashTable Pin
Tushar Mahajan15-May-07 21:31
Tushar Mahajan15-May-07 21:31 
QuestionNeede Deployment @Windows application Help/Suggestion Pin
pashitech15-May-07 21:29
pashitech15-May-07 21:29 
QuestionRemoving Termination Characters from string Pin
Darkman_nofear15-May-07 21:28
Darkman_nofear15-May-07 21:28 
AnswerRe: Removing Termination Characters from string Pin
skatzteyp15-May-07 21:37
skatzteyp15-May-07 21:37 
GeneralRe: Removing Termination Characters from string Pin
Darkman_nofear15-May-07 21:42
Darkman_nofear15-May-07 21:42 
GeneralRe: Removing Termination Characters from string Pin
skatzteyp15-May-07 21:49
skatzteyp15-May-07 21:49 
GeneralRe: Removing Termination Characters from string Pin
Guffa15-May-07 21:56
Guffa15-May-07 21:56 
QuestionMDI problem... Pin
Aint15-May-07 21:23
Aint15-May-07 21:23 
AnswerRe: MDI problem... Pin
Pete O'Hanlon15-May-07 22:52
mvePete O'Hanlon15-May-07 22:52 
Questionusercontrol in datagridview in windows form Pin
StuckAgain15-May-07 21:04
StuckAgain15-May-07 21:04 
QuestionGAC Assembly Pin
Rahul.RK15-May-07 21:01
Rahul.RK15-May-07 21:01 
AnswerRe: GAC Assembly Pin
IrfanHaleem15-May-07 22:57
IrfanHaleem15-May-07 22:57 
QuestionMath.Round() ambiguity problem Pin
Muammar©15-May-07 20:53
Muammar©15-May-07 20:53 
AnswerRe: Math.Round() ambiguity problem Pin
mike montagne15-May-07 21:16
mike montagne15-May-07 21:16 
GeneralRe: Math.Round() ambiguity problem Pin
Muammar©15-May-07 22:50
Muammar©15-May-07 22:50 
GeneralRe: Math.Round() ambiguity problem Pin
mike montagne16-May-07 6:30
mike montagne16-May-07 6:30 

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.