Using C# for Graphics and GUIs Handout #2

Size: px
Start display at page:

Download "Using C# for Graphics and GUIs Handout #2"

Transcription

1 Using C# for Graphics and GUIs Handout #2 Learning Objectives: C# Arrays Global Variables Your own methods Random Numbers Working with Strings Drawing Rectangles, Ellipses, and Lines Start up Visual Studio now so it has time to load. 1

2 C# Arrays Arrays in C# are somewhat like Vectors in C++. You can size them with variables and they have functions associated with them. Declaring Arrays: 1-D integer array declaration: int[ ] x = new int[5]; 2-D Rectangular integer array declaration: int[, ] y = new int[5, 4]; Using 1-D arrays = same as C++, e.g. x[2]=3; Using 2-D rectangular arrays: y[1, 3] = 4; Use x.length instead of x.size() For 2-D: y.length gives number of rows 2 y.longlength gives total number of elements

3 Resizing 1-D C# Arrays Like a vector, you don t need to size the array initially. To size it later, use Array.Resize() Example: int[ ] x; Array.Resize(ref x, 25); //this resizes the array to 25 The ref is like the & for a pointer ref x gives the memory address of x 3

4 Global Variables in Forms Remember that most variables are only available to the method in which they are declared. These are called Local Variables. Global Variables are variables that are available throughout the program. For C# forms: Declare global variables in the same area as all of the methods, but outside of all of the methods. These variables can be of standard type such as double or int, or any types available with the form such as Bitmap or Color. If they need to be initialized when the program starts, initialize them under the line: InitializeComponent(); 4

5 Your Own Methods For C# forms: Your methods will look just like functions in C à the only difference is that you don t need a function prototype. Define your methods in the same area as all of the pre-defined (like button1_click()) methods. If they need to be called when the program starts, call them under the line: InitializeComponent(); 5

6 Random Numbers in C# Just one of these: (declares a random number generator object) Random r = new Random( ); (You can make your Random variable global) To get a random integer from 0 to 5: i = r.next(6); //this is just like i = rand()%6 To get another random integer from 0 to 9: i = r.next(10) 6

7 Working With Strings To declare a String variable, use: String <name> Example: String s = textbox1.text; //declares a String called s and sets its value //to whatever is in textbox1 One way to append Strings together, use the + operator: Examples: s = textbox1.text + s = Hello, + s; + textbox2.text; To get the length of a String, use the.length property Example: for(int i = 0; i < s.length; i++) { } //code to do something with each character would go here 7

8 Working With Strings To get a portion of a String, use: Substring(start index, length of substring): Example: String s = textbox1.text; label1.text = s.substring(2, 7); //this will display the 3 rd to 9 th characters //in label1 Another Example: String s = textbox1.text; label1.text = s.substring(2); //this will display the 3 rd char through the end To change a String to upper case, use the ToUpper() method Example: s = s.toupper(); //this will make the whole string uppercase. How could you loop through each character in a String? Note: C++ has a string class which is similar to String. To use it, you 8 need to add #include <string>

9 Drawing Rectangles Note: This is available because at the top we have: using namespace System.Drawing 1. Create an object of the Graphics class to tell where you want your graphics: Graphics g=this.creategraphics(); //do this only once //g is the object name, this refers to the form itself //if you wanted graphics in a picturebox (you d use something //like: Graphics gp = picturebox1.creategraphics() 2. To fill in objects with color, first declare a SolidBrush: SolidBrush sbblue = new SolidBrush(Color.Blue); 3. To create a filled rectangle on g (the form s graphics object): g.fillrectangle(sbblue,0,0,100,75) //creates a blue rectangle that // starts at pixel 0,0 and is 100 pixels wide and 75 pixels high. Try it. Draw a rectangle when you click a button. If you have time, draw two rectangles when you hit the button. 9

10 Drawing Ellipses and Lines Ellipses: Same as FillRectangle, except use FillEllipse. The position x and y values represent the upper left of a rectangle that would just fit around the ellipse. Lines: The following code draws a line that is blue and 4 pixels wide from pixel (100,150) to pixel (300,0): Graphics gr=this.creategraphics(); Pen p = new Pen(Color.Blue, 4); gr.drawline(p,100,150,300,0); Note: You use a Pen instead of a SolidBrush. You can also draw rectangles and ellipses that aren t filled in, and you would use a Pen with these also: gr.drawrectangle(p,100,150,40,60); gr.drawellipse(p, 100,150,40,60); Try drawing a circle that s not filled in. 10

Lab 7 Keyboard Event Handling Mouse Event Handling

Lab 7 Keyboard Event Handling Mouse Event Handling Lab 7 Keyboard Event Handling Mouse Event Handling Keyboard Event Handling This section explains how to handle key events. Key events are generated when keys on the keyboard are pressed and released. These

More information

One Dimension Array: Declaring a fixed-array, if array-name is the name of an array

One Dimension Array: Declaring a fixed-array, if array-name is the name of an array Arrays in Visual Basic 6 An array is a collection of simple variables of the same type to which the computer can efficiently assign a list of values. Array variables have the same kinds of names as simple

More information

Petrel TIPS&TRICKS from SCM

Petrel TIPS&TRICKS from SCM Petrel TIPS&TRICKS from SCM Knowledge Worth Sharing Building Montages in Petrel Most Petrel projects require display maps to be made for presentations; either for partners or peers. This TIPS&TRICKS provides

More information

Introduction to Data Structures

Introduction to Data Structures Introduction to Data Structures Albert Gural October 28, 2011 1 Introduction When trying to convert from an algorithm to the actual code, one important aspect to consider is how to store and manipulate

More information

Visual Basic 2010 Essentials

Visual Basic 2010 Essentials Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.

More information

DIA Creating Charts and Diagrams

DIA Creating Charts and Diagrams DIA Creating Charts and Diagrams Dia is a vector-based drawing tool similar to Win32 OS Visio. It is suitable for graphical languages such as dataflow diagrams, entity-relationship diagrams, organization

More information

Designing a Graphical User Interface

Designing a Graphical User Interface Designing a Graphical User Interface 1 Designing a Graphical User Interface James Hunter Michigan State University ECE 480 Design Team 6 5 April 2013 Summary The purpose of this application note is to

More information

Visual Basic Programming. An Introduction

Visual Basic Programming. An Introduction Visual Basic Programming An Introduction Why Visual Basic? Programming for the Windows User Interface is extremely complicated. Other Graphical User Interfaces (GUI) are no better. Visual Basic provides

More information

Answers to Review Questions Chapter 7

Answers to Review Questions Chapter 7 Answers to Review Questions Chapter 7 1. The size declarator is used in a definition of an array to indicate the number of elements the array will have. A subscript is used to access a specific element

More information

Systems Programming & Scripting

Systems Programming & Scripting Systems Programming & Scripting Lecture 6: C# GUI Development Systems Prog. & Script. - Heriot Watt Univ 1 Blank Form Systems Prog. & Script. - Heriot Watt Univ 2 First Form Code using System; using System.Drawing;

More information

Getting Started on the Computer With Mouseaerobics! Windows XP

Getting Started on the Computer With Mouseaerobics! Windows XP This handout was modified from materials supplied by the Bill and Melinda Gates Foundation through a grant to the Manchester City Library. Getting Started on the Computer With Mouseaerobics! Windows XP

More information

paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time.

paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time. MS Word, Part 3 & 4 Office 2007 Line Numbering Sometimes it can be helpful to have every line numbered. That way, if someone else is reviewing your document they can tell you exactly which lines they have

More information

Lesson 10: Video-Out Interface

Lesson 10: Video-Out Interface Lesson 10: Video-Out Interface 1. Introduction The Altera University Program provides a number of hardware controllers, called cores, to control the Video Graphics Array (VGA) Digital-to-Analog Converter

More information

1. Use the class definition above to circle and identify the parts of code from the list given in parts a j.

1. Use the class definition above to circle and identify the parts of code from the list given in parts a j. public class Foo { private Bar _bar; public Foo() { _bar = new Bar(); public void foobar() { _bar.moveforward(25); 1. Use the class definition above to circle and identify the parts of code from the list

More information

App Inventor Drum Machine Instructions (Project #1) (Version 2 of App Inventor) Description:

App Inventor Drum Machine Instructions (Project #1) (Version 2 of App Inventor) Description: App Inventor Drum Machine Instructions (Project #1) (Version 2 of App Inventor) Description: App Inventor is a web based tool that allows the user to create apps for Android devices. The user interface

More information

LabVIEW Day 6: Saving Files and Making Sub vis

LabVIEW Day 6: Saving Files and Making Sub vis LabVIEW Day 6: Saving Files and Making Sub vis Vern Lindberg You have written various vis that do computations, make 1D and 2D arrays, and plot graphs. In practice we also want to save that data. We will

More information

Praktikum im Bereich Praktische Informatik Entwicklung eines Ray-Tracing Systems. computer graphics & visualization

Praktikum im Bereich Praktische Informatik Entwicklung eines Ray-Tracing Systems. computer graphics & visualization Praktikum im Bereich Praktische Informatik Entwicklung eines Ray-Tracing Systems Organizational Weekly Assignments + Preliminary discussion: Tuesdays 15:30-17:00 in room MI 02.13.010 Assignment deadline

More information

Lecture 22: C Programming 4 Embedded Systems

Lecture 22: C Programming 4 Embedded Systems Lecture 22: C Programming 4 Embedded Systems Today s Goals Basic C programming process Variables and constants in C Pointers to access addresses Using a High Level Language High-level languages More human

More information

Passing 1D arrays to functions.

Passing 1D arrays to functions. Passing 1D arrays to functions. In C++ arrays can only be reference parameters. It is not possible to pass an array by value. Therefore, the ampersand (&) is omitted. What is actually passed to the function,

More information

Windows Presentation Foundation (WPF) User Interfaces

Windows Presentation Foundation (WPF) User Interfaces Windows Presentation Foundation (WPF) User Interfaces Rob Miles Department of Computer Science 29c 08120 Programming 2 Design Style and programming As programmers we probably start of just worrying about

More information

Adobe Illustrator CS5 Part 1: Introduction to Illustrator

Adobe Illustrator CS5 Part 1: Introduction to Illustrator CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Adobe Illustrator CS5 Part 1: Introduction to Illustrator Summer 2011, Version 1.0 Table of Contents Introduction...2 Downloading

More information

Sources: On the Web: Slides will be available on:

Sources: On the Web: Slides will be available on: C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,

More information

First Bytes Programming Lab 2

First Bytes Programming Lab 2 First Bytes Programming Lab 2 This lab is available online at www.cs.utexas.edu/users/scottm/firstbytes. Introduction: In this lab you will investigate the properties of colors and how they are displayed

More information

Smartboard and Notebook 10 What s New

Smartboard and Notebook 10 What s New Smartboard and Notebook 10 What s New Smartboard Markers and Eraser (for use with all programs): You may use your finger as the mouse. Press down twice to double click Hold your finger down for a few seconds

More information

Using Loops and Timers

Using Loops and Timers Chapter 7 Using Loops and Timers After completing this chapter, you will be able to: Use a For Next loop to execute statements a set number of times. Display output in a multiline text box by using string

More information

The VB development environment

The VB development environment 2 The VB development environment This chapter explains: l how to create a VB project; l how to manipulate controls and their properties at design-time; l how to run a program; l how to handle a button-click

More information

To Begin Customize Office

To Begin Customize Office To Begin Customize Office Each of us needs to set up a work environment that is comfortable and meets our individual needs. As you work with Office 2007, you may choose to modify the options that are available.

More information

We are going to investigate what happens when we draw the three angle bisectors of a triangle using Geometer s Sketchpad.

We are going to investigate what happens when we draw the three angle bisectors of a triangle using Geometer s Sketchpad. Krystin Wright Geometer s Sketchpad Assignment Name Date We are going to investigate what happens when we draw the three angle bisectors of a triangle using Geometer s Sketchpad. First, open up Geometer

More information

Introduction to Microsoft PowerPoint

Introduction to Microsoft PowerPoint Introduction to Microsoft PowerPoint School of Medicine Library University of South Carolina WHAT IS POWERPOINT? PowerPoint (PPT) is a powerful, easy-to-use presentation graphics software program which

More information

Using WINK to create custom animated tutorials

Using WINK to create custom animated tutorials Using WINK to create custom animated tutorials A great way for students and teachers alike to learn how to use new software is to see it demonstrated and to reinforce the lesson by reviewing the demonstration.

More information

What is Microsoft PowerPoint?

What is Microsoft PowerPoint? What is Microsoft PowerPoint? Microsoft PowerPoint is a powerful presentation builder. In PowerPoint, you can create slides for a slide-show with dynamic effects that will keep any audience s attention.

More information

CS106A, Stanford Handout #38. Strings and Chars

CS106A, Stanford Handout #38. Strings and Chars CS106A, Stanford Handout #38 Fall, 2004-05 Nick Parlante Strings and Chars The char type (pronounced "car") represents a single character. A char literal value can be written in the code using single quotes

More information

Part 1 Foundations of object orientation

Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed

More information

Motion tween is nothing but tweening a Symbol's movement from one position to another.

Motion tween is nothing but tweening a Symbol's movement from one position to another. Multi lt3f Simple Animation using Adobe Flash CS5 Required : 1. Satisfy all the examples and exercises given.provide your own graphic files.2. Apply the appropriate animation for the facial expressions

More information

Appendix K Introduction to Microsoft Visual C++ 6.0

Appendix K Introduction to Microsoft Visual C++ 6.0 Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):

More information

Canterbury Maps Quick Start - Drawing and Printing Tools

Canterbury Maps Quick Start - Drawing and Printing Tools Canterbury Maps Canterbury Maps Quick Start - Drawing and Printing Tools Quick Start Guide Standard GIS Viewer 2 Canterbury Maps Quick Start - Drawing and Printing Tools Introduction This document will

More information

Petrel TIPS&TRICKS from SCM

Petrel TIPS&TRICKS from SCM Petrel TIPS&TRICKS from SCM Maps: Knowledge Worth Sharing Map Annotation A map is a graphic representation of some part of the earth. In our industry, it may represent either the surface or sub surface;

More information

Task Card #2 SMART Board: Notebook

Task Card #2 SMART Board: Notebook Task Card #2 SMART Board: Notebook Objectives: Participants will learn how to utilize the SMART Notebook. Table of Contents: Launching The SMART Notebook Page 1 Entering Text Page 1 Top Toolbar Page 2

More information

Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional.

Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional. Workspace tour Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional. In this tutorial, you will become familiar with the terminology and workspace

More information

a) What is the major difference between a program that runs under a virtual machine vs. one that does not?

a) What is the major difference between a program that runs under a virtual machine vs. one that does not? CS109 Midterm Exam, Total = 100 Points Name: Please write neatly and show as much of your work as possible for partial credit. Scan through all problems first, and attack the easiest problems first. Use

More information

Introduction to Java

Introduction to Java Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

More information

Instructions for Creating Silly Survey Database

Instructions for Creating Silly Survey Database Instructions for Creating Silly Survey Database Create a New Database 1. Find the shortcut or the file that starts MS Access and click it to activate the program. 2. In the Create a New Database Using

More information

An Incomplete C++ Primer. University of Wyoming MA 5310

An Incomplete C++ Primer. University of Wyoming MA 5310 An Incomplete C++ Primer University of Wyoming MA 5310 Professor Craig C. Douglas http://www.mgnet.org/~douglas/classes/na-sc/notes/c++primer.pdf C++ is a legacy programming language, as is other languages

More information

Fireworks CS4 Tutorial Part 1: Intro

Fireworks CS4 Tutorial Part 1: Intro Fireworks CS4 Tutorial Part 1: Intro This Adobe Fireworks CS4 Tutorial will help you familiarize yourself with this image editing software and help you create a layout for a website. Fireworks CS4 is the

More information

Wincopy Screen Capture

Wincopy Screen Capture Wincopy Screen Capture Version 4.0 User Guide March 26, 2008 Please visit www.informatik.com for the latest version of the software. Table of Contents General...3 Capture...3 Capture a Rectangle...3 Capture

More information

Computer Science 217

Computer Science 217 Computer Science 217 Midterm Exam Fall 2009 October 29, 2009 Name: ID: Instructions: Neatly print your name and ID number in the spaces provided above. Pick the best answer for each multiple choice question.

More information

Basic Website Creation. General Information about Websites

Basic Website Creation. General Information about Websites Basic Website Creation General Information about Websites Before you start creating your website you should get a general understanding of how the Internet works. This will help you understand what goes

More information

2.3 WINDOW-TO-VIEWPORT COORDINATE TRANSFORMATION

2.3 WINDOW-TO-VIEWPORT COORDINATE TRANSFORMATION 2.3 WINDOW-TO-VIEWPORT COORDINATE TRANSFORMATION A world-coordinate area selected for display is called a window. An area on a display device to which a window is mapped is called a viewport. The window

More information

A Step by Step Guide for Building an Ozeki VoIP SIP Softphone

A Step by Step Guide for Building an Ozeki VoIP SIP Softphone Lesson 3 A Step by Step Guide for Building an Ozeki VoIP SIP Softphone Abstract 2012. 01. 20. The third lesson of is a detailed step by step guide that will show you everything you need to implement for

More information

Interactive Data Visualization for the Web Scott Murray

Interactive Data Visualization for the Web Scott Murray Interactive Data Visualization for the Web Scott Murray Technology Foundations Web technologies HTML CSS SVG Javascript HTML (Hypertext Markup Language) Used to mark up the content of a web page by adding

More information

When To Work Scheduling Program

When To Work Scheduling Program When To Work Scheduling Program You should receive your login information by the second week of May. Please login and follow the instructions included in this packet. You will be scheduled based upon the

More information

Common Beginner C++ Programming Mistakes

Common Beginner C++ Programming Mistakes Common Beginner C++ Programming Mistakes This documents some common C++ mistakes that beginning programmers make. These errors are two types: Syntax errors these are detected at compile time and you won't

More information

Unit 21 - Creating a Button in Macromedia Flash

Unit 21 - Creating a Button in Macromedia Flash Unit 21 - Creating a Button in Macromedia Flash Items needed to complete the Navigation Bar: Unit 21 - House Style Unit 21 - Graphics Sketch Diagrams Document ------------------------------------------------------------------------------------------------

More information

m ac romed ia Fl a s h Curriculum Guide

m ac romed ia Fl a s h Curriculum Guide m ac romed ia Fl a s h Curriculum Guide 1997 1998 Macromedia, Inc. All rights reserved. Macromedia, the Macromedia logo, Dreamweaver, Director, Fireworks, Flash, Fontographer, FreeHand, and Xtra are trademarks

More information

Macros in Word & Excel

Macros in Word & Excel Macros in Word & Excel Description: If you perform a task repeatedly in Word or Excel, you can automate the task by using a macro. A macro is a series of steps that is grouped together as a single step

More information

C++ INTERVIEW QUESTIONS

C++ INTERVIEW QUESTIONS C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get

More information

PIC 10A. Lecture 7: Graphics II and intro to the if statement

PIC 10A. Lecture 7: Graphics II and intro to the if statement PIC 10A Lecture 7: Graphics II and intro to the if statement Setting up a coordinate system By default the viewing window has a coordinate system already set up for you 10-10 10-10 The origin is in the

More information

HOW TO CREATE A SCANNED DIGITAL SIGNATURE AND INSERT INTO A PDF DOCUMENT

HOW TO CREATE A SCANNED DIGITAL SIGNATURE AND INSERT INTO A PDF DOCUMENT HOW TO CREATE A SCANNED DIGITAL SIGNATURE AND INSERT INTO A PDF DOCUMENT Option I Attach your signature as a digital signature 1. Sign a piece of paper PHASE I CREATE THE SIGNATURE Sign a piece of paper

More information

Python Lists and Loops

Python Lists and Loops WEEK THREE Python Lists and Loops You ve made it to Week 3, well done! Most programs need to keep track of a list (or collection) of things (e.g. names) at one time or another, and this week we ll show

More information

Input and Interaction

Input and Interaction Input and Interaction 1 Objectives Introduce basic input devices Physical Devices Logical Devices Input Modes Event-driven input Introduce double buffering for smooth animations Programming event input

More information

In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move

In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move WORD PROCESSING In this session, we will explain some of the basics of word processing. The following are the outlines: 1. Start Microsoft Word 11. Edit the Document cut & move 2. Describe the Word Screen

More information

MATH 140 Lab 4: Probability and the Standard Normal Distribution

MATH 140 Lab 4: Probability and the Standard Normal Distribution MATH 140 Lab 4: Probability and the Standard Normal Distribution Problem 1. Flipping a Coin Problem In this problem, we want to simualte the process of flipping a fair coin 1000 times. Note that the outcomes

More information

Action settings and interactivity

Action settings and interactivity Interactivity in Powerpoint Powerpoint includes a small set of actions that can be set to occur when the user clicks, or simply moves the cursor over an object. These actions consist of links to other

More information

Beginner s Matlab Tutorial

Beginner s Matlab Tutorial Christopher Lum lum@u.washington.edu Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions

More information

Microsoft Word 2010 Tutorial

Microsoft Word 2010 Tutorial 1 Microsoft Word 2010 Tutorial Microsoft Word 2010 is a word-processing program, designed to help you create professional-quality documents. With the finest documentformatting tools, Word helps you organize

More information

Introduction to the Visual Studio.NET IDE

Introduction to the Visual Studio.NET IDE 2 Introduction to the Visual Studio.NET IDE Objectives To be introduced to the Visual Studio.NET Integrated Development Environment (IDE). To become familiar with the types of commands contained in the

More information

Final Examination Semester 2 / Year 2011

Final Examination Semester 2 / Year 2011 Southern College Kolej Selatan 南 方 学 院 Final Examination Semester 2 / Year 2011 COURSE : VISUAL BASIC.NET COURSE CODE : PROG2024 TIME : 2 1/2 HOURS DEPARTMENT : COMPUTER SCIENCE LECTURER : DR. LEE ZHI

More information

How to Create a Fun Circus Tent Icon. Final Image Preview. Tutorial Details. Step 1. By: Andrei Marius

How to Create a Fun Circus Tent Icon. Final Image Preview. Tutorial Details. Step 1. By: Andrei Marius How to Create a Fun Circus Tent Icon By: Andrei Marius Roll up, roll up! In the following tutorial you will learn how to create a simple circus tent icon. You may discover some interesting things about

More information

Opening, Importing and Saving Images

Opening, Importing and Saving Images Opening, Importing and Saving Images This tutorial will help you to become familiar with how to open, import and save the various file types that the Make The Cut! (MTC!) software supports. You can find

More information

Komumaldata Barcoded PDF Forms PDF417 Barcode Generator Reference XFA (LiveCycle) Version Generator Version: 1.12

Komumaldata Barcoded PDF Forms PDF417 Barcode Generator Reference XFA (LiveCycle) Version Generator Version: 1.12 Komumaldata Barcoded PDF Forms PDF417 Barcode Generator Reference XFA (LiveCycle) Version Generator Version: 1.12 Table of contents PDF417 Barcode Structure...3 Generator Function...3 Text Encoding Object...4

More information

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement? 1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members

More information

Microsoft Word 2010 Basics

Microsoft Word 2010 Basics Microsoft Word 2010 Basics 1. Start Word if the Word 2007 icon is not on the desktop: a. Click Start>Programs>Microsoft Office>Microsoft Word 2007 b. The Ribbon- seen across the top of Microsoft Word.

More information

Create a Poster Using Publisher

Create a Poster Using Publisher Contents 1. Introduction 1. Starting Publisher 2. Create a Poster Template 5. Aligning your images and text 7. Apply a background 12. Add text to your poster 14. Add pictures to your poster 17. Add graphs

More information

Handout 3 cs180 - Programming Fundamentals Spring 15 Page 1 of 6. Handout 3. Strings and String Class. Input/Output with JOptionPane.

Handout 3 cs180 - Programming Fundamentals Spring 15 Page 1 of 6. Handout 3. Strings and String Class. Input/Output with JOptionPane. Handout 3 cs180 - Programming Fundamentals Spring 15 Page 1 of 6 Handout 3 Strings and String Class. Input/Output with JOptionPane. Strings In Java strings are represented with a class type String. Examples:

More information

INFOCOMMUNICATIONS JOURNAL Mojette Transform Software Hardware Implementations and its Applications

INFOCOMMUNICATIONS JOURNAL Mojette Transform Software Hardware Implementations and its Applications FEBRUARY 011 VOLUME III NUMBER 1 39 INFOCOMMUNICATIONS JOURNAL 40 FEBRUARY 011 VOLUME III NUMBER 1 FEBRUARY 011 VOLUME III NUMBER 1 41 INFOCOMMUNICATIONS JOURNAL b1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a1 10

More information

Introduction to ROOT and data analysis

Introduction to ROOT and data analysis Introduction to ROOT and data analysis What is ROOT? Widely used in the online/offline data analyses in particle and nuclear physics Developed for the LHC experiments in CERN (root.cern.ch) Based on Object

More information

Using Excel to find Perimeter, Area & Volume

Using Excel to find Perimeter, Area & Volume Using Excel to find Perimeter, Area & Volume Level: LBS 4 V = lwh Goal: To become familiar with Microsoft Excel by entering formulas into a spreadsheet in order to calculate the perimeter, area and volume

More information

Excel -- Creating Charts

Excel -- Creating Charts Excel -- Creating Charts The saying goes, A picture is worth a thousand words, and so true. Professional looking charts give visual enhancement to your statistics, fiscal reports or presentation. Excel

More information

Using SQL Server Management Studio

Using SQL Server Management Studio Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases

More information

Hands-On Practice. Using Notebook Software in the Office

Hands-On Practice. Using Notebook Software in the Office Using Notebook Software in the Office Before You Start Before you begin your meeting, ensure that your computer is turned on and the SMART Board interactive whiteboard is connected and oriented. The SMART

More information

Create Charts in Excel

Create Charts in Excel Create Charts in Excel Table of Contents OVERVIEW OF CHARTING... 1 AVAILABLE CHART TYPES... 2 PIE CHARTS... 2 BAR CHARTS... 3 CREATING CHARTS IN EXCEL... 3 CREATE A CHART... 3 HOW TO CHANGE THE LOCATION

More information

Aras Corporation. 2005 Aras Corporation. All rights reserved. Notice of Rights. Notice of Liability

Aras Corporation. 2005 Aras Corporation. All rights reserved. Notice of Rights. Notice of Liability Aras Corporation 2005 Aras Corporation. All rights reserved Notice of Rights All rights reserved. Aras Corporation (Aras) owns this document. No part of this document may be reproduced or transmitted in

More information

Doña Ana County, NM Map Help

Doña Ana County, NM Map Help Doña Ana County, NM Map Help Map Features Introduction 1. Toolbar 2. Zoom Control Buttons 3. Map/Legend Tabs 4. Layer Control 5. Parcel Search Tools 6. Selected Feature Attributes Toolbar The map toolbar

More information

8. MACROS, Modules, and Mouse

8. MACROS, Modules, and Mouse 8. MACROS, Modules, and Mouse Background Macros, Modules and the Mouse is a combination of concepts that will introduce you to modular programming while learning how to interface with the mouse. Macros

More information

Epson Brightlink Interactive Board and Pen Training. Step One: Install the Brightlink Easy Interactive Driver

Epson Brightlink Interactive Board and Pen Training. Step One: Install the Brightlink Easy Interactive Driver California State University, Fullerton Campus Information Technology Division Documentation and Training Services Handout Epson Brightlink Interactive Board and Pen Training Downloading Brightlink Drivers

More information

Updox, LLC support@updox.com 614-547-9635

Updox, LLC support@updox.com 614-547-9635 Set Up and User Guide Version 3.2.2 Updox, LLC support@updox.com 614-547-9635 Table of Contents Creating and Managing Internal Updox Users... 3 How to Send and Receive Faxes... 4 How to Import Files into

More information

arrays C Programming Language - Arrays

arrays C Programming Language - Arrays arrays So far, we have been using only scalar variables scalar meaning a variable with a single value But many things require a set of related values coordinates or vectors require 3 (or 2, or 4, or more)

More information

5 Airport. Chapter 5: Airport 49. Right-click on Data Connections, then select Add Connection.

5 Airport. Chapter 5: Airport 49. Right-click on Data Connections, then select Add Connection. Chapter 5: Airport 49 5 Airport Most practical applications in C# require data to be stored in a database and accessed by the program. We will examine how this is done by setting up a small database of

More information

Get post program 7 W.a.p. that Enter two numbers from user and do arithmetic operation

Get post program 7 W.a.p. that Enter two numbers from user and do arithmetic operation Program list for PHP SRNO DEFINITION LOGIC/HINT 1 W.a.p. to print message on the screen Basic program 2 W.a.p. to print variables on the screen Basic program 3 W.a.p. to print sum of two integers on the

More information

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java

More information

Using Microsoft Project 2000

Using Microsoft Project 2000 Using MS Project Personal Computer Fundamentals 1 of 45 Using Microsoft Project 2000 General Conventions All text highlighted in bold refers to menu selections. Examples would be File and Analysis. ALL

More information

public static void main(string[] args) { System.out.println("hello, world"); } }

public static void main(string[] args) { System.out.println(hello, world); } } Java in 21 minutes hello world basic data types classes & objects program structure constructors garbage collection I/O exceptions Strings Hello world import java.io.*; public class hello { public static

More information

A Quick Start Guide to Using PowerPoint For Image-based Presentations

A Quick Start Guide to Using PowerPoint For Image-based Presentations A Quick Start Guide to Using PowerPoint For Image-based Presentations By Susan Jane Williams & William Staffeld, Knight Visual Resources Facility College of Architecture, Art and Planning Cornell University.

More information

LESSON 7: IMPORTING AND VECTORIZING A BITMAP IMAGE

LESSON 7: IMPORTING AND VECTORIZING A BITMAP IMAGE LESSON 7: IMPORTING AND VECTORIZING A BITMAP IMAGE In this lesson we ll learn how to import a bitmap logo, transform it into a vector and perform some editing on the vector to clean it up. The concepts

More information

Microsoft PowerPoint 2010 Computer Jeopardy Tutorial

Microsoft PowerPoint 2010 Computer Jeopardy Tutorial Microsoft PowerPoint 2010 Computer Jeopardy Tutorial 1. Open up Microsoft PowerPoint 2010. 2. Before you begin, save your file to your H drive. Click File > Save As. Under the header that says Organize

More information

Installing An ActiveX Control in InTouch

Installing An ActiveX Control in InTouch Tech Note 117 Using the InTouch 7.0 ActiveX Container All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#:

More information

Excel Project 4. 1. From the Start menu select New Office Document. If necessary, click the General tab and then double-click Blank workbook.

Excel Project 4. 1. From the Start menu select New Office Document. If necessary, click the General tab and then double-click Blank workbook. Excel Project 4 Two of the more powerful aspects of Excel are its wide array of functions and its capability to organize answers to what-if questions. In earlier projects you were introduced to several

More information

A Guide to Microsoft Paint (Windows XP)

A Guide to Microsoft Paint (Windows XP) A Guide to Microsoft Paint (Windows XP) Introduction Microsoft Paint allows you to produce your own pictures (or edit existing ones). In Windows XP, you can no longer access Paint directly from the Microsoft

More information

AP Computer Science Static Methods, Strings, User Input

AP Computer Science Static Methods, Strings, User Input AP Computer Science Static Methods, Strings, User Input Static Methods The Math class contains a special type of methods, called static methods. A static method DOES NOT operate on an object. This is because

More information