Jump to content

CODING

Execute0426

HI GUYS, I NEED YOUR HELP PLEASE....... 

I NEED TO REDUCE THE VALUE IN TEXTBOX1 BY INPUTTING SOME VALUE IN TEXTBOX2..... I HOPE YOU CAN HELP ME :)

 

PS: IM USING C#

Link to comment
Share on other sites

Link to post
Share on other sites

what are the value types? ints, strings, floats? what do you have currently?

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
Share on other sites

Link to post
Share on other sites

UHMMMM... ACTUALLY MY THESIS IS ALL ABOUT LIBRARY SYSTEM. SO EXAMPLE, THE COPY OF ONE BOOK IS 5 THEN THE BORROWER BORROWED 2 BOOKS. SO I HAVE TO INPUT IN TEXTBOX2. WHILE I'M INPUTTING SOME VALUE IN TEXTBOX2 THE VALUE OF TEXTBOX1 IS REDUCING AT THE SAME TIME. 

 

SORRY FOR MY ENGLISH. I HOPE YOU UNDERSTAND MY EXPLANATION.

Link to comment
Share on other sites

Link to post
Share on other sites

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
Share on other sites

Link to post
Share on other sites

when do you retrieve and store the value from textbox1?

do you need the ability to change the value of textbox1 or is it calculated on-the-fly?

how do you validate the changes, e.g. when you enter a letter or -2, for example?

at what point do you apply and save the changes?

 

btw. I don't mean to be rude, but wouldn't MSDN be a better place to get help?

 

Link to comment
Share on other sites

Link to post
Share on other sites

 

2 minutes ago, tridy said:

when do you retrieve and store the value from textbox1?

do you need the ability to change the value of textbox1 or is it calculated on-the-fly?

how do you validate the changes, e.g. when you enter a letter or -2, for example?

at what point do you apply and save the changes?

 

btw. I don't mean to be rude, but wouldn't MSDN be a better place to get help?

 

uhmmm... what do you suggest?

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Execute0426 said:

 

uhmmm... what do you suggest?

I suggest you read the link posted as that gives you an example of doing exactly what you're asking.

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
Share on other sites

Link to post
Share on other sites

22 minutes ago, Execute0426 said:

I NEED TO REDUCE THE VALUE IN TEXTBOX1 BY INPUTTING SOME VALUE IN TEXTBOX2..... I HOPE YOU CAN HELP ME :)

TEXTBOX2.TEXT = TEXTBOX1.TEXT; TEXTBOX1.TEXT = "";

OTHER THAN THAT, PLEASE GIVE MORE INFORMATION.

 

22 minutes ago, Execute0426 said:

PS: IM USING C#

SORRY FOR THAT!

Write in C.

Link to comment
Share on other sites

Link to post
Share on other sites

 

3 minutes ago, Dat Guy said:
Quote

PS: IM USING C#

 

SORRY FOR THAT!

screaming & trolling

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×