对列表视图或列表框中的一组数字执行数学运算 [英] Performing mathematical operations on a set of numbers in a listview or listbox

查看:49
本文介绍了对列表视图或列表框中的一组数字执行数学运算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...

我正在为学校的项目工作创建一个n应用程序,在那里我需要创建一个大约六列的数据.第一列是日期.数据应该由我的应用程序的用户输入.

I am creating a n application for my project work in school where I need to create a data with figures of about six columns. first column is date. The data is supposed to be entered by the user of my application.

在此之后,用户必须按一个按钮来添加,减去,划分,绘制各个列中的所有图形.产生答案.就像Excel的工作原理一样.我似乎无法解决这个问题.

After which the user has to press a button to add, subtract, divide,ect all the figures in the various columns. To produce an answer. Just like how Excel works. I cant seem to get my head around it. 

有帮助吗?预先感谢

推荐答案

嗯,这是软件/IT项目吗?

hmm, is this an software / IT project?

首先创建一个数据模型.因此,创建类来存储您的信息.然后,您可以将对象绑定到控件.

Create a data model first. Thus create classes to store your information. Then you can bind your objects to your controls..

之后,用户必须按下一个按钮,以添加,减去,划分和绘制各个列中的所有图形.产生答案.
After which the user has to press a button to add, subtract, divide,ect all the figures in the various columns. To produce an answer.

那么,您的具体要求是什么?

Well, what are your concrete requirements?

就像Excel的工作方式一样.
Just like how Excel works.

为什么不使用Excel?

Why not using Excel?


这篇关于对列表视图或列表框中的一组数字执行数学运算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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