Creating a nice GUI. OpenGL and Windows. Note: VS 2003 shown. Create a new Project

Size: px
Start display at page:

Download "Creating a nice GUI. OpenGL and Windows. Note: VS 2003 shown. Create a new Project"

Transcription

1 Creating a nice GUI OpenGL and Windows Windows Forms Programming Roger Crawfis The next several slides will walk you thru a particular design that I like for my applications. The order can be a little finicky, so if you mess up, delete all files and start over!!! The design consists of a GUI panel on the left and a view panel on the right, with a status bar and a main menu. Note: VS 2003 shown The following slides and images are old, create a new project using Also, note there is a new SplitContainer that works better for this style of GUI. Use it rather than the Panel/Splitter/Panel approach. Create a new Project Start Visual Studio.NET

2 Create a new Project Select a C++ Windows Forms Application Add your GUI elements Resize the Form to be about 800 by 600, or whatever you like. In this order, add the following elements from the Toolbox->Windows Forms. StatusBar Panel Splitter Panel GUI design GUI Design In the Properties window you can make changes to the content and appearance of these controls. Change the BackColor of the splitter. Change the Dock property of panel1 to Left. Change the Dock property of panel2 to Fill (the center icon). Click on the Collections property of the statusbar and add three tabs. Type in some text. On the StatusBar properties, set ShowPanels to true. Build (Build->Build Solution) and run (Debug->Start without Debugging) your application. It should look something like this:

3 GUI Design In the GUI panel, let s make one large tabbed dialogue. Drag a tabcontrol over to the GUI panel. Set its dock to Fill. In the properties select the Collection button and add four tab panels. Lab2 Extra Grading Readme GUI Design Your program should now look like this. New Title added Background image added Examine the code InitializeComponents Okay. We have the basic lay-out. Notice we have not done any programming yet. Right-click the Form1.h file in the Solution panel and select Edit Code. We have: A public constructor A protected Dispose A private InitializeComponents What is this! The source code is in the.h file? Look at the Form1.cpp file. There is a tree view structure in the code views with Visual Studio. You can collapse a method, class or region of code to hide the details as you work on other parts of the code. The InitializeComponents method is collapsed by default. This is automatically generated by the Designer Window. It has all of the natty details on setting up the controls. Uncollapse it and examine the code.

4 Lab2 Okay, we have the basic lay-out, now we need to embed the business logic. What are the lab requirements? More specifically, what controls do we need? Specifying the number of lines / points. Reading in (selecting) an image file. Specifying the line-width or point size. Specify two color values. Lab2 Controls Selecting an image file. Possible Options: 1. Add a text box and have the user type the path / filename into the textbox. (umm Yuck!!!) 2. Pre-load a set of image files and have the user select from this set. (lacks flexibility). 3. Bring up a dialog asking the user to select an image. Limit the selection to only the proper type of files. How do we bring up the dialog? What do we have to do to show the dialog? Image file Dialogue This is why you use a higher-level API. With windows forms and.net 1.1 this is really trivial. Follow these simple steps: 1. Drag an OpenFileDialog control to anywhere on your Form. Notice that it places it in a special window pane below your design. 2. Drag a Button control to the Lab2 tab panel. This will be used to bring up the dialog. Image file Dialogue Adjust the Button s properties: 1. Change the text to Load Texture Adjust the OpenFileDialog s properties 1. Change the Title to Select an image file for the texture 2. In the Filter property add a string to aid in the right file type selection. Something like this: All files (*.*) *.* Jpeg (*.jpg) *.jpg Png (*.png) *.png. Each pair here has the format (Text string to display regular expression). Note that adding a space before the asterisk results in a different regular expression. 3. Set the Filter index to 2, such that jpeg is the default format. 4. Set the AddExtension to False. 5. Make sure the Multiselect property is False.

5 Image file Dialogue Okay, we have now defined everything, such that the constructor is called and the properties are set. Nothing will happen though, we need to add some logic. Double click the Load Texture button. This adds some template code and brings up the source code window (Form1.h). It also added this line inside the InitializeComponents: this->button1->click += new System::EventHandler(this, button1_click); Add the following line in button1_click: this->openfiledialog1->showdialog(); Image file Dialogue Run and test the program. Clicking on the button should bring up the openfiledialog. Image file Dialogue Note that the dialog simply selects the file, it does not open it or perform any logic yet. We will address actually opening the file, reading in the image and creating a texture map from it later. Lab2 Controls Number of primitives There are several choices here. Textbox (you would need to validate that it only contained numbers). Numeric Up/Down control (it has two speeds, both of which you can configure in the Properties page). Trackbar or slider control (you may need to provide a text label that indicates the current value). The reference lab uses both a numericupdown and a Trackbar tightly coupled together.

6 Accessibility Most controls have accessibility features built into them. This allows for a mouse free control. You can hit the tab key to reach the NumericUpDown and Trackbar controls and then use the arrow keys to change their values. Holding down the key accelerates the change. Trackbar Let s use the trackbar. Drag a trackbar control to the Lab2 tab panel. In the Properties page: Set the Maximum value to 100,000 (or higher) Set the (initial or current) Value to 10,000 Set the LargeChange to 5,000 Set the SmallChange to 1,000 Set the Tick Frequency to 10,000 Also add a Label control (static text) above the trackbar to describe its purpose. Trackbar We should now have something like: Trackbar Okay, we have a control and it can change values, etc. but we do not have anything useful connected to it. Business logic: There are many ways you can use this: 1. The lazy way simply read the control s value whenever you need it. This mixes the business logic and the GUI logic. 2. The global document way Whenever the value changes, change a corresponding data value in some document class. This still mixes the logic. Bad data hiding. 3. The document/view way Whenever the value changes, call a method on the document s class. The document now knows it s value has changed. Perform some action (update display, verify data, etc.) Keep a history for undo/redo.

7 Document Class Okay, I will admit it, I used method #1 in the reference lab. But I am going to make you follow method #3. Create and add a new class to your project. Right-click on the solution and select Add->Add Class from the context menu. Select a generic C++ class and give a name. Change it to managed C++ by changing class to public gc class in the header file. Add the following private members: intnumprimitives; float linewidth; Color color1, color2; Document Class You also need to include: using namespace System::Drawing; Add public methods to set (and optionally get) each of these. For instance: void SetNumPrimitives( const int nlines ) { numprimitives = nlines; } Document Class Lab2 Status Okay, now we can wire that to the trackbar. Double-click the trackbar in the designer. In the code template, add something like: impressionismdoc->setnumprimitives( trackbar1->value ); We need to create and add an instance of our document. Declare a private pointer to an instance. private: Impressionism *impressionismdoc; In the constructor for Form1 create a new instance. impressionismdoc = new Impressionism(); Okay, we are about 1/3 of the way to having some implementation for lab2. You need to add an OpenGLPanel as in HW #1 and Lab1 and create the OpenGL drawing calls. We also still need to add the image file and texture map, as well as the other controls.

8 Done The End Ignore the following slides!! OhioState::OpenGLPanel The simplest possible canvas or rendering context. No assumptions are made (single buffer, double buffer, etc.) Burden on user to provide all information and event processing. Can be used as a base-class for more intelligent classes. OpenGLPanel : Forms::Control All of the functionality of a Control. Creates the OpenGL rendering context. Overrides: protectedonpaintbackground protectedonpaint protectedonresize public set_backcolor property Public methods OpenGLPanel( PIXELFORMATDESCRIPTOR pfd ); void AddPreRenderCallback( OpenGLRenderCallback *callback ); void AddRenderCallback( OpenGLRenderCallback *callback ); void AddPostRenderCallback( OpenGLRenderCallback *callback ); void AddResizeCallback( OpenGLResizeCallback *callback ); int GetFrameNumber() { return framenumber; }; void MakeCurrent(); void SwapBuffers();

9 The Constructor No assumptions, so the user passes in the PIXELFORMATDESCRIPTOR which indicates the number of color bits, stencil bits, etc. Make sure the dwflag entry includes PFD_SUPPORT_OPENGL. See the sample and the MSDN help for more information. Callbacks The OpenGLPanel is structured around registered callbacks. These are pointers to a function, or delegates. Two publicly defined Delegate types: public delegate void OpenGLRenderCallback( const int framenumber ); public delegate void OpenGLResizeCallback( const int width, const int height ); These are really type definitions: A pointer to a function that returns void and takes one parameter of type const int. Callbacks Like any other type, you create and instance: thank-you garbage collection glpanel->addrendercallback( new OhioState::OpenGLRenderCallback( this, DrawScene ) ); DrawScene is a public method of this, or Form1 here. Can also use static methods, in which case, this would be replaced with the class type. Using OpenGLPanel Checklist: Create a Forms::Panel (in the designer). In the Form1 constructor: Create an OpenGLPanel and add it to the panel (call this glpanel). Put all of your drawing code into a method that returns void and takes a single const int. Create a callback instance and add it to glpanel. Create a resize function, wrap it in a callback and add it to glpanel.

OhioState::OpenGLPanel. OpenGL and Windows. Public methods. OpenGLPanel : Forms::Control

OhioState::OpenGLPanel. OpenGL and Windows. Public methods. OpenGLPanel : Forms::Control OhioState::OpenGLPanel OpenGL and Windows Windows Forms Programming Roger Crawfis The simplest possible canvas or rendering context. No assumptions are made (single buffer, double buffer, etc.) Burden

More information

You can call the project anything you like I will be calling this one project slide show.

You can call the project anything you like I will be calling this one project slide show. C# Tutorial Load all images from a folder Slide Show In this tutorial we will see how to create a C# slide show where you load everything from a single folder and view them through a timer. This exercise

More information

Your First Windows Form

Your First Windows Form Your First Windows Form From now on, we re going to be creating Windows Forms Applications, rather than Console Applications. Windows Forms Applications make use of something called a Form. The Form is

More information

Dive Into Visual C# 2008 Express

Dive Into Visual C# 2008 Express 1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging

More information

Let s Make a Front Panel using FrontCAD

Let s Make a Front Panel using FrontCAD Let s Make a Front Panel using FrontCAD By Jim Patchell FrontCad is meant to be a simple, easy to use CAD program for creating front panel designs and artwork. It is a free, open source program, with the

More information

Tutorial 3 - Welcome Application

Tutorial 3 - Welcome Application 1 Tutorial 3 - Welcome Application Introduction to Visual Programming Outline 3.1 Test-Driving the Welcome Application 3.2 Constructing the Welcome Application 3.3 Objects used in the Welcome Application

More information

Developing for Mobile Devices Lab (Part 1 of 2)

Developing for Mobile Devices Lab (Part 1 of 2) Developing for Mobile Devices Lab (Part 1 of 2) Overview Through these two lab sessions you will learn how to create mobile applications for Windows Mobile phones and PDAs. As developing for Windows Mobile

More information

The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear.

The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. 4 Programming with C#.NET 1 Camera The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. Begin by loading Microsoft Visual Studio

More information

Starting Visual Studio 2005

Starting Visual Studio 2005 Starting Visual Studio 2005 1 Startup Language 1. Select Language 2. Start Visual Studio If this is your first time starting VS2005 after installation, you will probably see this screen. It is asking you

More information

Image Data Binding. Save images in database An image needs large amount of storage space. Only binary variable length fields may hold images.

Image Data Binding. Save images in database An image needs large amount of storage space. Only binary variable length fields may hold images. Image Data Binding Contents Save images in database... 1 Data Binding... 2 Update images... 3 Create method to select image into the Picture Box... 3 Execute SelectMethod when the Picture Box is clicked...

More information

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations Part I Integrated Development Environment Chapter 1: A Quick Tour Chapter 2: The Solution Explorer, Toolbox, and Properties Chapter 3: Options and Customizations Chapter 4: Workspace Control Chapter 5:

More information

In this exercise you will gain hands-on experience using STK X to embed STK functionality in a container application created with C#.

In this exercise you will gain hands-on experience using STK X to embed STK functionality in a container application created with C#. STK X Tutorial - C# In this exercise you will gain hands-on experience using STK X to embed STK functionality in a container application created with C#. CONTENTS TUTORIAL SOURCE CODE... 1 CREATE THE PROJECT...

More information

Create your own Meme Maker in C#

Create your own Meme Maker in C# Create your own Meme Maker in C# This tutorial will show how to create a meme maker in visual studio 2010 using C#. Now we are using Visual Studio 2010 version you can use any and still get the same result.

More information

Programming in C# Project 1:

Programming in C# Project 1: Programming in C# Project 1: Set the text in the Form s title bar. Change the Form s background color. Place a Label control on the Form. Display text in a Label control. Place a PictureBox control on

More information

Chapter 6 Dialogs. Creating a Dialog Style Form

Chapter 6 Dialogs. Creating a Dialog Style Form Chapter 6 Dialogs We all know the importance of dialogs in Windows applications. Dialogs using the.net FCL are very easy to implement if you already know how to use basic controls on forms. A dialog is

More information

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE

Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE 1 Tutorial 2 - Welcome Application Introducing, the Visual Studio.NET IDE Outline 2.1 Test-Driving the Welcome Application 2.2 Overview of the Visual Studio.NET 2003 IDE 2.3 Creating a Project for the

More information

Experiment 5 : Creating a Windows application to interface with 7-Segment LED display

Experiment 5 : Creating a Windows application to interface with 7-Segment LED display Experiment 5 : Creating a Windows application to interface with 7-Segment LED display Objectives : 1) To understand the how Windows Forms in the Windows-based applications. 2) To create a Window Application

More information

PowerPoint 2016 Building a Presentation

PowerPoint 2016 Building a Presentation PowerPoint 2016 Building a Presentation What is PowerPoint? PowerPoint is presentation software that helps users quickly and efficiently create dynamic, professional-looking presentations through the use

More information

Introductionto the Visual Basic Express 2008 IDE

Introductionto the Visual Basic Express 2008 IDE 2 Seeing is believing. Proverb Form ever follows function. Louis Henri Sullivan Intelligence is the faculty of making artificial objects, especially tools to make tools. Henri-Louis Bergson Introductionto

More information

A TUTORIAL ON WORD. Katie Gregory

A TUTORIAL ON WORD. Katie Gregory A TUTORIAL ON WORD Katie Gregory First, CLICK HERE Then, find Microsoft Word under programs and the Microsoft Office 2013 Folder This is what the document should look like when opened. SAVING A WORD DOCUMENT

More information

LAB 2 CREATING A COMBINED PROPOSAL

LAB 2 CREATING A COMBINED PROPOSAL LAB 2 CREATING A COMBINED PROPOSAL OBJECTIVE Walk through the main steps of creating a single report that contains the contents of a number of reports (Contract, Proposal, Scope of Work, and Project Contact

More information

InDesign Part II. Create a Library by selecting File, New, Library. Save the library with a unique file name.

InDesign Part II. Create a Library by selecting File, New, Library. Save the library with a unique file name. InDesign Part II Library A library is a file and holds a collection of commonly used objects. A library is a file (extension.indl) and it is stored on disk. A library file can be open at any time while

More information

ChemSense Studio Client Version 3.0.7

ChemSense Studio Client Version 3.0.7 Quick Start Guide: ChemSense Studio Client Version 3.0.7 January 5, 2005 Comments/Questions/Bug Report? E-mail: chemsense-contact@ctl.sri.com Background The ChemSense Studio Client software supports the

More information

Introduction to the Visual Studio.NET Integrated Development Environment IDE. CSC 211 Intermediate Programming

Introduction to the Visual Studio.NET Integrated Development Environment IDE. CSC 211 Intermediate Programming Introduction to the Visual Studio.NET Integrated Development Environment IDE CSC 211 Intermediate Programming Visual Studio.NET Integrated Development Environment (IDE) The Start Page(Fig. 1) Helpful links

More information

GUI Design and Event- Driven Programming

GUI Design and Event- Driven Programming 4349Book.fm Page 1 Friday, December 16, 2005 1:33 AM Part 1 GUI Design and Event- Driven Programming This Section: Chapter 1: Getting Started with Visual Basic 2005 Chapter 2: Visual Basic: The Language

More information

How to lay out a web page with CSS

How to lay out a web page with CSS How to lay out a web page with CSS A CSS page layout uses the Cascading Style Sheets format, rather than traditional HTML tables or frames, to organize the content on a web page. The basic building block

More information

Intermediate Microsoft Word 2010

Intermediate Microsoft Word 2010 Intermediate Microsoft Word 2010 USING PICTURES... PAGE 02! Inserting Pictures/The Insert Tab! Picture Tools/Format Tab! Resizing Images! Using the Arrange Tools! Positioning! Wrapping Text! Using the

More information

Using Visual Basic Studio 2008

Using Visual Basic Studio 2008 Using Visual Basic Studio 2008 Recall that object-oriented programming language is a programming language that allows the programmer to use objects to accomplish a program s goal. An object is anything

More information

In-Class Worksheet #4

In-Class Worksheet #4 CSE 459.24 Programming in C# Richard Kidwell In-Class Worksheet #4 Creating a Windows Forms application with Data Binding You should have Visual Studio 2008 open. 1. Create a new Project either from the

More information

Tutorials. Lesson 3 Work with Text

Tutorials. Lesson 3 Work with Text In this lesson you will learn how to: Add a border and shadow to the title. Add a block of freeform text. Customize freeform text. Tutorials Display dates with symbols. Annotate a symbol using symbol text.

More information

Introduction to the Graphics Module Framework

Introduction to the Graphics Module Framework Introduction to the Graphics Module Framework Introduction Unlike the C++ module, which required nothing beyond what you typed in, the graphics module examples rely on lots of extra files - shaders, textures,

More information

How to Create a Windows Form Applcation in Visual C++/CLR 2012: Exploiting the power of Visual C++/CLR 2012

How to Create a Windows Form Applcation in Visual C++/CLR 2012: Exploiting the power of Visual C++/CLR 2012 Windows Form Applications in Visual C++/CLR 2012 How to use Visual Studio 2015 is explained at this website. You can create a new windows form application in Visual C++/CLR 2013 essentially in the same

More information

PHOTOSHOP WORKSPACE. Interface Overview. Menus. The Tools. Palettes. Presets and Preferences PHOTOSHOP WORKSPACE UNIVERSAL TASKS PHOTO AND VIDEO TASKS

PHOTOSHOP WORKSPACE. Interface Overview. Menus. The Tools. Palettes. Presets and Preferences PHOTOSHOP WORKSPACE UNIVERSAL TASKS PHOTO AND VIDEO TASKS 12/30/03 2:19 PM Page 1 CHAPTER 1 Interface Overview 3 AL Menus RI 13 27 CHAPTER 4 59 ED Palettes CHAPTER 5 87 PRINT TASKS PY R IG HT Presets and Preferences PHOTO AND VIDEO TASKS MA TE CHAPTER 3 The Tools

More information

Creating a Special PowerPoint Title Slide Using WordArt

Creating a Special PowerPoint Title Slide Using WordArt Creating a Special PowerPoint Title Slide Using WordArt 1. Open a new slideshow and delete the topic and content textboxes 2. Click on the Insert tab and click on the WordArt tool icon. (Suggestion: start

More information

Unit 21 - Creating a Button in Macromedia Flash (simplified)

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

More information

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.

Text box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box. Visual Basic Concepts Hello, Visual Basic See Also There are three main steps to creating an application in Visual Basic: 1. Create the interface. 2. Set properties. 3. Write code. To see how this is done,

More information

REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! CS 1033 Multimedia and Communications Lab 8: Animation with Video Timeline REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! LAB #8 - Exercise 1 Objectives: Upon completion of Exercise 1 you should be

More information

Visual Studio.NET.NET Framework. Web Services Web Forms Windows Forms. Data and XML classes. Framework Base Classes. Common Language Runtime

Visual Studio.NET.NET Framework. Web Services Web Forms Windows Forms. Data and XML classes. Framework Base Classes. Common Language Runtime Intro C# Intro C# 1 Microsoft's.NET platform and Framework.NET Enterprise Servers Visual Studio.NET.NET Framework.NET Building Block Services Operating system on servers, desktop, and devices Web Services

More information

Fundamentals of PowerPoint 2007 Instructor: Elizabeth-Latta Brother

Fundamentals of PowerPoint 2007 Instructor: Elizabeth-Latta Brother Fundamentals of PowerPoint 2007 Instructor: Elizabeth-Latta Brother Getting to know PowerPoint... 1 What happens when you open PowerPoint... 1 Understanding the presentation window... 1 Customizing the

More information

USER GUIDE. MADCAP FLARE 2018 r2. Images

USER GUIDE. MADCAP FLARE 2018 r2. Images USER GUIDE MADCAP FLARE 2018 r2 Images Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is

More information

COPYRIGHTED MATERIAL PHOTOSHOP WORKSPACE. Interface Overview 3. Menus 15. The Toolbox 29. Palettes 61. Presets and Preferences 83 WEB TASKS

COPYRIGHTED MATERIAL PHOTOSHOP WORKSPACE. Interface Overview 3. Menus 15. The Toolbox 29. Palettes 61. Presets and Preferences 83 WEB TASKS PHOTOSHOP WORKSPACE CHAPTER 1 Interface Overview 3 CHAPTER 2 Menus 15 CHAPTER 3 The Toolbox 29 CHAPTER 4 Palettes 61 CHAPTER 5 Presets and Preferences 83 COPYRIGHTED MATERIAL PHOTOSHOP WORK SPACE UNIVERSAL

More information

Event-based Programming

Event-based Programming Window-based programming Roger Crawfis Most modern desktop systems are window-based. What location do I use to set this pixel? Non-window based environment Window based environment Window-based GUI s are

More information

Visual C# Program: Simple Game 3

Visual C# Program: Simple Game 3 C h a p t e r 6C Visual C# Program: Simple Game 3 In this chapter, you will learn how to use the following Visual C# Application functions to World Class standards: Opening Visual C# Editor Beginning a

More information

MS Word 2007: Graphics. Lesson Notes Author: Pamela Schmidt. The Drawing Tools Format Ribbon appears when the object is selected.

MS Word 2007: Graphics. Lesson Notes Author: Pamela Schmidt. The Drawing Tools Format Ribbon appears when the object is selected. AutoShapes MS Word 2007: Graphics Lesson Notes Author: Pamela Schmidt To insert a shape, on the Insert Ribbon choose the Shapes control. When a shape tool is selected, a cross hair will appear when the

More information

Gwenview User Manual. Aurélien Gâteau Christopher Martin Henry de Valence

Gwenview User Manual. Aurélien Gâteau Christopher Martin Henry de Valence Aurélien Gâteau Christopher Martin Henry de Valence 2 Contents 1 Introduction 5 1.1 What is Gwenview..................................... 5 2 The Interface 6 2.1 Start Page..........................................

More information

Lab 2. CSE 3, Summer 2010 In this lab you will learn about file structures and advanced features of Microsoft Word.

Lab 2. CSE 3, Summer 2010 In this lab you will learn about file structures and advanced features of Microsoft Word. Lab 2 CSE 3, Summer 2010 In this lab you will learn about file structures and advanced features of Microsoft Word. A. Create a basic File Structure Let s start by opening up the My Documents folder on

More information

Click on the words Click to add subtitle and begin typing out your subtitle. You may also choose to add your name here rather than a subtitle.

Click on the words Click to add subtitle and begin typing out your subtitle. You may also choose to add your name here rather than a subtitle. PowerPoint Step-by-Step Sections: Getting Started Creating a Title Page Creating a Picture Page Creating a Bulleted Page Creating a Mixed Media Page Other General Notes Getting Started Open PowerPoint:

More information

INFORMATICS LABORATORY WORK #4

INFORMATICS LABORATORY WORK #4 KHARKIV NATIONAL UNIVERSITY OF RADIO ELECTRONICS INFORMATICS LABORATORY WORK #4 MAZE GAME CREATION Associate Professor A.S. Eremenko, Associate Professor A.V. Persikov Maze In this lab, you build a maze

More information

OpenGL and Qt Creator: a Gentle Introduction

OpenGL and Qt Creator: a Gentle Introduction OpenGL and Qt Creator: a Gentle Introduction Comp175: Introduction to Computer Graphics Fall 201 September 9th, 2011 1 Introduction In this lab 1 you will take your first steps into the world of OpenGL

More information

Reference Services Division Presents. Microsoft Word 2

Reference Services Division Presents. Microsoft Word 2 Reference Services Division Presents Microsoft Word 2 This handout covers the latest Microsoft Word 2010. This handout includes instructions for the tasks we will be covering in class. Basic Tasks Review

More information

Read every line of the exam sheet before programming!

Read every line of the exam sheet before programming! Final Exam, CS130 Fall 2006 Instructions. This exam is similar to the midterms, except that you have two hours and fifteen minutes to work. The executable file to submit is Final.exe. Don t forget to put

More information

You can make your own layout / theme for your PowerPoint project.

You can make your own layout / theme for your PowerPoint project. About the PowerPoint Intermediate Workshop The purpose of the PowerPoint Intermediate workshop is to inform users more about the design aspect of making presentations. We will build on the skills learned

More information

First Visual Basic Lab Paycheck-V1.0

First Visual Basic Lab Paycheck-V1.0 VISUAL BASIC LAB ASSIGNMENT #1 First Visual Basic Lab Paycheck-V1.0 Copyright 2013 Dan McElroy Paycheck-V1.0 The purpose of this lab assignment is to enter a Visual Basic project into Visual Studio and

More information

CS Final Exam Review Suggestions - Spring 2014

CS Final Exam Review Suggestions - Spring 2014 CS 111 - Final Exam Review Suggestions p. 1 CS 111 - Final Exam Review Suggestions - Spring 2014 last modified: 2014-05-09 before lab You are responsible for material covered in class sessions, lab exercises,

More information

Tutorial 5 Completing the Inventory Application Introducing Programming

Tutorial 5 Completing the Inventory Application Introducing Programming 1 Tutorial 5 Completing the Inventory Application Introducing Programming Outline 5.1 Test-Driving the Inventory Application 5.2 Introduction to C# Code 5.3 Inserting an Event Handler 5.4 Performing a

More information

CST242 Windows Forms with C# Page 1

CST242 Windows Forms with C# Page 1 CST242 Windows Forms with C# Page 1 1 2 4 5 6 7 9 10 Windows Forms with C# CST242 Visual C# Windows Forms Applications A user interface that is designed for running Windows-based Desktop applications A

More information

Getting Started. 1 by Conner Irwin

Getting Started. 1 by Conner Irwin If you are a fan of the.net family of languages C#, Visual Basic, and so forth and you own a copy of AGK, then you ve got a new toy to play with. The AGK Wrapper for.net is an open source project that

More information

Tabs, Tables & Columns

Tabs, Tables & Columns Tabs, Tables & Columns What we will cover Creating tables Formatting tables Sorting information in tables Using columns Using tabs Tables You can insert a table several: Insert Table button This will open

More information

Instructions for Crossword Assignment CS130

Instructions for Crossword Assignment CS130 Instructions for Crossword Assignment CS130 Purposes: Implement a keyboard interface. 1. The program you will build is meant to assist a person in preparing a crossword puzzle for publication. You have

More information

A Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER?

A Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER? 1 A Quick Tour WHAT S IN THIS CHAPTER? Installing and getting started with Visual Studio 2012 Creating and running your fi rst application Debugging and deploying an application Ever since software has

More information

Introduction. What is Max?

Introduction. What is Max? Introduction What is Max? Max is a graphical music programming environment for people who have hit the limits of the usual sequencer and voicing programs for MIDI equipment. Miller Puckette, Max reference

More information

Ink2Go Help. Toolbar functions

Ink2Go Help. Toolbar functions Toolbar functions S/N Icons Description 1 New Page Create a new page for annotations. Existing annotations will be saved as previous page. You can then use Previous Page/Next Page buttons to navigate between

More information

Word 2013 Quick Start Guide

Word 2013 Quick Start Guide Getting Started File Tab: Click to access actions like Print, Save As, and Word Options. Ribbon: Logically organize actions onto Tabs, Groups, and Buttons to facilitate finding commands. Active Document

More information

To gain experience using GUI components and listeners.

To gain experience using GUI components and listeners. Lab 5 Handout 7 CSCI 134: Fall, 2017 TextPlay Objective To gain experience using GUI components and listeners. Note 1: You may work with a partner on this lab. If you do, turn in only one lab with both

More information

Session 7 MS Word. Graphics. Inserting Clipart, and Graphics Modify graphics Position graphics

Session 7 MS Word. Graphics. Inserting Clipart, and Graphics Modify graphics Position graphics Session 7 MS Word Graphics Inserting Clipart, and Graphics Modify graphics Position graphics Table of Contents Session 7 Working with Graphics... 1 The Toolbar... 1 Drawing Toolbar... 1 Picture Toolbar...

More information

Program and Graphical User Interface Design

Program and Graphical User Interface Design CHAPTER 2 Program and Graphical User Interface Design OBJECTIVES You will have mastered the material in this chapter when you can: Open and close Visual Studio 2010 Create a Visual Basic 2010 Windows Application

More information

CS 160: Interactive Programming

CS 160: Interactive Programming CS 160: Interactive Programming Professor John Canny 3/8/2006 1 Outline Callbacks and Delegates Multi-threaded programming Model-view controller 3/8/2006 2 Callbacks Your code Myclass data method1 method2

More information

2 USING VB.NET TO CREATE A FIRST SOLUTION

2 USING VB.NET TO CREATE A FIRST SOLUTION 25 2 USING VB.NET TO CREATE A FIRST SOLUTION LEARNING OBJECTIVES GETTING STARTED WITH VB.NET After reading this chapter, you will be able to: 1. Begin using Visual Studio.NET and then VB.NET. 2. Point

More information

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2) Skill Area 336 Explain Essential Programming Concept Programming Language 2 (PL2) 336.1-Examine Basic Language Environment 336.1.1 Describe the basic operating environment of the language 336.1.2 Define

More information

Using PowerPoint XP. What can I do with PowerPoint? A Brief Introduction. Create a lesson with handouts. You can even use it to create

Using PowerPoint XP. What can I do with PowerPoint? A Brief Introduction. Create a lesson with handouts. You can even use it to create Using PowerPoint XP A Brief Introduction What can I do with PowerPoint? Create a lesson with handouts This handout you are using was created with PowerPoint. Great for end of year programs You can even

More information

What is Publisher, anyway?

What is Publisher, anyway? What is Publisher, anyway? Microsoft Publisher designed for users who need to create and personalize publications such as marketing materials, business stationery, signage, newsletters and other items

More information

Microsoft Word 2010 Guide

Microsoft Word 2010 Guide Microsoft Word 2010 Guide 1 Microsoft Word 2010 These notes are devised for Word 2010. You should be aware that it is similar to Word 2007 but is quite different from earlier versions of Word, e.g. Word

More information

The Fundamentals. Document Basics

The Fundamentals. Document Basics 3 The Fundamentals Opening a Program... 3 Similarities in All Programs... 3 It's On Now What?...4 Making things easier to see.. 4 Adjusting Text Size.....4 My Computer. 4 Control Panel... 5 Accessibility

More information

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple

More information

PS2 Random Walk Simulator

PS2 Random Walk Simulator PS2 Random Walk Simulator Windows Forms Global data using Singletons ArrayList for storing objects Serialization to Files XML Timers Animation This is a fairly extensive Problem Set with several new concepts.

More information

Tutorial - Hello World

Tutorial - Hello World Tutorial - Hello World Spirit Du Ver. 1.1, 25 th September, 2007 Ver. 2.0, 7 th September, 2008 Ver. 2.1, 15 th September, 2014 Contents About This Document... 1 A Hello Message Box... 2 A Hello World

More information

CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

More information

Ingegneria del Software T. Interfaccia utente

Ingegneria del Software T. Interfaccia utente Interfaccia utente Creating Windows Applications Typical windows-application design & development 1+ classes derived from System.Windows.Forms.Form Design UI with VisualStudio.NET Possible to do anything

More information

Chapter 12. Tool Strips, Status Strips, and Splitters

Chapter 12. Tool Strips, Status Strips, and Splitters Chapter 12 Tool Strips, Status Strips, and Splitters Tool Strips Usually called tool bars. The new ToolStrip class replaces the older ToolBar class of.net 1.1. Create easily customized, commonly employed

More information

LESSON A. The Splash Screen Application

LESSON A. The Splash Screen Application The Splash Screen Application LESSON A LESSON A After studying Lesson A, you should be able to: Start and customize Visual Studio 2010 or Visual Basic 2010 Express Create a Visual Basic 2010 Windows application

More information

Widgets. Widgets Widget Toolkits. User Interface Widget

Widgets. Widgets Widget Toolkits. User Interface Widget Widgets Widgets Widget Toolkits 2.3 Widgets 1 User Interface Widget Widget is a generic name for parts of an interface that have their own behavior: buttons, drop-down menus, spinners, file dialog boxes,

More information

COPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1

COPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1 Part 1 Visual Basic: The Language Chapter 1: Getting Started with Visual Basic 2010 Chapter 2: Handling Data Chapter 3: Visual Basic Programming Essentials COPYRIGHTED MATERIAL Chapter 1 Getting Started

More information

Dive Into Visual C# 2010 Express

Dive Into Visual C# 2010 Express Dive Into Visual C# 2010 Express 2 Seeing is believing. Proverb Form ever follows function. Louis Henri Sullivan Intelligence is the faculty of making artificial objects, especially tools to make tools.

More information

Overview of Adobe Fireworks

Overview of Adobe Fireworks Adobe Fireworks Overview of Adobe Fireworks In this guide, you ll learn how to do the following: Work with the Adobe Fireworks workspace: tools, Document windows, menus, and panels. Customize the workspace.

More information

How to Get Started. Figure 3

How to Get Started. Figure 3 Tutorial PSpice How to Get Started To start a simulation, begin by going to the Start button on the Windows toolbar, then select Engineering Tools, then OrCAD Demo. From now on the document menu selection

More information

IBSDK Quick Start Tutorial for C# 2010

IBSDK Quick Start Tutorial for C# 2010 IB-SDK-00003 Ver. 3.0.0 2012-04-04 IBSDK Quick Start Tutorial for C# 2010 Copyright @2012, lntegrated Biometrics LLC. All Rights Reserved 1 QuickStart Project C# 2010 Example Follow these steps to setup

More information

MICROSOFT WORD 2010 Quick Reference Guide

MICROSOFT WORD 2010 Quick Reference Guide MICROSOFT WORD 2010 Quick Reference Guide Word Processing What is Word Processing? How is Word 2010 different from previous versions? Using a computer program, such as Microsoft Word, to create and edit

More information

SPARK. User Manual Ver ITLAQ Technologies

SPARK. User Manual Ver ITLAQ Technologies SPARK Forms Builder for Office 365 User Manual Ver. 3.5.50.102 0 ITLAQ Technologies www.itlaq.com Table of Contents 1 The Form Designer Workspace... 3 1.1 Form Toolbox... 3 1.1.1 Hiding/ Unhiding/ Minimizing

More information

Clip Art and Graphics. Inserting Clip Art. Inserting Other Graphics. Creating Your Own Shapes. Formatting the Shape

Clip Art and Graphics. Inserting Clip Art. Inserting Other Graphics. Creating Your Own Shapes. Formatting the Shape 1 of 1 Clip Art and Graphics Inserting Clip Art Click where you want the picture to go (you can change its position later.) From the Insert tab, find the Illustrations Area and click on the Clip Art button

More information

Lab 4: Introduction to Programming

Lab 4: Introduction to Programming _ Unit 2: Programming in C++, pages 1 of 9 Department of Computer and Mathematical Sciences CS 1410 Intro to Computer Science with C++ 4 Lab 4: Introduction to Programming Objectives: The main objective

More information

EDAF80 Introduction to Computer Graphics. Seminar 1. Hierarchical Transformation. Michael Doggett. Some slides by Carl Johan Gribel,

EDAF80 Introduction to Computer Graphics. Seminar 1. Hierarchical Transformation. Michael Doggett. Some slides by Carl Johan Gribel, EDAF80 Introduction to Computer Graphics Seminar 1 Hierarchical Transformation Michael Doggett 2017 Some slides by Carl Johan Gribel, 2010-13 Today Hierarchical Transformation and Scene Graphs TRS - Translation,

More information

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline 2 T U T O R I A L Objectives In this tutorial, you will learn to: Navigate Visual Studio.NET s Start Page. Create a Visual Basic.NET solution. Use the IDE s menus and toolbars. Manipulate windows in the

More information

OrgPublisher Advanced Box Layout Editor

OrgPublisher Advanced Box Layout Editor OrgPublisher Advanced Box Layout Editor OrgPublisher Table of Contents Table of Contents... 3 Using the... 3 Arranging Chart Box Sections... 3 Sizing the Chart Box Section... 4 Moving, Deleting, or Resizing

More information

Advanced Microsoft Word 2010

Advanced Microsoft Word 2010 Advanced Microsoft Word 2010 WordArt WordArt gives your letters special effects. You can change the formatting, direction, and texture of your text by adding WordArt. When you click the WordArt icon on

More information

Introduction to Microsoft Word 2008

Introduction to Microsoft Word 2008 1. Launch Microsoft Word icon in Applications > Microsoft Office 2008 (or on the Dock). 2. When the Project Gallery opens, view some of the available Word templates by clicking to expand the Groups, and

More information

Appleworks 6.0 Word Processing

Appleworks 6.0 Word Processing Appleworks 6.0 Word Processing AppleWorks 6.0 Starting Points What s New in AppleWorks 6.0 AppleWorks 6.0 is a versatile and powerful program that integrates the best of everything you need - word processing,

More information

SciGraphica. Tutorial Manual - Tutorials 1and 2 Version 0.8.0

SciGraphica. Tutorial Manual - Tutorials 1and 2 Version 0.8.0 SciGraphica Tutorial Manual - Tutorials 1and 2 Version 0.8.0 Copyright (c) 2001 the SciGraphica documentation group Permission is granted to copy, distribute and/or modify this document under the terms

More information

Getting Started with Visual Studio

Getting Started with Visual Studio Getting Started with Visual Studio Visual Studio is a sophisticated but easy to use integrated development environment (IDE) for C++ (and may other languages!) You will see that this environment recognizes

More information

PowerPoint Tips and Tricks

PowerPoint Tips and Tricks PowerPoint Tips and Tricks Viewing Your Presentation PowerPoint provides multiple ways to view your slide show presentation. You can access these options either through a toolbar on your screen or by pulling

More information

ArcGIS Pro Extensibility - Building and Deploying Addins with the new DotNet SDK

ArcGIS Pro Extensibility - Building and Deploying Addins with the new DotNet SDK ArcGIS Pro Extensibility - Building and Deploying Addins with the new DotNet SDK Charlie Macleod - Esri Esri UC 2014 Demo Theater New at 10.3 is the ArcGIS Pro Application - Extensibility is provided by

More information