Blog

Sandwich Builder Form

Sandwich Builder Form


 

Sandwich Builder Form

Field: Computer Science
This should give you some experience creating a web application that includes a simple HTML page with a form that is processed by an ASPX server-side page.

Sandwich Builder Form
CIS 3342 Project 1 – Sandwich Builder Form
The goal of this assignment is to give you some experience creating a web application that includes a simple HTML page with a form that is processed by an ASPX server-side page.

Requirements:

1. Create a simple HTML page (sandwich_builder.html) and design the user interface, which will contain the HTML input form.

a. Add simple HTML form controls (HFCs) for the user to enter their name and phone number.

b. Add an HTML form control drop-down box (select/option list) or radio button group to allow the customer to select the size of the sandwich.

c. Add HTML form controls that allows the customer to make selections and customize their sandwich.

i. Toaster or not toasted

ii. Spreads or sauces

iii. Checkboxes for lettuce, tomato, onions, pickles, etc… The checkboxes will allow the customer to choose as many as they like.

iv. Checkboxes premium additions like bacon, extra cheese, extra meat, etc… The checkboxes will allow the customer to choose as many as they like.

v. Meal option that includes a drink and some side of their choice (chips, fruit, cookie).

vi. Option to tip the sandwich build artist. The tip will get added to the total cost of the order during server-side processing. Use a textbox to allow the customer to enter a numerical value for the tip. A blank textbox would signify the customer is not including a tip.

vii. Provide at least 5 choices for each of the above categories.

viii. You must use a mixture of drop-down boxes, radio button groups, and checkboxes to allow the user to build their customized sandwich. This means you cannot use a drop-down box for everything.

2. Server-side processing

a. The ASPX page only needs to contain a simple ASPX label or labels (WFC) to display the necessary output to the customer.

b. Retrieve the values for all form controls using the Request object.

c. Display the user’s order with all their selections.

d. Calculate and display the cost for the order including tax and tip.

i. You should assign prices for each option.

ii. Display the breakdown for the order (cost of each item / choice, tax amount, tip amount, and grand total.)

 

3. Good Design:

a. Make your presentation clear to the user, providing on-screen instructions wherever needed both for data entry and output.

b. You need to use a proper naming convention for all controls and in your code. I expect you to properly name your classes, variables, methods, etc…

c. You must use component-based software design. This means writing as much code in classes and functions of classes instead of in the GUI.

4. Hint: you will need the HTML Form tag to be setup properly for this to work. The method and action attributes are the most important. The method attribute indicates the type of HTTP Request and how the form’s data will be sent. The POST method sends the form’s data in the body of the HTTP Request and the GET method sends the form’s data in the URL of the HTTP Request. The action attribute indicates the page that will process the form. <FORM id=”frmSandwichBuilder” method=”post” action=”SomePage.aspx” >

Submission: You need to publish your web application project to the cis-iis2 web server, upload your code to Blackboard, and provide the URL to your web application’s start page (Home Page / Table of Contents Page). Make sure a current version of your solution is located in your G:cis3342 folder. Projects that are not submitted properly will not be graded. The grade for the required elements is based on the published version of your web application. This means the elements must work from the published web application, not just the solution submitted through Blackboard. It’s important to make sure your published web application is the current version and that everything works. You shouldn’t publish to the Project folder after the project has been submitted. Otherwise, it will be considered late or may not be accepted if it’s after the deadline. If you make changes to your project, you will need to republish and resubmit the project. Generally, you shouldn’t publish or make changes until after you receive a grade. You need to zip the root folder for your solution into a single zip file and submit the assignment in Blackboard. To submit the assignment, you need to click the Assignment’s Title “Project 1” to view the submission form and upload the file.

Make sure you properly submit your assignment and that it works. Programs that don’t run or don’t contain all the necessary files will not be graded and marked late.

Please be sure to save your work periodically as you proceed and also back it up. You may want to store it on your flash drive. If you are going to zip an application in order to store it, BE SURE TO FIRST CLOSE Visual Studio. If you do store information on your flash drive be sure to copy it to a hard drive on your computer before working with the project.

Analyze trends in digital information

Analyze trends in digital information

Computer Science

Discipline/Course Specific Learning Outcomes fulfilled:

· Communicate online in various media and genres — such as wikis, blogs, social networking sites and discussion boards — evaluating and selecting the appropriate register for the audience and the information being conveyed

· Use information to provide evidence for a claim, understanding the importance of authority, context, and attribution

· Create a project or presentation in digital format, integrating appropriate illustrations and/or audio-visual enhancements and links to web sources

· Analyze trends in digital information

After preparing to participate by reading and/or viewing this week’s resources, respond to the prompt below by going to the Blog and creating a new entry. If you would like, you can then respond to a post made by one of your peers. For more information on how your work will be evaluated, see the blog rubric in Course Information.

COM 110: Week 4 Summary

Duration: (1:25) User: n/a – Added: 8/2/16

YouTube URL: http://www.youtube.com/watch?v=uQ8fyMGx14I

Hi Students, welcome to the week four unit on blogging and social networking. The fascination with self-publication that was revealed in the early days of the internet shows no sign of abatement, although it continues to evolve.  The blog format used by individuals in the past has morphed into a plethora of posting options, from live videos to photos that disappear to the 140-character Twitter post, whose content can reflect anything from self-absorbed silliness to political resistance.  The big winners are the social media behemoths like Facebook, Twitter, and Instagram, all vying for readers and clicks.  As The Atlantic put it in a 2015 article, “those social networks got so good at their job that they became coursing rivers of reader attention, worth billions of dollars—meaning that they can redirect a tiny bit of that flow, an amount unnoticeable to them, and refashion entire industries.” In this unit you have the opportunity to choose from a list of articles about all aspects of this ongoing seismic shift, and to reflect on the articles you read in a blog post.

This week Tasks:

1. Watch the Unit Summary video.

2. Read six of the articles listed.

3. Post to the Class Blog about the readings you chose; include an image.

Required Reading:

Read any six of the following articles. Since you get to choose which articles you want to read this week, you might want to review the titles and skim a bit before you begin, and then read strategically, picking some that stick to a theme, or that are about topics you want to explore…or you could just dip into the list at random.

1. How I learned to Love Twitter, Margaret Atwood, The Guardian 4/7/10

https://www.theguardian.com/commentisfree/cifamerica/2010/apr/07/love-twitter-hooked-fairies-garden

2. Gladwell vs. Shirky: A Year Later, Scoring the Debate Over Social-Media Revolutions, Wired, 12/27/11

https://www.wired.com/2011/12/gladwell-vs-shirky/

3. Where Weiner Went Wrong, Jami Floyd, WNYC, 6/17/11

http://www.wnyc.org/story/141350-where-weiner-went-wrong/

4. Why Chomsky is Wrong About Twitter, Salon.com, 10/23/11

http://www.salon.com/2011/10/23/why_chomsky_is_wrong_about_twitter/

5. Pinterest, Tumblr and the Trouble with ‘Curation’, Carina Chocano, New York Times Magazine 7/20/12

http://www.nytimes.com/2012/07/22/magazine/pinterest-tumblr-and-the-trouble-with-curation.html?smid=pl-share

6. Social Networks Can Affect Voter Turnout, Study Finds, John Markoff, New York Times 9/12/12

http://www.nytimes.com/2012/09/13/us/politics/social-networks-affect-voter-turnout-study-finds.html?smid=pl-share

7. Tumblr is Not What You Think, Adam Rifkin, Techcrunch, 2/18/13

https://techcrunch.com/2013/02/18/tumblr-is-not-what-you-think/

8. Which Should I Leave First: Twitter or Facebook? Paul Mason, The Guardian (UK) 8/19/2013

https://www.theguardian.com/commentisfree/2013/aug/19/leave-twitter-facebook-paul-mason

9. Why Are We Still on Facebook?, Maria Konnikova, The New Yorker, 2/4/14

http://www.newyorker.com/business/currency/why-are-we-still-on-facebook

10. Social Media and the ‘Spiral of Silence’ Keith Hampton et. al., Pew Research Internet Project, 8/2014

http://www.pewinternet.org/2014/08/26/social-media-and-the-spiral-of-silence/#fn-11806-1

11. Reclaiming Our (Real) Lives from Social Media, Nick Bilton, The New York Times 7/16/2014

https://www.nytimes.com/2014/07/17/fashion/reclaiming-our-real-lives-from-social-media.html

12. 5 Crazy Ways Social Media is Changing Your Brain Right Now, AsapSCIENCE, YouTube.com 9/7/2014

https://www.youtube.com/watch?v=HffWFd_6bJ0

13. Are Selfies a Sign of Narcissism and Psychopathy?, Gwendolyn Seidman, Psychology Today, 1/8/15

https://www.psychologytoday.com/blog/close-encounters/201501/are-selfies-sign-narcissism-and-psychopathy

14. What Blogging Has Become, Robinson Meyer, The Atlantic, 2/26/15

https://www.theatlantic.com/technology/archive/2015/02/what-blogging-has-become/386201/

15. Inside the Isis Social Media Campaign. Lauren Walker, Newsweek, 3/6/15

http://www.newsweek.com/inside-isis-social-media-campaign-312062

16. Who Spewed that Abuse? Anonymous Yik Yak App Isn’t Telling, Jonathan Mahler, New York Times, 3/8/2015

https://www.nytimes.com/2015/03/09/technology/popular-yik-yak-app-confers-anonymity-and-delivers-abuse.html

17. Meet the Instamom, a Stage Mother for Social Media, Hayley Krischer, New York Times, 11/14/2015

https://www.nytimes.com/2015/11/15/fashion/meet-the-instamom-a-stage-mother-for-social-media.html?smid=pl-share

18. When Presidential Candidates Go Too Far on Social Media, Nick Corasaniti, New York Times, 12/29/2015

https://www.nytimes.com/2015/12/30/us/politics/social-media-election-2016.html?smid=pl-share

19. Ghosts in the Machine: Social media has changed the way we mourn, for the better. Jenna Wortham, New York Times, 12/23/2015

https://www.nytimes.com/2015/12/27/magazine/ghosts-in-the-machine.html?smid=pl-share

20. Who Controls Your Facebook Feed, Will Oremus, Slate, 1/3/16

http://www.slate.com/articles/technology/cover_story/2016/01/how_facebook_s_news_feed_algorithm_works.html

21. Social Media Trends 2016, Layla Revis, Huffington Post, 1/5/16

http://www.huffingtonpost.com/layla-revis/social-media-trends-2016_b_8914190.html

22. Why Microsoft Likes LinkedIn, Quentin Hardy, New York Times, 6/14/16

https://www.nytimes.com/2016/06/15/technology/why-microsoft-likes-linkedin.html?smid=pl-share

23. 5 Facts About Twitter at Age 10,  Drew DeSilver, Pew Research Center, 3/18/16

http://www.pewresearch.org/fact-tank/2016/03/18/5-facts-about-twitter-at-age-10/

24. Coming soon: express even more in 140 characters, Todd Sherman, Twitter Blog, 5/24/16

https://blog.twitter.com/official/en_us/a/express-even-more-in-140-characters.html

Assignment:

After reading (select six of the articles, go to the Class Blog and post your thoughts.  Remember, everyone will have read a different set, so be explicit in talking about the articles you read.  Add some visual interest to your blog by including an image that is thematically related to this week’s topic, either an image you saved to your computer or a screenshot that you took.  You might grab a screenshot of a post on Twitter, or of a chart or graph from one of the articles you read, or of any evocative image related to social networking. (See optional materials if you need help grabbing a screenshot or uploading an image.) Here’s an example:

C:UsersUserAppDataLocalMicrosoftWindowsINetCacheContent.Wordblog4img.jpg

Here are some questions to help you get started in composing your blog post.  You do not need to answer all or even most of these questions, but read through them before you begin for help in framing your post:

· How has social networking evolved in the past 10+ years?

· What is the appeal of social networking and of publicly sharing private information?

· In what ways is this online content different from the social engagement of the past, and in what ways is it similar?

· What are some of the demographic differences among users of various social networking platforms?

· What does the growth and change in social networking mean for big business, for news organizations, for governments and politicians, and for ordinary individuals?

· How do companies and news organizations use blogs now, and what attracts users to “follow” or “friend” an organization’s posts?

· How is micro-blogging on sites like Tumblr and Twitter different from the blogs of the past?

Need Someone To Write A Word Essay To Apply To A School?

Need Someone To Write A Word Essay To Apply To A School?

Need Someone To Write A Word Essay To Apply To A School?

Field: English – Article writing

I am applying to fashion institute of technology. They want me to submit an essay my essay should answer the following questions: What makes you a perfect candidate for FIT? Why are you interested in the major you are applying to? The essay is also your chance to tell us more about your experiences, activities and accomplishments. (No more than 750 words, please.) If you are a transfer student, you will be prompted to submit information about your in-progress courses, including course name and numbering and the name of the school you are currently attending.

 

Here are the 10 main key points i want on my essay

 

1) My PASSION for international trade in the fashion industry why i am so interested in fashion trade internationally and dreaming about attending FIT and how i went to the military to be able to attend FIT using my benefit.

 

2) Using F.I.T as a tool of motivation to get out of the military with an honrable discharge to follow my dreams into pursuing an education at FIT. I’ve been waiting since high school for this opportunity.

 

3)Currently attending Houston community college gaining an associates in business this fall of 2017 and transferring to F.I.T.

 

4)Mention how I take 6 college courses this semester which include ARTS 1301, GEOG 1301, MATH 1325, SOCI 1301, SPCH 1315 & SPCH 1321. Please mention how i decided to give up working to focus on school this semester to increase my gpa and improve my chances into getting into F.I.T.

 

5)Conclude how i hope F.I.T entrusts in me and understand that i have the background of discipline, drive,creativity and innovative thinking and individuality that

Thesis Proposal – Self Driving Vehicles

Thesis Proposal – Self Driving Vehicles

Thesis Proposal – Self Driving Vehicles

FIVE

Field: Social Science
SOURCES:6

 

Topic and Thesis Proposal – Self Driving Vehicles You will need to define the chosen topic, provide a brief description of the emergent technology, and write a thesis statement. (1 page) Each proposal should include the following items: 1. The name and a brief description of the emergent technology selected 2. A thesis statement (Please note that a thesis sentence presents the central idea of the paper. It must always be a complete, grammatical sentence, it must be specific and brief, and it must express the point of view you are taking on the subject. This thesis statement will be included in the introduction of your final report.) Historical Timeline and Predecessor Assessment Draft You will submit a draft of your Historical Timeline and Predecessor Assessment. This portion of the Course Project will include a historical timeline that diagrams at least three predecessors to the emergent technology and a written assessment explaining how these technologies influenced the development of the current technology (roughly two pages, APA format). This section should include the following: A visual historical timeline that diagrams at least three predecessors to the emergent technology An assessment on how these three technologies influenced the development of the current technology In-text APA-formatted citations with a reference page The assessment should be well written and should incorporate proper grammar and no spelling errors. It should incorporate an introduction, a body, and a conclusion. References You will assemble at least five scholarly academic references that will be used to write your course research. You will need to list

 

Need Done Right Away By IT Professor Who Is Able To Do The Work

Need Done Right Away By IT Professor Who Is Able To Do The Work

 

Need Done Right Away By IT Professor Who Is Able To Do The Work

Field: Information Systems

You have designed a graphic user interface (GUI), which now needs to be white-box tested. You need to create a document that specifies at least two test cases and one dynamic analysis. Explain your reasoning for your dynamic analysis choice. Once the plan is defined, execute the test plan. Finally, include descriptions of the results of your test plan execution.

Address the following:

Submit a GUI you have created in which the source code is readily available to you.
Develop a test plan (including two test cases) in a Word document involving the following. Execute the test plan. Discuss the results in your Word document.
Perform a static analysis (a code review or walk-through) that includes the following:
Identify proper coding style.
Identify the proper implementation of code design.
Identify potential problems with risky code or deadlock situations.
Identify any other errors.
Design, write-up, and test 2 test cases.
Based on each test case, do the following:
Choose inputs
Run them through the code
Determine the appropriate outputs
Perform 1 of the following dynamic analyses (execution of the code):
Statement coverage: Designed to execute every statement at least once
Branch coverage: Designed to test every branch of the program at least once
Path coverage: Designed to test every path of execution at least once
Definition-use-path coverage: All paths between the definition of a variable and the use of that variable are tested
attachment
graphic_user_interface_gui_solution.zip

 

 

need done right away by IT professor who is able to do the work
ITSD324-Calc/ITSD324-Calc.sln
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Express 2013 for Windows Desktop VisualStudioVersion = 12.0.31101.0 MinimumVisualStudioVersion = 10.0.40219.1 Project(“{F184B08F-C81C-45F6-A57F-5ABD9991F28F}”) = “ITSD324-Calc”, “ITSD324-CalcITSD324-Calc.vbproj”, “{314654CB-F7DF-4B53-817D-2D007FD9EEE1}” EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {314654CB-F7DF-4B53-817D-2D007FD9EEE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {314654CB-F7DF-4B53-817D-2D007FD9EEE1}.Debug|Any CPU.Build.0 = Debug|Any CPU {314654CB-F7DF-4B53-817D-2D007FD9EEE1}.Release|Any CPU.ActiveCfg = Release|Any CPU {314654CB-F7DF-4B53-817D-2D007FD9EEE1}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal

ITSD324-Calc/ITSD324-Calc/bin/Debug/ITSD324-Calc.exe
ITSD324-Calc/ITSD324-Calc/bin/Debug/ITSD324-Calc.pdb
ITSD324-Calc/ITSD324-Calc/bin/Debug/ITSD324-Calc.vshost.exe
ITSD324-Calc/ITSD324-Calc/bin/Debug/ITSD324-Calc.vshost.exe.manifest
ITSD324-Calc/ITSD324-Calc/bin/Debug/ITSD324-Calc.xml
ITSD324-Calc Returns the cached ResourceManager instance used by this class. Overrides the current thread’s CurrentUICulture property for all resource lookups using this strongly typed resource class. A strongly-typed resource class, for looking up localized strings, etc.
ITSD324-Calc/ITSD324-Calc/Form1.Designer.vb
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class Form1 Inherits System.Windows.Forms.Form ‘Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub ‘Required by the Windows Form Designer Private components As System.ComponentModel.IContainer ‘NOTE: The following procedure is required by the Windows Form Designer ‘It can be modified using the Windows Form Designer. ‘Do not modify it using the code editor. <System.Diagnostics.DebuggerStepThrough()> _ Private Sub InitializeComponent() Me.btnExit = New System.Windows.Forms.Button Me.btnAdd = New System.Windows.Forms.Button Me.btnSubtract = New System.Windows.Forms.Button Me.btnMultiply = New System.Windows.Forms.Button Me.btnDivide = New System.Windows.Forms.Button Me.btnAbsolute = New System.Windows.Forms.Button Me.btnCOS = New System.Windows.Forms.Button Me.btnSIN = New System.Windows.Forms.Button Me.btnTAN = New System.Windows.Forms.Button Me.btnInput0 = New System.Windows.Forms.Button Me.btnPosNeg = New System.Windows.Forms.Button Me.btnDecimal = New System.Windows.Forms.Button Me.btnEqual = New System.Windows.Forms.Button Me.btnInput1 = New System.Windows.Forms.Button Me.btnInput2 = New System.Windows.Forms.Button Me.btnInput3 = New System.Windows.Forms.Button Me.btnInput4 = New System.Windows.Forms.Button Me.btnInput5 = New System.Windows.Forms.Button Me.btnInput6 = New System.Windows.Forms.Button Me.btnSquare = New System.Windows.Forms.Button Me.btnInput7 = New System.Windows.Forms.Button Me.btnInput8 = New System.Windows.Forms.Button Me.btnInput9 = New System.Windows.Forms.Button Me.btnSQRT = New System.Windows.Forms.Button Me.btnClear = New System.Windows.Forms.Button Me.txtDisplay = New System.Windows.Forms.TextBox Me.SuspendLayout() ‘ ‘btnExit ‘ Me.btnExit.AllowDrop = True Me.btnExit.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnExit.ForeColor = System.Drawing.Color.Red Me.btnExit.Location = New System.Drawing.Point(12, 80) Me.btnExit.Name = “btnExit” Me.btnExit.Size = New System.Drawing.Size(61, 41) Me.btnExit.TabIndex = 56 Me.btnExit.Text = “Exit” Me.btnExit.UseVisualStyleBackColor = True ‘ ‘btnAdd ‘ Me.btnAdd.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnAdd.ForeColor = System.Drawing.Color.Blue Me.btnAdd.Location = New System.Drawing.Point(322, 293) Me.btnAdd.Name = “btnAdd” Me.btnAdd.Size = New System.Drawing.Size(61, 46) Me.btnAdd.TabIndex = 55 Me.btnAdd.Text = “+” Me.btnAdd.UseVisualStyleBackColor = True ‘ ‘btnSubtract ‘ Me.btnSubtract.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnSubtract.ForeColor = System.Drawing.Color.Blue Me.btnSubtract.Location = New System.Drawing.Point(322, 241) Me.btnSubtract.Name = “btnSubtract” Me.btnSubtract.Size = New System.Drawing.Size(61, 46) Me.btnSubtract.TabIndex = 54 Me.btnSubtract.Text = “-” Me.btnSubtract.UseVisualStyleBackColor = True ‘ ‘btnMultiply ‘ Me.btnMultiply.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnMultiply.ForeColor = System.Drawing.Color.Blue Me.btnMultiply.Location = New System.Drawing.Point(322, 188) Me.btnMultiply.Name = “btnMultiply” Me.btnMultiply.Size = New System.Drawing.Size(61, 46) Me.btnMultiply.TabIndex = 53 Me.btnMultiply.Text = “*” Me.btnMultiply.UseVisualStyleBackColor = True ‘ ‘btnDivide ‘ Me.btnDivide.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnDivide.ForeColor = System.Drawing.Color.Blue Me.btnDivide.Location = New System.Drawing.Point(322, 137) Me.btnDivide.Name = “btnDivide” Me.btnDivide.Size = New System.Drawing.Size(61, 46) Me.btnDivide.TabIndex = 52 Me.btnDivide.Text = “/” Me.btnDivide.UseVisualStyleBackColor = True ‘ ‘btnAbsolute ‘ Me.btnAbsolute.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnAbsolute.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.btnAbsolute.Location = New System.Drawing.Point(12, 293) Me.btnAbsolute.Name = “btnAbsolute” Me.btnAbsolute.Size = New System.Drawing.Size(61, 46) Me.btnAbsolute.TabIndex = 51 Me.btnAbsolute.Text = “Abs” Me.btnAbsolute.UseVisualStyleBackColor = True ‘ ‘btnCOS ‘ Me.btnCOS.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnCOS.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.btnCOS.Location = New System.Drawing.Point(12, 241) Me.btnCOS.Name = “btnCOS” Me.btnCOS.Size = New System.Drawing.Size(61, 46) Me.btnCOS.TabIndex = 50 Me.btnCOS.Text = “COS” Me.btnCOS.UseVisualStyleBackColor = True ‘ ‘btnSIN ‘ Me.btnSIN.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnSIN.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.btnSIN.Location = New System.Drawing.Point(12, 189) Me.btnSIN.Name = “btnSIN” Me.btnSIN.Size = New System.Drawing.Size(61, 46) Me.btnSIN.TabIndex = 49 Me.btnSIN.Text = “Sin” Me.btnSIN.UseVisualStyleBackColor = True ‘ ‘btnTAN ‘ Me.btnTAN.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnTAN.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.btnTAN.Location = New System.Drawing.Point(12, 137) Me.btnTAN.Name = “btnTAN” Me.btnTAN.Size = New System.Drawing.Size(61, 46) Me.btnTAN.TabIndex = 48 Me.btnTAN.Text = “Tan” Me.btnTAN.UseVisualStyleBackColor = True ‘ ‘btnInput0 ‘ Me.btnInput0.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput0.Location = New System.Drawing.Point(88, 293) Me.btnInput0.Name = “btnInput0” Me.btnInput0.Size = New System.Drawing.Size(61, 46) Me.btnInput0.TabIndex = 47 Me.btnInput0.Text = “0” Me.btnInput0.UseVisualStyleBackColor = True ‘ ‘btnPosNeg ‘ Me.btnPosNeg.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnPosNeg.Location = New System.Drawing.Point(164, 293) Me.btnPosNeg.Name = “btnPosNeg” Me.btnPosNeg.Size = New System.Drawing.Size(61, 46) Me.btnPosNeg.TabIndex = 46 Me.btnPosNeg.Text = “+ -” Me.btnPosNeg.UseVisualStyleBackColor = True ‘ ‘btnDecimal ‘ Me.btnDecimal.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnDecimal.Location = New System.Drawing.Point(243, 293) Me.btnDecimal.Name = “btnDecimal” Me.btnDecimal.Size = New System.Drawing.Size(61, 46) Me.btnDecimal.TabIndex = 45 Me.btnDecimal.Text = “.” Me.btnDecimal.UseVisualStyleBackColor = True ‘ ‘btnEqual ‘ Me.btnEqual.FlatStyle = System.Windows.Forms.FlatStyle.System Me.btnEqual.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnEqual.ForeColor = System.Drawing.Color.Blue Me.btnEqual.Location = New System.Drawing.Point(400, 241) Me.btnEqual.Name = “btnEqual” Me.btnEqual.Size = New System.Drawing.Size(61, 98) Me.btnEqual.TabIndex = 44 Me.btnEqual.Text = “=” Me.btnEqual.UseVisualStyleBackColor = True ‘ ‘btnInput1 ‘ Me.btnInput1.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput1.Location = New System.Drawing.Point(88, 241) Me.btnInput1.Name = “btnInput1” Me.btnInput1.Size = New System.Drawing.Size(61, 46) Me.btnInput1.TabIndex = 43 Me.btnInput1.Text = “1” Me.btnInput1.UseVisualStyleBackColor = True ‘ ‘btnInput2 ‘ Me.btnInput2.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput2.Location = New System.Drawing.Point(164, 241) Me.btnInput2.Name = “btnInput2” Me.btnInput2.Size = New System.Drawing.Size(61, 46) Me.btnInput2.TabIndex = 42 Me.btnInput2.Text = “2” Me.btnInput2.UseVisualStyleBackColor = True ‘ ‘btnInput3 ‘ Me.btnInput3.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput3.Location = New System.Drawing.Point(243, 241) Me.btnInput3.Name = “btnInput3” Me.btnInput3.Size = New System.Drawing.Size(61, 46) Me.btnInput3.TabIndex = 41 Me.btnInput3.Text = “3” Me.btnInput3.UseVisualStyleBackColor = True ‘ ‘btnInput4 ‘ Me.btnInput4.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput4.Location = New System.Drawing.Point(88, 189) Me.btnInput4.Name = “btnInput4” Me.btnInput4.Size = New System.Drawing.Size(61, 46) Me.btnInput4.TabIndex = 40 Me.btnInput4.Text = “4” Me.btnInput4.UseVisualStyleBackColor = True ‘ ‘btnInput5 ‘ Me.btnInput5.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput5.Location = New System.Drawing.Point(164, 188) Me.btnInput5.Name = “btnInput5” Me.btnInput5.Size = New System.Drawing.Size(61, 46) Me.btnInput5.TabIndex = 39 Me.btnInput5.Text = “5” Me.btnInput5.UseVisualStyleBackColor = True ‘ ‘btnInput6 ‘ Me.btnInput6.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput6.Location = New System.Drawing.Point(243, 189) Me.btnInput6.Name = “btnInput6” Me.btnInput6.Size = New System.Drawing.Size(61, 46) Me.btnInput6.TabIndex = 38 Me.btnInput6.Text = “6” Me.btnInput6.UseVisualStyleBackColor = True ‘ ‘btnSquare ‘ Me.btnSquare.Font = New System.Drawing.Font(“Tahoma”, 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnSquare.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.btnSquare.Location = New System.Drawing.Point(400, 189) Me.btnSquare.Name = “btnSquare” Me.btnSquare.Size = New System.Drawing.Size(61, 46) Me.btnSquare.TabIndex = 37 Me.btnSquare.Text = “Square” Me.btnSquare.UseVisualStyleBackColor = True ‘ ‘btnInput7 ‘ Me.btnInput7.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput7.Location = New System.Drawing.Point(88, 137) Me.btnInput7.Name = “btnInput7” Me.btnInput7.Size = New System.Drawing.Size(61, 46) Me.btnInput7.TabIndex = 36 Me.btnInput7.Text = “7” Me.btnInput7.UseVisualStyleBackColor = True ‘ ‘btnInput8 ‘ Me.btnInput8.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput8.Location = New System.Drawing.Point(164, 137) Me.btnInput8.Name = “btnInput8” Me.btnInput8.Size = New System.Drawing.Size(61, 46) Me.btnInput8.TabIndex = 35 Me.btnInput8.Text = “8” Me.btnInput8.UseVisualStyleBackColor = True ‘ ‘btnInput9 ‘ Me.btnInput9.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnInput9.ForeColor = System.Drawing.Color.Black Me.btnInput9.Location = New System.Drawing.Point(243, 137) Me.btnInput9.Name = “btnInput9” Me.btnInput9.Size = New System.Drawing.Size(61, 46) Me.btnInput9.TabIndex = 34 Me.btnInput9.Text = “9” Me.btnInput9.UseVisualStyleBackColor = True ‘ ‘btnSQRT ‘ Me.btnSQRT.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnSQRT.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.btnSQRT.Location = New System.Drawing.Point(400, 137) Me.btnSQRT.Name = “btnSQRT” Me.btnSQRT.Size = New System.Drawing.Size(61, 46) Me.btnSQRT.TabIndex = 33 Me.btnSQRT.Text = “SQRT” Me.btnSQRT.UseVisualStyleBackColor = True ‘ ‘btnClear ‘ Me.btnClear.AllowDrop = True Me.btnClear.Font = New System.Drawing.Font(“Tahoma”, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.btnClear.ForeColor = System.Drawing.Color.Red Me.btnClear.Location = New System.Drawing.Point(322, 80) Me.btnClear.Name = “btnClear” Me.btnClear.Size = New System.Drawing.Size(139, 41) Me.btnClear.TabIndex = 32 Me.btnClear.Text = “Clear” Me.btnClear.UseVisualStyleBackColor = True ‘ ‘txtDisplay ‘ Me.txtDisplay.BackColor = System.Drawing.SystemColors.ControlLightLight Me.txtDisplay.Font = New System.Drawing.Font(“Tahoma”, 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.txtDisplay.Location = New System.Drawing.Point(12, 35) Me.txtDisplay.Name = “txtDisplay” Me.txtDisplay.Size = New System.Drawing.Size(449, 30) Me.txtDisplay.TabIndex = 31 Me.txtDisplay.TextAlign = System.Windows.Forms.HorizontalAlignment.Right ‘ ‘Form1 ‘ Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(494, 366) Me.Controls.Add(Me.btnExit) Me.Controls.Add(Me.btnAdd) Me.Controls.Add(Me.btnSubtract) Me.Controls.Add(Me.btnMultiply) Me.Controls.Add(Me.btnDivide) Me.Controls.Add(Me.btnAbsolute) Me.Controls.Add(Me.btnCOS) Me.Controls.Add(Me.btnSIN) Me.Controls.Add(Me.btnTAN) Me.Controls.Add(Me.btnInput0) Me.Controls.Add(Me.btnPosNeg) Me.Controls.Add(Me.btnDecimal) Me.Controls.Add(Me.btnEqual) Me.Controls.Add(Me.btnInput1) Me.Controls.Add(Me.btnInput2) Me.Controls.Add(Me.btnInput3) Me.Controls.Add(Me.btnInput4) Me.Controls.Add(Me.btnInput5) Me.Controls.Add(Me.btnInput6) Me.Controls.Add(Me.btnSquare) Me.Controls.Add(Me.btnInput7) Me.Controls.Add(Me.btnInput8) Me.Controls.Add(Me.btnInput9) Me.Controls.Add(Me.btnSQRT) Me.Controls.Add(Me.btnClear) Me.Controls.Add(Me.txtDisplay) Me.Name = “Form1” Me.Text = “ITSD324 Calc” Me.ResumeLayout(False) Me.PerformLayout() End Sub Friend WithEvents btnExit As System.Windows.Forms.Button Friend WithEvents btnAdd As System.Windows.Forms.Button Friend WithEvents btnSubtract As System.Windows.Forms.Button Friend WithEvents btnMultiply As System.Windows.Forms.Button Friend WithEvents btnDivide As System.Windows.Forms.Button Friend WithEvents btnAbsolute As System.Windows.Forms.Button Friend WithEvents btnCOS As System.Windows.Forms.Button Friend WithEvents btnSIN As System.Windows.Forms.Button Friend WithEvents btnTAN As System.Windows.Forms.Button Friend WithEvents btnInput0 As System.Windows.Forms.Button Friend WithEvents btnPosNeg As System.Windows.Forms.Button Friend WithEvents btnDecimal As System.Windows.Forms.Button Friend WithEvents btnEqual As System.Windows.Forms.Button Friend WithEvents btnInput1 As System.Windows.Forms.Button Friend WithEvents btnInput2 As System.Windows.Forms.Button Friend WithEvents btnInput3 As System.Windows.Forms.Button Friend WithEvents btnInput4 As System.Windows.Forms.Button Friend WithEvents btnInput5 As System.Windows.Forms.Button Friend WithEvents btnInput6 As System.Windows.Forms.Button Friend WithEvents btnSquare As System.Windows.Forms.Button Friend WithEvents btnInput7 As System.Windows.Forms.Button Friend WithEvents btnInput8 As System.Windows.Forms.Button Friend WithEvents btnInput9 As System.Windows.Forms.Button Friend WithEvents btnSQRT As System.Windows.Forms.Button Friend WithEvents btnClear As System.Windows.Forms.Button Friend WithEvents txtDisplay As System.Windows.Forms.TextBox End Class

ITSD324-Calc/ITSD324-Calc/Form1.resx
text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
ITSD324-Calc/ITSD324-Calc/Form1.vb
Option Explicit On Option Strict On Imports System.Math Public Class Form1 Dim gdblFirstNumber As Double ‘ global variable to hold the first set of numbers in basic math: + – / * Dim gstrMathToPerform As String ‘ global variable to hold the math formula to be used Dim gboolAppendDisplay As Boolean ‘ global variables used to determine whether a number pressed will append to ‘ to the display text box or replace the contents of the display text box. Private Sub subUpdateDisplay(ByVal strInput As String) ‘ Sometimes we want to APPEND and sometimes we want to REPLACE ‘ Somtimes = IF/THEN/ELSE ‘ we read the variable gboolAppendDisplay in here to determine whether we ‘ append or replace. Try ‘If the display is a 0, then the number clicked will REPLACE the 0 and not append to it. ‘ for example, if the display is equal to 1 and the user clicks 9, then 9 will append to the 1: 19 ‘ if the display is equal to 0 and the user clicks the 9, then 9 will replace the 0: 9 (and not 09) If Me.txtDisplay.Text = “0” Then gboolAppendDisplay = False ‘REPLACE End If If gboolAppendDisplay = True Then ‘ Appends: Me.txtDisplay.Text = Me.txtDisplay.Text & strInput Else ‘ Replaces: Me.txtDisplay.Text = strInput End If gboolAppendDisplay = True ‘append to the display Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub subDoTheMath() ‘ so the user clicked the = sign. that’s why we’re executing the statements in this sub ‘ we need three pieces of information to do the math: ‘ First set of numbers >> variable dblOperator ‘ Operator >> variable strOperator ‘ Second Set of numbers >> this is in the text box Try ‘ Step 1 – Declare the variables ‘ we need one for the answer and one for the 2nd set of numbers Dim dblSecondSetOfNumbers As Double Dim dblAnswer As Double ‘ Step 2 – Copy the numbers currently in the textbox to a numeric variable dblSecondSetOfNumbers = System.Convert.ToDouble(Me.txtDisplay.Text) ‘ Step 3 – Do the math Select Case gstrMathToPerform Case “Addition” dblAnswer = gdblFirstNumber + dblSecondSetOfNumbers Case “Multiplication” dblAnswer = gdblFirstNumber * dblSecondSetOfNumbers Case “Subtract” dblAnswer = gdblFirstNumber – dblSecondSetOfNumbers Case “Divide” dblAnswer = gdblFirstNumber / dblSecondSetOfNumbers Case “Abs” dblAnswer = System.Math.Abs(dblSecondSetOfNumbers) Case “SQRT” dblAnswer = System.Math.Sqrt(dblSecondSetOfNumbers) Case “TAN” dblAnswer = System.Math.Tan(dblSecondSetOfNumbers) Case “SIN” dblAnswer = System.Math.Sin(dblSecondSetOfNumbers) Case “COS” dblAnswer = System.Math.Cos(dblSecondSetOfNumbers) Case “POSNEG” dblAnswer = dblSecondSetOfNumbers * -1 Case “Square” dblAnswer = System.Math.Pow(dblSecondSetOfNumbers, 2) End Select ‘ Step 4 – Copy results to the text box that holds the answer. ‘ for this calculator the answer text box happens to be the same as the input text box Me.txtDisplay.Text = dblAnswer.ToString() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try Call subClearDisplay() ‘ resets the text box to 0 Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub subClearDisplay() Try Me.txtDisplay.Text = “0” ‘ resets the text box to 0 Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput0_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput0.Click Try Call subUpdateDisplay(“0”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput1.Click Try Call subUpdateDisplay(“1”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput2.Click Try Call subUpdateDisplay(“2”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput3.Click Try Call subUpdateDisplay(“3”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput4.Click Try Call subUpdateDisplay(“4”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput5.Click Try Call subUpdateDisplay(“5”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput6.Click Try Call subUpdateDisplay(“6”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput7.Click Try Call subUpdateDisplay(“7”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput8.Click Try Call subUpdateDisplay(“8”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnInput9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInput9.Click Try Call subUpdateDisplay(“9”) Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click Try Call subClearDisplay() ‘reset the display. Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnMultiply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMultiply.Click Try ‘ we need to store the fact that the user clicked the multiply button. ‘ We will use this information when the user clicks the = sign. gstrMathToPerform = “Multiplication” ‘ we know the user is done entering the first set of numbers. So store this value ‘ We will use this information when the user clicks the = sign. gdblFirstNumber = System.Convert.ToDouble(Me.txtDisplay.Text) ‘ The next number typed in should replace the display and not append. gboolAppendDisplay = False Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnDivision_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDivide.Click Try ‘ we need to store the fact that the user clicked the multiply button. ‘ We will use this information when the user clicks the = sign. gstrMathToPerform = “Divide” ‘ we know the user is done entering the first set of numbers. So store this value ‘ We will use this information when the user clicks the = sign. gdblFirstNumber = System.Convert.ToDouble(Me.txtDisplay.Text) ‘ The next number typed in should replace the display and not append. gboolAppendDisplay = False Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnSQRT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSQRT.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “SQRT” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnAbs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAbsolute.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “Abs” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnSquare_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSquare.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “Square” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnEquals_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEqual.Click Try ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnDecimal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDecimal.Click Try ‘ Since a calculator can only display one decimal, we must first determine if the display ‘ already contains a decimal. If Me.txtDisplay.Text.Contains(“.”) = True Then ‘if the display already contains a decimal, then beep Beep() Else ‘if the display doesn’t contain a decimal, then add it using the subUpdateDisplay sub Call subUpdateDisplay(“.”) End If Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click Try End ‘end the program. Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnTAN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTAN.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “TAN” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnSIN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSIN.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “SIN” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnCOS_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCOS.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “COS” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Try ‘ we need to store the fact that the user clicked the multiply button. ‘ We will use this information when the user clicks the = sign. gstrMathToPerform = “Addition” ‘ we know the user is done entering the first set of numbers. So store this value ‘ We will use this information when the user clicks the = sign. gdblFirstNumber = System.Convert.ToDouble(Me.txtDisplay.Text) ‘ The next number typed in should replace the display and not append. gboolAppendDisplay = False Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnPosNeg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPosNeg.Click Try ‘ Set the variable which will determine which math formula to use. gstrMathToPerform = “POSNEG” ‘ call the sub routine that actually does the math. Call subDoTheMath() Catch ex As Exception MsgBox(“There is an error”) End Try End Sub Private Sub btnSubtract_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubtract.Click Try ‘ we need to store the fact that the user clicked the multiply button. ‘ We will use this information when the user clicks the = sign. gstrMathToPerform = “Subtract” ‘ we know the user is done entering the first set of numbers. So store this value ‘ We will use this information when the user clicks the = sign. gdblFirstNumber = System.Convert.ToDouble(Me.txtDisplay.Text) ‘ The next number typed in should replace the display and not append. gboolAppendDisplay = False Catch ex As Exception MsgBox(“There is an error”) End Try End Sub End Class

ITSD324-Calc/ITSD324-Calc/ITSD324-Calc.vbproj
Debug AnyCPU 9.0.30729 2.0 {314654CB-F7DF-4B53-817D-2D007FD9EEE1} WinExe ITSD324_Calc.My.MyApplication ITSD324_Calc ITSD324-Calc 512 WindowsForms v4.0 On Binary Off On 3.5 true full true true binDebug ITSD324-Calc.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 pdbonly false true true binRelease ITSD324-Calc.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 3.5 3.5 3.5 Form Form1.vb Form True Application.myapp True True Resources.resx True Settings.settings True Form1.vb VbMyResourcesResXFileCodeGenerator Resources.Designer.vb My.Resources Designer MyApplicationCodeGenerator Application.Designer.vb SettingsSingleFileGenerator My Settings.Designer.vb
ITSD324-Calc/ITSD324-Calc/ITSD324-Calc.vbproj.user
ITSD324-Calc/ITSD324-Calc/My Project/Application.Designer.vb
‘—————————————————————————— ‘ <auto-generated> ‘ This code was generated by a tool. ‘ Runtime Version:4.0.30319.18408 ‘ ‘ Changes to this file may cause incorrect behavior and will be lost if ‘ the code is regenerated. ‘ </auto-generated> ‘—————————————————————————— Option Strict On Option Explicit On Namespace My ‘NOTE: This file is auto-generated; do not modify it directly. To make changes, ‘ or if you encounter build errors in this file, go to the Project Designer ‘ (go to Project Properties or double-click the My Project node in ‘ Solution Explorer), and make changes on the Application tab. ‘ Partial Friend Class MyApplication <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ Public Sub New() MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) Me.IsSingleInstance = false Me.EnableVisualStyles = true Me.SaveMySettingsOnExit = true Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses End Sub <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ Protected Overrides Sub OnCreateMainForm() Me.MainForm = Global.ITSD324_Calc.Form1 End Sub End Class End Namespace

ITSD324-Calc/ITSD324-Calc/My Project/Application.myapp
true Form1 false 0 true 0 0 true
ITSD324-Calc/ITSD324-Calc/My Project/AssemblyInfo.vb
Imports System Imports System.Reflection Imports System.Runtime.InteropServices ‘ General Information about an assembly is controlled through the following ‘ set of attributes. Change these attribute values to modify the information ‘ associated with an assembly. ‘ Review the values of the assembly attributes <Assembly: AssemblyTitle(“ITSD324-Calc”)> <Assembly: AssemblyDescription(“”)> <Assembly: AssemblyCompany(“Microsoft”)> <Assembly: AssemblyProduct(“ITSD324-Calc”)> <Assembly: AssemblyCopyright(“Copyright © Microsoft 2011”)> <Assembly: AssemblyTrademark(“”)> <Assembly: ComVisible(False)> ‘The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid(“2ad251a1-fe9a-4773-ac23-1734ad8d8cea”)> ‘ Version information for an assembly consists of the following four values: ‘ ‘ Major Version ‘ Minor Version ‘ Build Number ‘ Revision ‘ ‘ You can specify all the values or you can default the Build and Revision Numbers ‘ by using the ‘*’ as shown below: ‘ <Assembly: AssemblyVersion(“1.0.*”)> <Assembly: AssemblyVersion(“1.0.0.0”)> <Assembly: AssemblyFileVersion(“1.0.0.0″)>

ITSD324-Calc/ITSD324-Calc/My Project/Resources.Designer.vb
‘—————————————————————————— ‘ <auto-generated> ‘ This code was generated by a tool. ‘ Runtime Version:4.0.30319.18408 ‘ ‘ Changes to this file may cause incorrect behavior and will be lost if ‘ the code is regenerated. ‘ </auto-generated> ‘—————————————————————————— Option Strict On Option Explicit On Imports System Namespace My.Resources ‘This class was auto-generated by the StronglyTypedResourceBuilder ‘class via a tool like ResGen or Visual Studio. ‘To add or remove a member, edit your .ResX file then rerun ResGen ‘with the /str option, or rebuild your VS project. ”'<summary> ”’ A strongly-typed resource class, for looking up localized strings, etc. ”'</summary> <Global.System.CodeDom.Compiler.GeneratedCodeAttribute(“System.Resources.Tools.StronglyTypedResourceBuilder”, “4.0.0.0”), _ Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _ Friend Module Resources Private resourceMan As Global.System.Resources.ResourceManager Private resourceCulture As Global.System.Globalization.CultureInfo ”'<summary> ”’ Returns the cached ResourceManager instance used by this class. ”'</summary> <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager Get If Object.ReferenceEquals(resourceMan, Nothing) Then Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager(“ITSD324_Calc.Resources”, GetType(Resources).Assembly) resourceMan = temp End If Return resourceMan End Get End Property ”'<summary> ”’ Overrides the current thread’s CurrentUICulture property for all ”’ resource lookups using this strongly typed resource class. ”'</summary> <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ Friend Property Culture() As Global.System.Globalization.CultureInfo Get Return resourceCulture End Get Set resourceCulture = value End Set End Property End Module End Namespace

ITSD324-Calc/ITSD324-Calc/My Project/Resources.resx
text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
ITSD324-Calc/ITSD324-Calc/My Project/Settings.Designer.vb
‘—————————————————————————— ‘ <auto-generated> ‘ This code was generated by a tool. ‘ Runtime Version:4.0.30319.18408 ‘ ‘ Changes to this file may cause incorrect behavior and will be lost if ‘ the code is regenerated. ‘ </auto-generated> ‘—————————————————————————— Option Strict On Option Explicit On Namespace My <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ Global.System.CodeDom.Compiler.GeneratedCodeAttribute(“Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator”, “12.0.0.0”), _ Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ Partial Friend NotInheritable Class MySettings Inherits Global.System.Configuration.ApplicationSettingsBase Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) #Region “My.Settings Auto-Save Functionality” #If _MyType = “WindowsForms” Then Private Shared addedHandler As Boolean Private Shared addedHandlerLockObject As New Object <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) If My.Application.SaveMySettingsOnExit Then My.Settings.Save() End If End Sub #End If #End Region Public Shared ReadOnly Property [Default]() As MySettings Get #If _MyType = “WindowsForms” Then If Not addedHandler Then SyncLock addedHandlerLockObject If Not addedHandler Then AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings addedHandler = True End If End SyncLock End If #End If Return defaultInstance End Get End Property End Class End Namespace Namespace My <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ Friend Module MySettingsProperty <Global.System.ComponentModel.Design.HelpKeywordAttribute(“My.Settings”)> _ Friend ReadOnly Property Settings() As Global.ITSD324_Calc.My.MySettings Get Return Global.ITSD324_Calc.My.MySettings.Default End Get End Property End Module End Namespace

ITSD324-Calc/ITSD324-Calc/My Project/Settings.settings
ITSD324-Calc/ITSD324-Calc/obj/Debug/DesignTimeResolveAssemblyReferences.cache
ITSD324-Calc/ITSD324-Calc/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324_Calc.Form1.resources
ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324_Calc.Resources.resources
ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324-Calc.exe
ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324-Calc.pdb
ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324-Calc.vbproj.FileListAbsolute.txt
C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcbinDebugITSD324-Calc.exe C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcbinDebugITSD324-Calc.pdb C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcbinDebugITSD324-Calc.xml C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugResolveAssemblyReference.cache C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugITSD324_Calc.Form1.resources C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugITSD324_Calc.Resources.resources C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugITSD324-Calc.vbproj.GenerateResource.Cache C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugITSD324-Calc.exe C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugITSD324-Calc.xml C:UsersTony.LoCocoAppDataLocalTemporary ProjectsITSD324-CalcobjDebugITSD324-Calc.pdb C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.exe C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.xml C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.pdb C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcbinDebugITSD324-Calc.exe C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcbinDebugITSD324-Calc.pdb C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcbinDebugITSD324-Calc.xml C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugResolveAssemblyReference.cache C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugITSD324_Calc.Form1.resources C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugITSD324_Calc.Resources.resources C:UsersTony.LoCocoDesktopITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.vbproj.GenerateResource.Cache C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.exe C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.xml C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.pdb C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcbinDebugITSD324-Calc.exe C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcbinDebugITSD324-Calc.pdb C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcbinDebugITSD324-Calc.xml C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcobjDebugITSD324_Calc.Form1.resources C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcobjDebugITSD324_Calc.Resources.resources C:UsersDeLLDownloadsITSD324-CalcITSD324-CalcobjDebugITSD324-Calc.vbproj.GenerateResource.Cache

ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324-Calc.vbproj.GenerateResource.Cache
ITSD324-Calc/ITSD324-Calc/obj/Debug/ITSD324-Calc.xml
ITSD324-Calc Returns the cached ResourceManager instance used by this class. Overrides the current thread’s CurrentUICulture property for all resource lookups using this strongly typed resource class. A strongly-typed resource class, for looking up localized strings, etc.
ITSD324-Calc/ITSD324-Calc/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll

Need a research Paper On Language

Need a research Paper On Language

Need a research Paper On Language

Field: Education

have a work for those who expert in languages…

I am doing a research paper on Malay language and I need someone who can help on that. The paper focusing on 4 main point (requirements number 2 to 4) and you will write approximately 10 to 12 pages on each point. That’s mean the project will be about 50 pages in total.

Read the papers requirements and show me a writing sample of your work (3 to 5 pages) on any point of the 4 points in the attachments and if you write a very good sample, you will get the whole work.

You will send me the writing sample of your choice from one of the 4 points to my email (AALSH073 GMAIL) with your name to assign the work for you.

 

Ways To Recognize Revenues And Massage The Financial Statements Of The Organization

Ways To Recognize Revenues And Massage The Financial Statements Of The Organization

 

Ways To Recognize Revenues And Massage The Financial Statements Of The Organization
Field: Business Finance – Accounting

As the business environment has evolved, managers have found more and inventive ways to recognize revenues and “massage” the financial statements of their organizations. As an auditor in your firm, you have seen many of these new ways and have heard your Managing Partners discussing these emerging issues, especially as they apply to sales returns and the provisions for sales returns.
As such, you have been tasked by your Managing Partner to generate a “White Paper” concerning this topic.
Of specific concern to your Managing Partner are:
What is the authoritative literature addressing revenue recognition when right of return exists?
What is meant by “right of return”?
What is meant by “Bill and Hold”?
What are the accounting procedures when there is a right of return?
When goods are sold on a bill-and-hold basis, what conditions must be met to recognize revenue upon receipt of the order?
Proper formatting, grammar and presentation are expected to be present in this “project,” along with proper citations according to APA format guidelines.
It is expected you will have at least five (5) sources, and those sources are to be of high quality (no Wikipedia references, and minimal textbook references.) For each Wikipedia reference, an immediate five (5) point reduction will be incurred for each reference. For each textbook reference over two (2) references, an immediate five (5) point reduction will be incurred for each reference over two (2).
This “project” shall be a minimum of five (5) pages, not including the cover page or bibliography, and shall be no longer than fifty (50) pages. In a professional accounting environment, a White Paper is as long as it needs to be to properly present the topic, and the results of research.
This project is an individual effort, and as such, will be run through “turnitin” to check for duplication or plagiarism. Any plagiarism found will result in an immediate zero (0) on this project, and will initiate a report to the Provost for academic dishonesty. In other words, do your own work, and don’t cheat.
One of the sources you are recommended to use is the FASB Codification Website.