TuneTown Lab Instructions

Size: px
Start display at page:

Download "TuneTown Lab Instructions"

Transcription

1 TuneTown Lab Instructions Purpose: Practice creating a modal dialog. Incidentally, learn to use a list view control. Credit: This program was designed by Jeff Prosise and published in MSDN Magazine. However, the code there was for a beta version of.net and the code presented here has been modified to work with the current version of.net by Dr. Beeson. 1. Create a new C# Windows Application project. Name it TuneTown. Set the Text property of your form totunetown. TuneTown enables a user to organize their CD collection by displaying a list of (title, artist, comment) data items. A modal dialog allows the user to add, remove, or edit such items. 2. In the forms editor, add a list view control (available in the Toolbox under the Common Controls tab) and three push buttons. Set their properties as shown in the instructions below the picture. The picture shows what you will see after setting the properties as explained below.

2 How to set the properties: Set the Text property of the form itself to TuneTown. For the list view control: FullRowSelect to True GridLines to True View to Details Multiselect to False HideSelection to False Sorting to Ascending TabIndex to 0 (which it will be already if you added this first) Name to TuneView Columns: edit the columns collection to add three columns: one whose Name is TitleHeader, Text is Title, Width is 100. one whose Name is ArtistHeader, Text is Artist, Width is 100. one whose Name is CommentHeader, Text is Comment, Width is 200. Anchor to top, left, and bottom, but not to right For the buttons: Text is &Add, &Edit, &Remove, respectively Name is AddButton, EditButton, RemoveButton, respectively. TabIndex should be 1,2,3. Anchor to the right only Check that you can build and run. 3. In this step we ll add a modal dialog. In.NET, the word form means top-level window or dialog, so what we want to do is add a new form. From the Visual Studio menu choose Project Add Windows Form Windows Form. Don t click OK yet! Select (on the left) the category Visual C# items Windows Forms and on the right under Visual Studio Installed Templates, select Windows Form. In the Name box, type AddEditForm.cs. Now click OK. This will be your modal dialog. 4. Use the form design editor to add three labels, three text boxes, and two buttons. After setting the properties as specified below the picture, your form will look like this (the picture is on the next page).

3 Here is how to set the properties: For the labels: Text should be &Title, &Artist, &Comment respectively. Name should be TitleLabel, ArtistLabel, CommentLabel. TabIndex should be 0,2,4 respectively. For the text boxes: Text should be empty (blank). Name should be TitleBox, ArtistBox, CommentBox. TabIndex should be 1,3,5. Multiline should be False, False, True. For the OK button: Text should be OK Name should be OKButton TabIndex should be 6 DialogResult should be OK For the Cancel button: Text should be Cancel Name should be NotOKButton DialogResult should be Cancel Text should be Cancel. TabIndex should be 7 For the form itself: Text should be Add or Edit FormBorderStyle should be FixedDialog AcceptButton should be OKButton CancelButton should be NotOKButton MaximizeBox and MinimizeBox should be False ControlBox should be False ShowInTaskbar should be False

4 4. Now for the code. Open AddEditForm.cs and add the shaded code: public class AddEditForm : System.Windows.Forms.Form public string Title get return TitleBox.Text; set TitleBox.Text = value; public string Artist get return ArtistBox.Text; set ArtistBox.Text = value; public string Comment get return CommentBox.Text; set CommentBox.Text = value; This is how you define getters and setters for a public property in C#. These are called automatically when code referencing these properties is executed. 5. Scroll down a bit to InitializeComponent. Click the light-gray plus sign at the left to show the code generated by the form designer. This is the result of your work with the form designer. In principle you could have typed this code in yourself instead of using the form designer. It declares the controls, initializes their properties and the properties of the form, and calls Add on the form s Controls collection to attach those controls to the form. After inspecting this code, you can hide it again. 6. Go to the form designer window with your main form in it. Add a handler for the Add button (by double-clicking the button in the design window). Here is where we want to bring up our modal dialog. This is the plan: We instantiate our AddEditForm class, then call its ShowDialog method The return value of ShowDialog will be DialogResult.OK or DialogResult.Cancel. If the result is DialogResult.OK, then you have to change the data in your listview. Here is the code to use:

5 private void AddButton_Click (object sender, EventArgs e) AddEditForm dlg = new AddEditForm (); if (dlg.showdialog() == DialogResult.OK) ListViewItem item; item = new ListViewItem(new string[] dlg.title,dlg.artist,dlg.comment); TuneView.Items.Add(item); item.focused = true; Build your program and test it. You should be able to add data and see it in the main form. You re up to B level now. 7. Add a handler for the Edit button. Note that now we need to initialize the dialog member variables so that the data to be edited will come up in the dialog. private void EditButton_Click (object sender, EventArgs e) if (TuneView.Items.Count == 0) return; // can t edit if no items ListViewItem item = TuneView.FocusedItem; if (item!= null) AddEditForm dlg = new AddEditForm (); dlg.title = item.subitems[0].text; dlg.artist = item.subitems[1].text; dlg.comment = item.subitems[2].text; if (dlg.showdialog () == DialogResult.OK) TuneView.FocusedItem.SubItems.Clear(); TuneView.FocusedItem.Text = dlg.title; TuneView.FocusedItem.SubItems.Add(dlg.Artist); TuneView.FocusedItem.SubItems.Add(dlg.Comment); Test this button. When it works you ve earned an A. 8. For an A+, implement the Remove button without being given the code. This button is supposed to remove the focused item. If there is no focused item, it should do nothing. In that case TuneView.FocusedItem will be null. (null is a keyword in C#). Deleting an item from the list is not the same as replacing the contents with an empty string; to see the difference, be sure to test this by deleting an item which is not the bottom item in the list. The removal should not leave a blank item in the list.

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

Chapter 8 Advanced GUI Features

Chapter 8 Advanced GUI Features 159 Chapter 8 Advanced GUI Features There are many other features we can easily add to a Windows C# application. We must be able to have menus and dialogs along with many other controls. One workhorse

More information

Inheriting Windows Forms with Visual C#.NET

Inheriting Windows Forms with Visual C#.NET Inheriting Windows Forms with Visual C#.NET Overview In order to understand the power of OOP, consider, for example, form inheritance, a new feature of.net that lets you create a base form that becomes

More information

Introduction. Create a New Project. Create the Main Form. Assignment 1 Lights Out! in C# GUI Programming 10 points

Introduction. Create a New Project. Create the Main Form. Assignment 1 Lights Out! in C# GUI Programming 10 points Assignment 1 Lights Out! in C# GUI Programming 10 points Introduction In this lab you will create a simple C# application with a menu, some buttons, and an About dialog box. You will learn how to create

More information

Visual Studio.NET enables quick, drag-and-drop construction of form-based applications

Visual Studio.NET enables quick, drag-and-drop construction of form-based applications Visual Studio.NET enables quick, drag-and-drop construction of form-based applications Event-driven, code-behind programming Visual Studio.NET WinForms Controls Part 1 Event-driven, code-behind programming

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

Use Default Form Instances

Use Default Form Instances Use Default Form Instances Created: 2011-01-03 Modified:2012-07-05 Contents Introduction... 2 Add Form Classes... 3 Starting Form (Home Page)... 5 Use Multiple Forms... 6 Different Ways of Showing Forms...

More information

Full file at Chapter 2: Creating a User Interface

Full file at   Chapter 2: Creating a User Interface Chapter 2: Creating a User Interface TRUE/FALSE 1. Text boxes accept and display information automatically, so no special event is necessary for them to do their assigned task. T PTS: 1 REF: 84 2. A button

More information

Chapter 6. Multiform Projects The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 6. Multiform Projects The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 6 Multiform Projects McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Include multiple forms in an application Use a template to create an About box

More information

Module 8: Building a Windows Forms User Interface

Module 8: Building a Windows Forms User Interface Module 8: Building a Windows Forms User Interface Table of Contents Module Overview 8-1 Lesson 1: Managing Forms and Dialog Boxes 8-2 Lesson 2: Creating Menus and Toolbars 8-13 Lab: Implementing Menus

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

CIS 3260 Intro. to Programming with C#

CIS 3260 Intro. to Programming with C# Running Your First Program in Visual C# 2008 McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Run Visual Studio Start a New Project Select File/New/Project Visual C# and Windows must

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

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

CIS 3260 Intro to Programming with C#

CIS 3260 Intro to Programming with C# Menus and Common Dialog Boxes McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Create menus and submenus for program control Display and use the Windows common dialog boxes McGraw-Hill

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

EPSON RC+ 7.0 Option. GUI Builder 7.0 EM145A2719F. Rev. 2

EPSON RC+ 7.0 Option. GUI Builder 7.0 EM145A2719F. Rev. 2 EPSON RC+ 7.0 Option GUI Builder 7.0 Rev. 2 EM145A2719F EPSON RC+ 7.0 Option GUI Builder 7.0 Rev.2 EPSON RC+ 7.0 Option GUI Builder 7.0 Rev.2 Copyright 2012-2014 SEIKO EPSON CORPORATION. All rights reserved.

More information

Overview Describe the structure of a Windows Forms application Introduce deployment over networks

Overview Describe the structure of a Windows Forms application Introduce deployment over networks Windows Forms Overview Describe the structure of a Windows Forms application application entry point forms components and controls Introduce deployment over networks 2 Windows Forms Windows Forms are classes

More information

Module 9: Validating User Input

Module 9: Validating User Input Module 9: Validating User Input Table of Contents Module Overview 9-1 Lesson 1: Restricting User Input 9-2 Lesson 2: Implementing Field-Level Validation 9-8 Lesson 3: Implementing Form-Level Validation

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

XNA 4.0 RPG Tutorials. Part 11b. Game Editors

XNA 4.0 RPG Tutorials. Part 11b. Game Editors XNA 4.0 RPG Tutorials Part 11b Game Editors I'm writing these tutorials for the new XNA 4.0 framework. The tutorials will make more sense if they are read in order. You can find the list of tutorials on

More information

Generating/Updating code from whole project

Generating/Updating code from whole project Round-trip engineering is the ability to generate model from source code and generate source code from UML model, and keep them synchronized. You can make use of round-trip engineering to keep your implementation

More information

Full file at https://fratstock.eu Programming in Visual Basic 2010

Full file at https://fratstock.eu Programming in Visual Basic 2010 OBJECTIVES: Chapter 2 User Interface Design Upon completion of this chapter, your students will be able to 1. Use text boxes, masked text boxes, rich text boxes, group boxes, check boxes, radio buttons,

More information

Philadelphia University Faculty of Information Technology. Visual Programming

Philadelphia University Faculty of Information Technology. Visual Programming Philadelphia University Faculty of Information Technology Visual Programming Using C# -Work Sheets- Prepared by: Dareen Hamoudeh Eman Al Naji Work Sheet 1 Form, Buttons and labels Properties Changing properties

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

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

Menus and Printing. Menus. A focal point of most Windows applications

Menus and Printing. Menus. A focal point of most Windows applications Menus and Printing Menus A focal point of most Windows applications Almost all applications have a MainMenu Bar or MenuStrip MainMenu Bar or MenuStrip resides under the title bar MainMenu or MenuStrip

More information

Eyes of the Dragon - XNA Part 37 Map Editor Revisited

Eyes of the Dragon - XNA Part 37 Map Editor Revisited Eyes of the Dragon - XNA Part 37 Map Editor Revisited I'm writing these tutorials for the XNA 4.0 framework. Even though Microsoft has ended support for XNA it still runs on all supported operating systems

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

WinForms Applications

WinForms Applications Agenda WinForms Applications Writing native Windows programs Tuesday, November 2, 2004 1 PWindows Applications PEvents and event handlers PLayered (tiered) model of software PFocus PForm designer and controls

More information

Chapter 12. OOP: Creating Object- Oriented Programs. McGraw-Hill. Copyright 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved.

Chapter 12. OOP: Creating Object- Oriented Programs. McGraw-Hill. Copyright 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 12 OOP: Creating Object- Oriented Programs McGraw-Hill Copyright 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. Objectives (1 of 2) Use object-oriented terminology correctly. Create

More information

Menus. You ll find MenuStrip listed in the Toolbox. Drag one to your form. Where it says Type Here, type Weather. Then you ll see this:

Menus. You ll find MenuStrip listed in the Toolbox. Drag one to your form. Where it says Type Here, type Weather. Then you ll see this: Menus In.NET, a menu is just another object that you can add to your form. You can add objects to your form by drop-and-drag from the Toolbox. If you don t see the toolbox, choose View Toolbox in the main

More information

The Compliance Monitoring Data Portal (CMDP) Module 4: Chemical, Radionuclide and Microbial Samples and Results For lab users

The Compliance Monitoring Data Portal (CMDP) Module 4: Chemical, Radionuclide and Microbial Samples and Results For lab users The Compliance Monitoring Data Portal (CMDP) Module 4: Chemical, Radionuclide and Microbial Samples and Results For lab users 1 Methods to report samples and results to the CMDP 1. Uploading the information

More information

Applications with Multiple Forms

Applications with Multiple Forms Applications with Multiple Forms APPENDIX D After studying Appendix D, you should be able to: Explain the difference between SDI, MDI, and TDI applications Create an SDI application that contains more

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

Unit-1. Components of.net Framework. 1. Introduction to.net Framework

Unit-1. Components of.net Framework. 1. Introduction to.net Framework 1 Unit-1 1. Introduction to.net Framework The.NET framework is a collection of all the tools and utilities required to execute the.net managed applications on a particular platform. The MS.NET framework

More information

Step 10: Conversion to PDF

Step 10: Conversion to PDF Step 10: Conversion to PDF IMPORTANT NOTE: Adobe Acrobat Professional is NOT available for MAC. Please follow PC instructions (provided below) on a PC. This PDF explains Step 10 of the step-by-step instructions

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

1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events

1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events Working with Form: properties, methods and events To create a New Window Forms Application, Select File New Project. It will open one dialog box which is shown in Fig 2.1. Fig 2.1 The New Project dialog

More information

Shopping Cart: Queries, Personalizations, Filters, and Settings

Shopping Cart: Queries, Personalizations, Filters, and Settings Shopping Cart: Queries, Personalizations, Filters, and Settings on the Shopping Cart Home Page Use this Job Aid to: Learn how to organize the Shopping Cart home page so that it is easier to use. BEFORE

More information

Events. Event Handler Arguments 12/12/2017. EEE-425 Programming Languages (2016) 1

Events. Event Handler Arguments 12/12/2017. EEE-425 Programming Languages (2016) 1 Events Events Single Event Handlers Click Event Mouse Events Key Board Events Create and handle controls in runtime An event is something that happens. Your birthday is an event. An event in programming

More information

CIS 3260 Intro to Programming in C#

CIS 3260 Intro to Programming in C# Multiform Projects McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Include multiple forms in an application Create a new instance of a form's class and show the new form Use the Show,

More information

Controls. By the end of this chapter, student will be able to:

Controls. By the end of this chapter, student will be able to: Controls By the end of this chapter, student will be able to: Recognize the (Properties Window) Adjust the properties assigned to Controls Choose the appropriate Property Choose the proper value for the

More information

Getting Started Manual. SmartList To Go

Getting Started Manual. SmartList To Go Getting Started Manual SmartList To Go Table of contents Installing SmartList To Go 3 Launching SmartList To Go on the handheld 4 SmartList To Go toolbar 4 Creating a SmartList 5 The Field Editor Screen

More information

To learn more about the Milestones window choose: Help Help Topics Select the Index tab and type in the feature. For Example toolbox.

To learn more about the Milestones window choose: Help Help Topics Select the Index tab and type in the feature. For Example toolbox. To learn more about the Milestones window choose: Help Help Topics Select the Index tab and type in the feature. For Example toolbox. 1 of 12 CHOOSE THE DATES TAB TO: 1. Set the schedule s Date Range.

More information

Lecture 1 Introduction Phil Smith

Lecture 1 Introduction Phil Smith 2014-2015 Lecture 1 Introduction Phil Smith Learning Outcomes LO1 Understand the principles of object oriented programming LO2 Be able to design object oriented programming solutions LO3 Be able to implement

More information

Developing for Mobile Devices Lab (Part 2 of 2)

Developing for Mobile Devices Lab (Part 2 of 2) Developing for Mobile Devices Lab (Part 2 of 2) Overview In the previous lab you learned how to create desktop and mobile applications using Visual Studio. Two important features that were not covered

More information

Gathering and Modifying Real-Time Software Data in a Visual Studio Environment Mark Rogers November 6, 2008

Gathering and Modifying Real-Time Software Data in a Visual Studio Environment Mark Rogers November 6, 2008 Gathering and Modifying Real-Time Software Data in a Visual Studio Environment Mark Rogers November 6, 2008 Executive Summary The topics discussed in this application note include gathering real-time software

More information

Learning VB.Net. Tutorial 17 Classes

Learning VB.Net. Tutorial 17 Classes Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

Programming. C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies

Programming. C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies 9 Programming Based on Events C# Programming: From Problem Analysis to Program Design 2nd Edition David McDonald, Ph.D. Director of Emerging Technologies Chapter Objectives Create applications that use

More information

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

Generating/Updating code from whole project

Generating/Updating code from whole project Round-trip engineering is the ability to generate model from source code and generate source code from UML model and keep them synchronized. You can make use of round-trip engineering to keep your implementation

More information

Starting Microsoft Visual Studio 6.0 And Exploring Available Controls Tools

Starting Microsoft Visual Studio 6.0 And Exploring Available Controls Tools Starting Microsoft Visual Studio 6.0 And Exploring Available Controls Tools Section 1. Opening Microsoft Visual Studio 6.0 1. Start Microsoft Visual Studio ("C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE")

More information

How to use data sources with databases (part 1)

How to use data sources with databases (part 1) Chapter 14 How to use data sources with databases (part 1) 423 14 How to use data sources with databases (part 1) Visual Studio 2005 makes it easier than ever to generate Windows forms that work with data

More information

Visual Basic 2008 The programming part

Visual Basic 2008 The programming part Visual Basic 2008 The programming part Code Computer applications are built by giving instructions to the computer. In programming, the instructions are called statements, and all of the statements that

More information

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

Creating a nice GUI. OpenGL and Windows. Note: VS 2003 shown. Create a new Project 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

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

Computer Applications Information Processing 1

Computer Applications Information Processing 1 Computer Applications Information Processing 1 Lesson 8: Organize and Arrange Content Microsoft Word 2016 IN THIS CHAPTER, YOU WILL LEARN HOW TO Reorganize document outlines. Arrange objects on the page.

More information

Lab 5: ASP.NET 2.0 Profiles and Localization

Lab 5: ASP.NET 2.0 Profiles and Localization Lab 5: ASP.NET 2.0 Profiles and Localization Personalizing content for individual users and persisting per-user data has always been a non-trivial undertaking in Web apps, in part due to the stateless

More information

Visual Basic. murach s. (Chapter 2) TRAINING & REFERENCE. Mike Murach & Associates, Inc.

Visual Basic. murach s. (Chapter 2) TRAINING & REFERENCE. Mike Murach & Associates, Inc. TRAINING & REFERENCE murach s Visual Basic 2015 (Chapter 2) Thanks for downloading this chapter from Murach s Visual Basic 2015. We hope it will show you how easy it is to learn from any Murach book, with

More information

Quick Guide for the ServoWorks.NET API 2010/7/13

Quick Guide for the ServoWorks.NET API 2010/7/13 Quick Guide for the ServoWorks.NET API 2010/7/13 This document will guide you through creating a simple sample application that jogs axis 1 in a single direction using Soft Servo Systems ServoWorks.NET

More information

Automating SolidWorks 2011 Using Macros

Automating SolidWorks 2011 Using Macros Automating SolidWorks 2011 Using Macros A Visual Studio Tools for Applications tutorial for SolidWorks users Using the Visual Basic.NET Language Written by Mike Spens Basic Material Properties Adding Forms

More information

Final Exam, CS130 Fall 2008

Final Exam, CS130 Fall 2008 Final Exam, CS130 Fall 2008 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

Visual BASIC Creating an Application. Choose File New Project from the menu

Visual BASIC Creating an Application. Choose File New Project from the menu Creating an Application Choose File New Project from the menu Choose Windows Application Name the project Copyright Project Place a check in the Create directory for solution box Click Browse Choose and/or

More information

CS193P: HelloPoly Walkthrough

CS193P: HelloPoly Walkthrough CS193P: HelloPoly Walkthrough Overview The goal of this walkthrough is to give you a fairly step by step path through building a simple Cocoa Touch application. You are encouraged to follow the walkthrough,

More information

Switch Web Event Handler

Switch Web Event Handler Switch Web Event Handler Contents Introduction... 1 Use SwitchEventHandler actions... 2 Switch handler at runtime (1)... 2 Switch handler at runtime (2)... 7 Remove Event Handler... 12 Test... 14 Feedback...

More information

TECHNICAL TRAINING LAB INSTRUCTIONS

TECHNICAL TRAINING LAB INSTRUCTIONS In this lab, you are going to add some batch fields for associating batch-level data with every document in your batch. You will learn how to configure and test an optical mark recognition (OMR) zone for

More information

Building Windows Applications

Building Windows Applications Summary of Contents Introduction 1 Chapter 1: Welcome to Visual Basic.NET 9 Chapter 2: Writing Software 41 Chapter 3: Controlling the Flow 97 Chapter 4: Building Objects 145 Chapter 5: The Microsoft.NET

More information

LESSON B. The Toolbox Window

LESSON B. The Toolbox Window The Toolbox Window After studying Lesson B, you should be able to: Add a control to a form Set the properties of a label, picture box, and button control Select multiple controls Center controls on the

More information

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer C# Tutorial Create a Motivational Quotes Viewer Application in Visual Studio In this tutorial we will create a fun little application for Microsoft Windows using Visual Studio. You can use any version

More information

Modifying the master. Accessing the slide master

Modifying the master. Accessing the slide master 1 Accessing the slide master Most of what is defined by the template is stored on the Slide Master. You can modify the Slide Master and save your own templates in order to personalize your presentations

More information

Newforma Contact Directory Quick Reference Guide

Newforma Contact Directory Quick Reference Guide Newforma Contact Directory Quick Reference Guide This topic provides a reference for the Newforma Contact Directory. Purpose The Newforma Contact Directory gives users access to the central list of companies

More information

Capturing the Mouse. Dragging Example

Capturing the Mouse. Dragging Example Capturing the Mouse In order to allow the user to drag something, you need to keep track of whether the mouse is "down" or "up". It is "down" from the MouseDown event to the subsequent MouseUp event. What

More information

Stamina Software Pty Ltd. TRAINING MANUAL Viságe BIT VIEWER

Stamina Software Pty Ltd. TRAINING MANUAL Viságe BIT VIEWER Stamina Software Pty Ltd TRAINING MANUAL Viságe BIT VIEWER Version: 3 31 st October 2011 Viságe BIT Viewer TABLE OF CONTENTS VISÁGE BIT VIEWER... 2 ELEMENTS OF THE VISÁGE BIT VIEWER SCREEN... 3 TITLE...

More information

Compare and Merge Track Changes

Compare and Merge Track Changes Compare and Merge Track Changes Course Description The document you have been working on for a couple of weeks is finally finished. Before sending the document to its final destination to be published,

More information

Copyright 2014 Pearson Education, Inc. Chapter 7. Multiple Forms, Modules, and Menus. Copyright 2014 Pearson Education, Inc.

Copyright 2014 Pearson Education, Inc. Chapter 7. Multiple Forms, Modules, and Menus. Copyright 2014 Pearson Education, Inc. Chapter 7 Multiple Forms, Modules, and Menus Topics 7.1 Multiple Forms 7.2 Modules 7.3 Menus 7.4 Focus on Problem Solving: Building the High Adventure Travel Agency Price Quote Application Overview This

More information

Recitation 3 Class and Objects

Recitation 3 Class and Objects 1.00/1.001 Introduction to Computers and Engineering Problem Solving Recitation 3 Class and Objects Spring 2012 1 Scope One method cannot see variables in another; Variables created inside a block: { exist

More information

JDirectoryChooser Documentation

JDirectoryChooser Documentation JDirectoryChooser Documentation Page 1 of 7 How to Use JDirectoryChooser The JDirectoryChooser provides user-friendly GUI for manipulating directories from Java application. User can either simply choose

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

Review questions. Review questions, cont d. Class Definition. Methods. Class definition: methods. April 1,

Review questions. Review questions, cont d. Class Definition. Methods. Class definition: methods. April 1, April 1, 2003 1 Previous Lecture: Intro to OOP Class definition: instance variables & methods Today s Lecture: Instance methods Constructors Methods with input parameters Review questions Where do you

More information

XNA 4.0 RPG Tutorials. Part 25. Level Editor Continued

XNA 4.0 RPG Tutorials. Part 25. Level Editor Continued XNA 4.0 RPG Tutorials Part 25 Level Editor Continued I'm writing these tutorials for the new XNA 4.0 framework. The tutorials will make more sense if they are read in order. You can find the list of tutorials

More information

Lesson 1: Creating and formatting an Answers analysis

Lesson 1: Creating and formatting an Answers analysis Lesson 1: Creating and formatting an Answers analysis Answers is the ad-hoc query environment in the OBIEE suite. It is in Answers that you create and format analyses to help analyze business results.

More information

TRAINING GUIDE. Advanced Crystal 1

TRAINING GUIDE. Advanced Crystal 1 TRAINING GUIDE Advanced Crystal 1 Using Crystal Reports with Lucity Advanced Examples 1 The fifth of a seven-part series, this workbook is designed for Crystal Reports users with some experience, who wish

More information

(5 2) Introduction to Classes in C++ Instructor - Andrew S. O Fallon CptS 122 (February 7, 2018) Washington State University

(5 2) Introduction to Classes in C++ Instructor - Andrew S. O Fallon CptS 122 (February 7, 2018) Washington State University (5 2) Introduction to Classes in C++ Instructor - Andrew S. O Fallon CptS 122 (February 7, 2018) Washington State University Key Concepts Function templates Defining classes with member functions The Rule

More information

Microsoft Visual Basic 2005 CHAPTER 6. Loop Structures

Microsoft Visual Basic 2005 CHAPTER 6. Loop Structures Microsoft Visual Basic 2005 CHAPTER 6 Loop Structures Objectives Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand the use of counters and accumulators Understand

More information

You can make certain sections of the text clickable by creating hyperlinks. Once clicked, these links navigate users to different

You can make certain sections of the text clickable by creating hyperlinks. Once clicked, these links navigate users to different You can make certain sections of the text clickable by creating hyperlinks. Once clicked, these links navigate users to different pages or, as described in working with anchors, to different sections of

More information

Scripting with CAMMaster and Visual Basic 2008

Scripting with CAMMaster and Visual Basic 2008 Introduction CAMMaster is a very high performance CAM software program. Most of the functions that you can perform manually can be automated by utilizing the methods and properties that are exposed by

More information

Overview of Eclipse Lectures. Module Road Map

Overview of Eclipse Lectures. Module Road Map Overview of Eclipse Lectures 1. Overview 2. Installing and Running 3. Building and Running Java Classes 4. Refactoring Lecture 2 5. Debugging 6. Testing with JUnit 7. Version Control with CVS 1 Module

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

Visual Basic 2008 Anne Boehm

Visual Basic 2008 Anne Boehm TRAINING & REFERENCE murach s Visual Basic 2008 Anne Boehm (Chapter 3) Thanks for downloading this chapter from Murach s Visual Basic 2008. We hope it will show you how easy it is to learn from any Murach

More information

Creating a Role Playing Game with XNA Game Studio Part 50 Items - Part 4b

Creating a Role Playing Game with XNA Game Studio Part 50 Items - Part 4b Creating a Role Playing Game with XNA Game Studio Part 50 Items - Part 4b To follow along with this tutorial you will have to have read the previous tutorials to understand much of what it going on. You

More information

This is the empty form we will be working with in this game. Look under the properties window and find the following and change them.

This is the empty form we will be working with in this game. Look under the properties window and find the following and change them. We are working on Visual Studio 2010 but this project can be remade in any other version of visual studio. Start a new project in Visual Studio, make this a C# Windows Form Application and name it zombieshooter.

More information

Classes and Objects 3/28/2017. How can multiple methods within a Java class read and write the same variable?

Classes and Objects 3/28/2017. How can multiple methods within a Java class read and write the same variable? Peer Instruction 8 Classes and Objects How can multiple methods within a Java class read and write the same variable? A. Allow one method to reference a local variable of the other B. Declare a variable

More information

Cognos. Active Reports Development. Presented by: Craig Randell

Cognos. Active Reports Development. Presented by: Craig Randell Cognos Active Reports Development Presented by: Craig Randell Objectives: Understand the purpose and benefits of Active Reports Through theory and demonstration introduce the different Active Report Components

More information

ADO.NET 2.0. database programming with

ADO.NET 2.0. database programming with TRAINING & REFERENCE murach s ADO.NET 2.0 database programming with (Chapter 3) VB 2005 Thanks for downloading this chapter from Murach s ADO.NET 2.0 Database Programming with VB 2005. We hope it will

More information

Activating AspxCodeGen 4.0

Activating AspxCodeGen 4.0 Activating AspxCodeGen 4.0 The first time you open AspxCodeGen 4 Professional Plus edition you will be presented with an activation form as shown in Figure 1. You will not be shown the activation form

More information

Designing a Nameplate

Designing a Nameplate Design 1 Great newsletters start with an effective nameplate. Learn how to create your own by adapting one of our pre-built designs. We ll show you how to: Adapt a LogoStudio design to create a nameplate.

More information

Using the TekScope IVI-COM Driver from C#.NET

Using the TekScope IVI-COM Driver from C#.NET Using the TekScope IVI-COM Driver from C#.NET Introduction This document describes the step-by-step procedure for using the TekScope IVI- COM driver from a.net environment using C#. Microsoft.Net supports

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

C# Forms and Events. Evolution of GUIs. Macintosh VT Datavetenskap, Karlstads universitet 1

C# Forms and Events. Evolution of GUIs. Macintosh VT Datavetenskap, Karlstads universitet 1 C# Forms and Events VT 2009 Evolution of GUIs Until 1984, console-style user interfaces were standard Mostly dumb terminals as VT100 and CICS Windows command prompt is a holdover In 1984, Apple produced

More information