VB.NET:多种形式 [英] VB.NET: Multiple forms

查看:51
本文介绍了VB.NET:多种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我本周末有一个项目到期。对于这个特定项目,我们将使用多种形式。我对这个概念有点不稳定。所以这里是我们正在做的问题的描述。 (这应该是滑板设计师计算器)


创建一个应用程序,允许用户从表单中选择一个卡座,从表单中选择一个卡车组件,以及一个从表单轮组。应用程序还应该有一个表单,允许用户使用复选框选择任何杂项产品。应用程序应显示小计,销售税金额(6%)以及订单总额。不要对装配征收销售税。除了要求之外,还可以在表单中添加一个简单的菜单和一个SplashScreen。


他们给了我们各种各样的甲板/轮子等价格。所有这些信息都准备好了。除了创建多个表单之外,为这个表单启动代码的好方法是什么?

我们非常感谢任何帮助/建议。

解决方案

本网站的专家非常乐意帮助您解决问题,他们无法为您完成任务/计划。首先尝试自己的作业/计划并发布有关您遇到的任何困难或有关您不知道如何实现的特定代码功能的问题。


请阅读< a href =http://www.thescripts.com/forum/faq.php?faq=posting_guidelines\"target =_ blank>发布指南,特别是课程作业发布指南


然后当你准备发布一个新的这个帖子中的问题。


MODERATOR


我道歉。我真的不想找到任何人为我做这项工作。我问我应该从哪里开始。如果这是一个问题,那么我理解。

我在另一周有一个项目,我发布的方式几乎相同。我解释了我正在处理的问题,没有人说我不会这样开始。

无论如何,如果我违反这些条款,我会道歉。


< blockquote>


我道歉。我真的不想找到任何人为我做这项工作。我问我应该从哪里开始。如果这是一个问题,那么我理解。

我在另一周有一个项目,我发布的方式几乎相同。我解释了我正在处理的问题,没有人说我不会这样开始。

无论如何,如果我违反这些条款,我会道歉。



对不起,这是我们应该针对任何家庭作业问题发布的标准回复。有时看起来有点过头了。


问题是,我们有很多人只是粘贴在家庭作业中并添加请发给我代码。这会给我们带来道德问题,如果我们这样做,它就无法帮助他们,因为他们没有学会这个主题,只是复制了别人的工作。此外,由于教授等也知道这样的网站,学生们过去曾经遇到过这种情况,结果最终导致失败。


那个如果说,我相信你会发现这里的大多数人都会乐意尝试帮助你理解这个主题,只要你付出了认真的努力。


至于使用多个表格,我想你可能需要更多地了解问题所在。但是这里有几个一般提示...


如果你可以创建一个表单,那么你可以轻松地创建另一个表单,所以我会假设创建表格不是问题。在表单之间传递数据通常使用两种方法之一。您的代码(在项目中的任何位置)显式引用表单上的控件来访问其属性(例如 MyString = Form1.Text1.Text ),或者在代码模块中定义公共变量(不是表单),并使用它们来保存信息,以便您可以在代码中的任何地方使用


hello all,
I have a project due by the end of the this week. with this particular project, we are to use "multiple forms." I''m a little shaky on this concept. So here is the description of the problem we are doing. (this is supposed to be a skateboard designer-calculator)

"Create an application that allows the user to select one deck from a form, one truck assembly from a form , and one wheel set from a form. The application should also have a form that allows the user the select any miscellansous product, using check boxes. The application should display the subtotal, the amount of sales tax (at 6%), and the total of the order. Do not apply sales tax to assembly." In addition to the requirements, add a simple menu and a SplashScreen to the form.

They gave us a variety of decks/wheels etc with prices. So all that information is ready. Besides creating multiple forms, what would be a good way to start the code for this one?
Any help/suggestions is/are appreciated.

解决方案

The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don''t know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

Then when you are ready post a new question in this thread.

MODERATOR


I apologize. I really wasn''t looking for anyone to actually do the work for me. I asked where/how I should start. If that is a problem, then I understand.
I had a project the other week and I posted pretty much the same way. I explained the problem I was working on and no one said I coulnd''t start it out that way.
Regardless, I apologize if I violated the terms.


I apologize. I really wasn''t looking for anyone to actually do the work for me. I asked where/how I should start. If that is a problem, then I understand.
I had a project the other week and I posted pretty much the same way. I explained the problem I was working on and no one said I coulnd''t start it out that way.
Regardless, I apologize if I violated the terms.

Yeah sorry, that''s a standard response we''re supposed to post for any homework questions. Sometimes it seems a bit over the top.

The problem is, we get tons of people who simply paste in a homework assignment and add "please send me the code". This causes ethical problems for us, and it doesn?t help them if we do it, since they haven?t learned the subject, just copied someone else?s work. Plus, since the professors and so on also know about sites like this, students have been caught at this sort of thing in the past, and ended up being failed as a result.

That being said, I believe you?ll find most people here will be happy to try and help you understand the subject, as long as you are making a serious effort.

As for using multiple forms, I think you may need to fill us in a bit more on what the problem is. But here are a couple of general tips...

If you can create a form, then you can create another one just as easily, so I''ll assume creating the forms isn''t a problem. Passing data between forms would generally use one of two methods. Either your code (anywhere in the project) explicitly refers to the controls on the form to access their properties (such as MyString = Form1.Text1.Text), or you define Public variables in a code module (not a form), and use them to hold information so you can use it anywhere in your code.


这篇关于VB.NET:多种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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