Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi its me again, PingLocaHost :(
i want to know how to create a mathematical function in vb.net class :)
example:
i have 4 textbox and button . . .
TextBox named txtnum1,txtnum2,txtnum3,txtnum4
Buttons named: btnAddition, btnSubtraction ,btnMultiplication, btnDivision
and i have a Class name "public Class Computation".

i want to know how to create a add function , subtraction function,
Multiplication Function, Division function .
with Private property to each value so that its look like more professional :)

so that if they want to add, subtract, divide, Multiply Function
all number that put into textbox by the user they easily click a button according to there want a action.
all logical computation is on the class and im only create a object to the form that represent the add function , subtraction function,
Multiplication Function, Division function .
please help me all programming expert here !
thank all :)
Posted
Updated 4-Jun-11 16:06pm
v3
Comments
Sergey Alexandrovich Kryukov 5-Jun-11 17:34pm    
There is not question here.
--SA

Start here[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Jun-11 17:43pm    
My 5 for right link, but it won't help much.
Please see my answer.
--SA
You don't need to make anything which "looks professional". (I appreciate your smile though.) You need to be professional yourself and write a code of good. First think to learn is how to do things on your own not hoping for a help from a babysitter. Secondly, you need to learn to ask adequate questions. You can only achieve that level by doing some jobs totally on your own. You should pick tasks that are easy enough so you can cope with them on your own, but challenging enough, adding difficulty step by step. The questions like that are pointless. If you don't know how to start, pick an easier task. Millions developers are self-taught and successful. You can do it, too. As to CodeProject, this section is oriented to quick answers; so we expect relevant questions.

—SA
 
Share this answer
 
Comments
R. Giskard Reventlov 6-Jun-11 3:19am    
Fair point: 5
Sergey Alexandrovich Kryukov 6-Jun-11 11:10am    
Thank you,
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900