公共课计算 [英] Public class Computation

查看:76
本文介绍了公共课计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再次向我致敬,PingLocaHost :(
我想知道如何在vb.net类中创建数学函数:)
例如:
我有4个文本框和按钮. . .
名为txtnum1,txtnum2,txtnum3,txtnum4的文本框
名为btnAddition,btnSubtraction,btnMultiplication,btnDivision
的按钮 而且我有一个班级名称"public Class Computation".

我想知道如何创建加法,减法,
乘法函数,除法函数.
每个值都有私有属性,以便看起来更专业:)

这样,如果他们想要加,减,除,乘函数
用户输入到文本框中的所有数字,他们都可以根据需要的操作轻松地单击按钮.
所有逻辑计算都在该类上,并且im仅创建表示加法,减法,
形式的对象. 乘法函数,除法函数.
请在这里帮助我所有的编程专家!
感谢所有人:)

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 :)

推荐答案

此处 [< ^ ].


您不需要做任何看起来很专业"的事情. (不过,我很感谢您的微笑.)您需要自己专业,并编写良好的代码.首先想学习的是如何自己做事,而不希望保姆帮忙.其次,您需要学习提出足够的问题.您只能完全自己完成一些工作才能达到该水平.您应该选择足够容易的任务,这样您就可以自己应对这些任务,但又要有足够的挑战性,并逐步增加难度.这样的问题毫无意义.如果您不知道如何开始,请选择一个简单的任务.数百万开发人员是自学成才且成功的.您也可以做到.对于CodeProject,本节主要针对快速解答.因此我们期待相关的问题.

—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


这篇关于公共课计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆