为Nina的Cookie源C#编写Windows窗体程序 [英] Write a Windows Form program for a Nina's Cookie Source C#

查看:59
本文介绍了为Nina的Cookie源C#编写Windows窗体程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用户将能够从至少三种曲奇类型中进行选择,每种曲奇的价格各不相同.

用户可以选择1/2、1、2或3打cookie.

当用户选择其他Cookie类型和/或数量时,调整最终显示的价格.

允许用户从MonthCalendar中选择订单日期.

假设运输需要三天,请显示订单的预计到达日期.

包括尽可能多的标签,以便用户了解如何使用表格.

包括至少一个其他功能控件,例如按钮(退出按钮)或具有退出和关于选择的MenuStrip.

内部文档.

再一次,我不知道我在做什么.请帮助我!

The user will be able to select from at least three types of cookies, each with a different price per dozen.

The user can select 1/2, 1, 2, or 3 dozen cookies.

Adjust the final displayed price as the user chooses a different cookie types and/or quantities.

Allow the user to select an order date from a MonthCalendar.

Assuming that the shipping takes three days, display the estimated arrival date for the order.

Include as many labels as necessary so that the user understands how to use the Form.

Include at least one other functional control such as a button (Exit button) or a MenuStrip having an Exit and an About selection.

Internal Documentation.

Once again I don''t know what I am doing with this. PLEASE HELP ME!!

推荐答案

这并不困难.
到目前为止,您需要的所有信息都在您的课程笔记中.

首先要做的是将其分解为简单的任务,然后依次查看每个任务:
1)Windows Forms程序,C#-简单!您知道该怎么做:启动VS,New Project,C#Winforms,明智的名称,确定"按钮.
2)用户可以选择cookie类型.因此,您需要一组单选按钮或一个ComboBox.选择一个,然后在表格上进行排序.
3)与1/2、1、2或3打cookie相同-选择输入,拖放-使用明智的名称而不是VS默认值,因此您知道以后要做什么.
4)放在日历上,并贴上标签以显示交货日期
5)处理适当的事件以更改并显示交货日期.
6)退出/菜单-以您较满意的为准.同样,这是拖放,重命名操作,然后双击双击连接事件.
7)随便评论所有内容.

测试并提交!

有什么困难?只是不要惊慌,按顺序做事.随时尝试testign-在进入下一阶段之前,请确保它能正常工作.
It''s not difficult.
All the information you need is in your course note so far.

First thing to do is to break it down into simple tasks, then look at each on in turn:
1) Windows Forms program, c# - easy! You konw how to do that bit: Fire up VS, New Project, C# Winforms, sensible name, OK button.
2) User can select cookie types. So, you need either a group of radio buttons, or a ComboBox. Pick one, and sort it out on your form.
3) Same for the 1/2, 1, 2, or 3 dozen cookies - pick an input, drag an drop - use sensible name not the VS defaults, so you know what you are doing later.
4) Drop on a Calendar, and a label to show delivery date
5) Handle the appropriate events to change and display the delivery date.
6) Exit / menu - whichever you are more comfortable with. Again, this is drag, drop, and rename, then hook up the events by double clicking, pretty much.
7) Comment everything as you go.

Test, and submit!

What is so difficult? Just don''t panic, and do things in order. Try testign often as you go - make sure it works before you move on to the next stage.


这篇关于为Nina的Cookie源C#编写Windows窗体程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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