Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012.

Slides:



Advertisements
Similar presentations
Clicking on the link for the.tns file gives you will get the following screen: Select Save File and click OK.
Advertisements

Microsoft Office Illustrated Fundamentals Unit C: Getting Started with Unit C: Getting Started with Microsoft Office 2010 Microsoft Office 2010.
PowerPoint Basics Tutorial 4: Interactivity & Media PowerPoint can communicate with the outside world by linking to different applications, managing different.
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
An Introduction to Using
Endnote Tutorial The Version pictured is version 9.0 May 8, 2007.
Creating Dynamic Communities. Objectives that will be covered: 1.Creating your communityCreating your community 2.Styling your communityStyling your community.
X-Media V2.0 Healthcare Training Jayex Technology Limited X-Media V2.0 March 2010 v
Customizing Reports. Custom Reports A report is a formatted hardcopy of the contents of one or more tables from a database. Although you can format and.
SAKAI TUTORIAL Getting Started. Sakai is the new Learning Management System for Bethel University. It provides online classes in a format that is easy.
© by Pearson Education, Inc. All Rights Reserved.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
Tutorial 8 Sharing, Integrating and Analyzing Data
Lync 2013 for Office 365 Quick Reference © 2012 Microsoft Corporation. All rights reserved. With Lync you can start collaborating without having to schedule.
Microsoft Office © Copyright William Rowan Objective By the end of this you will have being given a brief introduction to: Microsoft Word Microsoft.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Android 4: Creating Contents Kirk Scott 1. Outline 4.1 Planning Contents 4.2 GIMP and Free Sound Recorder 4.3 Using FlashCardMaker to Create an XML File.
Creating a Web Page HTML, FrontPage, Word, Composer.
Video Production with Windows Movie Maker Multimedia I Powerpoint courtesy of Scott Bell, Chaminade College Prep, St. Louis, Mo.
Lecture 2 Managing Windows OS Introduction to.NET Framework C# & Microsoft Visual Studio.NET 2008.
Josh Probert – Yankee A Prototype based on Sierra’s SRS.
Movie Maker in the High School Classroom Professional Development Workshop September 1, 2009 Facilitator: Heidi Camp Swartz Creek High School.
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
How to Make a PowerPoint Presentation (Using PowerPoint)
PowerPoint Basics Tutorial 2: A Slide Show In this tutorial you’re going to create a presentation from scratch. You will have to keep this presentation.
PowerPoint Basics (for Macs) 1. Before you start your project, you need: Completed project storyboard. Files with images, sound, or video already saved.
Microsoft PowerPoint Getting Started Guide Prepared for Towson University Dr. Jeff M. Kenton Amy Chase Martin 2007.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
Making a Playable DVD movie using your digital photos And adding music to the movie.
Creating your own form from scratch.. To create a custom form, you can modify an existing form or design and create a form from scratch. In either case,
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Introduction With TimeCard users can tag SharePoint events with information that converts them into time sheets. This way they can report.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
Click on these! %2Fblank%2Fbrowse.asp%3FA%3D383%26BMDRN%3D2000%26BCOB%3D0% 26C%3D64893.
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
PowerPoint Basics Tutorial 4: Interactivity & Media PowerPoint can communicate with the outside world by linking to different applications, managing different.
1 Creating Windows GUIs with Visual Studio. 2 Creating the Project New Project Visual C++ Projects Windows Forms Application Give the Project a Name and.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Glogster: Create Virtual Posters Created by Russell Smith, Technology Facilitator, North Edgecombe High School.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
Tutorial for Arrays and Lists. Description This presentation will cover the basics of using Arrays and Lists in an Alice world It uses a set of chickens.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Motion Graphics & Animation.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Gensuite ® Step-by-Step Guide for the setup of Gensuite Compliance Calendar and Training Calendar integration with Microsoft Outlook Some computers experience.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Introduction to PowerPoint 2003 Professional Development Training for Classroom Teachers.
Introducing Scratch Learning resources for the implementation of the scenario
CWA 3105 Presents At&t Connect for Windows pc This will be a quick set up guide for our new virtual meeting program We are the ELITE to have this trial.
PowerTeacher Gradebook PTG and PowerTeacher Pro PT Pro A Comparison The following slides will give you an overview of the changes that will occur moving.
Getting Started with Microsoft Word
Computer Software: Programming
How to Make a PowerPoint Presentation (Using PowerPoint)
Database Applications – Microsoft Access
Using Windows Live Movie Maker
How To Use PowerPoint A Brief Introduction to Commonly Used Features
How To Use PowerPoint A Brief Introduction to Commonly Used Features
How To Use PowerPoint2 A Brief Introduction to Commonly Used Features
European Computer Driving Licence
Tutorial 7 – Integrating Access With the Web and With Other Programs
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012

Assignment Create a windows application using C# that will add numbers from 2 text boxes and the result will be displayed on a third text box. Source code and screen shots are required. Please submit through BlackBoard Extra credit: Your application will be able to perform all basic operations ( +, -, *, /). Source code and screen shots are required.

Example

Lets Get Started First thing is to download Visual Basic Express edition for desktop which is free. Any version will work such as 2010 etc express Once installed on your computer the next step is to start it up. Once opened you will be greeted with the start up screen. The important part is on the left side of the screen, pictured on the next slide.

On the left side it will say New Project. Click it and it will take you to the next screen. Once on this screen you will be asked what programming language you want to use. For this assignment we will use C#. Make sure to highlight Windows Forms Application, and at the bottom to enter your assignment name for the file you will be creating. Once you create your file then hit next. The image of the above explanation is on the next slide

Once you hit the next button the project will open with the following image.

Notice that your form box will already be there waiting for the input. Depending on certain settings, such as in the following image, the Toolbox will be on the right or left side of the screen. If you do not see it anywhere the simple fix is to go to the top and click on view and look for the Toolbox setting and enable it. Once you click on the Toolbox tab you will be shown all kinds of tools that you can use to format your Form window. For this assignment we will use the following. TextBox, Button, You are free to use any other tools to add to your form to make it fancier. But it is not necessary.

To add the textboxes to the form all you have to do is drag and drop it on the Form Window. However you want to format it is up to you. Once you are done adding the necessary textboxes now you can add the button, which is also where you found the Textbox tool To add the button all you have to do again is drag and drop it onto the Form Window. Once you have your Button and Text Boxes where you like them, now we need to change the properties of them to say what we want. First click on the button that you just drag and dropped on the Form Window. Once it is highlighted or selected, look for the properties tab near the ToolBox tab usually it is right under it. Click on the Properties tab and now we can give the button a proper label or name. Next slide is an example

Once you have labeled your button properly, next it is time to program. Double click on the button you just created and gave a label to. It should open up the Form1.cs where you will input your programming code. Just like in the image on the next slide. This is where you will input the code so that your form will calculate an addition problem. The assignment is for you to create the form and input the proper code so that the user can input two numbers and click on the button which will calculate the result and display it on a third textbox.

What is C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. C# is designed to work with Microsoft's.Net platform. Microsoft's aim is to facilitate the exchange of information and services over the Web, and to enable developers to build highly portable applications. C# simplifies programming through its use of Extensible Markup Language (XML) and Simple Object Access Protocol (SOAP) which allow access to a programming object or method without requiring the programmer to write additional code for each step.

What is C# continued Because programmers can build on existing code, rather than repeatedly duplicating it, C# is expected to make it faster and less expensive to get new products and services to market What Can a C# Program Do? Typical programming tasks includes putting data into a database or pulling it out, displaying high speed graphics in a game or video, controlling electronic devices attached to the PC or even playing music and/or sound effects. You can even write software to generate music or help you compose. C# is a general purpose language with features to make programs more robust. Compared with C++, it doesn't need pointers. Unlike C++ and to a lesser extent Java, the screen handling in C# is excellent, on both desktops and the web.

C# Tutorials sites us/library/aa288436%28v=vs.71%29.aspx us/library/aa288436%28v=vs.71%29.aspx