如何重设值 [英] How to reset values

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

问题描述

我正在为一家餐厅创建菜单列表.我需要代码来重置小计"值.和总计"返回到$ 0.00并清除所有先前订单的LABEL控件.我需要尽快获得此结果.感谢您的宝贵时间.

I am creating a menulist for a restaurant. I need the code to reset the values of "subtotal" and "total" back to $0.00 and clear the LABEL control of all previous order(S). I need this result ASAP. Thanks for your time.

推荐答案

0.00,并清除所有先前订单的LABEL控件.我需要尽快获得此结果.谢谢您的宝贵时间.
0.00 and clear the LABEL control of all previous order(S). I need this result ASAP. Thanks for your time.


您需要提供更多信息.您使用什么来存储值(数据集,自定义对象)?您在用什么编写这些内容(ASP,WinForms等)?您说您需要清除所有先前条目的标签控制,所有标签是打开一个表单(或页面)还是其他表单?

You need to give more information. What are you using to store the values (dataset, custom object)? What are you writing this in (ASP, WinForms, etc)? You say you need to clear the label control of all previous entries, are all the labels open one one form (or page), or different ones?


创建GUI- C#的Windows窗体应用程序(单页窗体)要使用清除"按钮进行重置,并删除所有以前的价格才能开始新订单.如果从comboBoxes(4)的CLEAR按钮中选择,则将在文本框或标签中将价格显示重置为0.00,以开始新的订单.
Creating a GUI - Windows Form Application in C#, Single page form, want to reset with the clear button and delete all previous prices in order to start a new order.  Selection if from comboBoxes(4) CLEAR button will reset price display in textbox or label back to 0.00 to start a new order.


这篇关于如何重设值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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