WinForms Applications

Size: px
Start display at page:

Download "WinForms Applications"

Transcription

1 Agenda WinForms Applications Writing native Windows programs Tuesday, November 2, PWindows Applications PEvents and event handlers PLayered (tiered) model of software PFocus PForm designer and controls PDialog boxes and forms PDelegates PVisual Inheritance 2 Windows vs. Console apps. Windows vs. Console apps. PA console application has a very limited userinterface < Keyboard for input < Console window (text only) for output PCompared to this a Windows program provides a much richer range of interaction methods < On-screen buttons, scroll bars, lists etc. < Multiple windows to categorize and simplify output and input 3 PThe penalty for this is a more complex application structure 4

2 Windows and Events Windows and Events Console vs. Windows PConsole programs follow an Input º Process º Output model < Easy to program PBy contrast, a Windows program can have many different forms of input < Programmer must orchestrate the various sources PEach source of input fires 'events' the program must react to Software Input Process Output 5 6 Event handlers Event handlers PEach source of events can kick off the execution of a block of code called an event handler < An event handler is simply a Sub that is called automatically by Windows in response to some external interaction Typing into a text control etc. 'Clicking' on a control Selecting an item in a list POften, the event incorporates some additional information - which key was pressed, the exact location of the mouse cursor etc. < This Information is passed in the form of parameters to the event handler 7 8

3 Layers of software PBecause of the wide range of stimuli (events) a program has to react to, the structure of a Windows application is more complex POne strategy for simplifying the structure is to try to keep application specific code and userinterface code separate < Application specific code is usually the set of classes that do the actual job required of the program, often called the 'business classes' < User-interface code accepts user input and commands and directs the business classes according to these 9 Layers of software PThese two separate parts of a system can be thought of as 'tiers' or 'layers' in a system < User-interface tier comes between the user and the business tier and is responsible for interpreting user interactions and effecting the appropriate changes in the business tier 10 A 2-Tier Application WinForms basics Handles User Interactions Implements Business Rules User- Interface Tier Business Tier PA Form is a top-level Window that is hosted and managed by the Windows operating system and which receives external interactions in the form of events PControls in Visual Basic are toolbox items that can be placed on a form to act as userinterface elements (or widgets) 11 12

4 WinForms basics The Focus PWindows considers a control to be another type of Window - a rectangular area of the screen that can receive the focus (explained later) and events PThis confuses the issue, and so the Visual Basic term 'Control' is a better description PThe system mouse can, by virtue of its pointer, be used to direct input to any visible window on a screen < The input is necessarily simple - movements, clicks, drags PThe keyboard is a richer form of input, but there is no natural way of directing its input The Focus PTo get over this, the Windows system registers which window has the current focus < In a text-oriented control, this is the cursor and acts as the insertion point for typed characters from the keyboard < In other controls, the focus changes the control's appearance slightly to indicate which control is currently receiving keyboard events < Focus can be changed using the Tab key on the keyboard < TheTabIndex of a control indicates its place in the tab order 15 Events and event handlers PEvents can originate from < Forms or controls on forms < System hardware (e.g. the real-time clock) < Other windows programs 16

5 Events and event handlers Example event handler PEvents are usually received by forms < Normal event-handlers are Subs on a form < Event-handlers can be coded into other modules, but this involves more work < A form-based event handler is usually associated with a specific event from a specific control < It has two parameters, indicating the object that sent the event (sender) and an object containing related information (e) Private Sub txtname_keypress(byval sender As Object, _ ByVal e As System.Windows.Forms.KeyPressEventArgs) _ Handles txtname.keypress Dim ch As Char ch = e.keychar() e.handled = True End Sub Example event handler Event lists PThe previous handler is set to receive KeyPress events from a text box named txtname PThe sender parameter is simply a reference to this text box PAs a KeyPress event handler, you can rightly expect that the other parameter will contain information on the key pressed -which key, whether Shift or Ctrl was pressed, etc. 19 PA typical control can source a wide range of events under different circumstances POnly events for which a handler is defined will have any effect 20

6 The Visual Studio form designer The Visual Studio form designer PThe Form-Designer performs a complex task -synchronizing the graphical design of a form with the code < The actual 'Form' is a class that inherits from the Form class. The graphical designer is simply a different view of it - a graphical class configuration panel PAs controls are added, properties changes and design wizards executed, the form code is updated to reflect the changes < Each control is a variable, and code to initialize it < Each property change is a statement that assigns a new value to a property < A double click on a control generates a skeleton event handler Windows controls PThe standard WinForms toolbox contains a wide range of controls. e.g. < Text input: TextBox, RichTextBox, ComboBox < Mouse input: CheckBox, OptionButton, ListBox, ScrollBar < Display and/or organize: Label, PictureBox, Panel < Command: Button, Menu, Timer PAll can be configured by the properties window or in code Dialog boxes PA dialog box is a form that performs complete operations < Buttons provided to confirm (usually OK) or cancel (usually Cancel) the operation < Operation typically involves a number of data values, which after editing them, the user selects OK or Cancel 23 24

7 Dialog boxes PA VB Form has AcceptButton and CancelButton properties that can refer to these buttons < This allows the DialogResult to reflect which button was pressed - True for OK, False for Cancel PA dialog box provides a Modal operation - while it is in operation, the calling code has to wait for it < This imposes a level of control over the user (one dialog at a time) 25 Forms PA dialog box is a special type of form PMore generally, any number of forms can be in operation simultaneously < This can be a more difficult scenario to control PGenerally, use a single form to input and display the properties of an object and to initiate its methods 26 Forms Delegates and event handlers W08WindowsApplication01 PA number of strategies can be taken to maintain control. e.g. < The object can 'own' (initiate, interrogate and dispose of) a form and initiate its own display, update etc. < A form can 'contain' an object, and update and display it (more suitable where one form is used to browse a collection of objects 27 PA delegate is defined as a type of Sub < A stand-in for real subs < Delegate defines name, parameters and return type, but does not contain code PThe purpose of this is to be able to include a call to a sub in code before the sub has been written < Why would you do this? - think of what an event handler is 28

8 Delegates and event handlers POnce a delegate type has been defined, a real sub can be assigned to it (just like a variable) < Then, a call to the delegate will be a call to the sub assigned to it < Basically, we want Objects to be able to pass a Method as a Parameter to other Method! < e.g. Sorting a series of values in ascending or descending order Use two separate Methods Use a Delegate that receives as a parameter a reference to the comparison method to use 29 Example of delegation The Bubble Sort Public Class CdelegateBubbleSort Public Delegate Function Comparator(ByVal element1 As Integer, _ ByVal element2 As Integer) As Boolean Public Sub SortArray(ByVal array As Integer(), ByVal Compare as Comparator) Dim i, pass As Integer For pass = 0 To array.getupperbound(0) For i = 0 To array.getupperbound(0)-1 If Compare(array(i), array(i+1)) Then Swap(array(i), array(i+1)) End If Next Next End Sub 30 Example of delegation The Bubble Sort...continuation Private Sub Swap(ByRef firstelement As Integer, _ ByRef secondelement As Integer) Dim hold As Integer hold = firstelement firstelement = secondelement secondelement = hold End Sub End Class Example of Delegates P W08WindowsApplication

9 Visual Inheritance PCode Inheritance allows a new class to be based on an existing class PA Form is a class, designed in code like any other class (form designer just displays it in a more convenient form for us) PVisual Inheritance allows us to take an initial form design (in a form builder window) and extend it by adding new controls PAs a result, the new form's code will inherit from the existing one. 33 Visual Inheritance P W08WindowsApplication03 34

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

CT862 Section 1 Introduction

CT862 Section 1 Introduction CT862 Section 1 Introduction VB.NET: VB introduced in 1991 Provided the first easily accessible means of writing Windows applications o The VB IDE was inherently graphical and mirrored the Windows OS itself

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

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

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

UNIT 3 ADDITIONAL CONTROLS AND MENUS OF WINDOWS

UNIT 3 ADDITIONAL CONTROLS AND MENUS OF WINDOWS UNIT 3 ADDITIONAL CONTROLS AND MENUS OF WINDOWS 1 SYLLABUS 3.1 Working with other controls of toolbox : 3.1.1 Date Time Picker 3.1.2 List Box 3.1.2.1 Item collection 3.1.3 Combo Box 3.1.4 Picture Box 3.15

More information

USING THE CONSOLE TAB

USING THE CONSOLE TAB USING THE CONSOLE TAB Summary The console is a tab that combines related records into one screen with different frames so that users have all the information they need when interacting with Salesforce.

More information

SPREADSHEET (Excel 2007)

SPREADSHEET (Excel 2007) SPREADSHEET (Excel 2007) 1 U N I T 0 4 BY I F T I K H A R H U S S A I N B A B U R Spreadsheet Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative

More information

In this chapter, I m going to show you how to create a working

In this chapter, I m going to show you how to create a working Codeless Database Programming In this chapter, I m going to show you how to create a working Visual Basic database program without writing a single line of code. I ll use the ADO Data Control and some

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

Visual Basic Program Coding STEP 2

Visual Basic Program Coding STEP 2 Visual Basic Program Coding 129 STEP 2 Click the Start Debugging button on the Standard toolbar. The program is compiled and saved, and then is run on the computer. When the program runs, the Hotel Room

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

How to Create a MindManager Add-in With Visual Studio in 7 Steps

How to Create a MindManager Add-in With Visual Studio in 7 Steps How to Create a MindManager Add-in With Visual Studio in 7 Steps Prerequisites: MindManager 7, 8 or 9 installed Visual Studio 2005, 2008 or 2010 installed Step One The first thing to do is download this

More information

2. Click New in the upper left corner of the standard toolbar (along the top) to open a new message box.

2. Click New in the upper left corner of the standard toolbar (along the top) to open a new message box. Mail Exercise 1: Sending a Message 1. Click Mail in the Navigation Pane. 2. Click New in the upper left corner of the standard toolbar (along the top) to open a new message box. 3. Enter utstr3@mailbox.sc.edu

More information

Toolkit Activity Installation and Registration

Toolkit Activity Installation and Registration Toolkit Activity Installation and Registration Installing the Toolkit activity on the Workflow Server Install the Qfiche Toolkit workflow activity by running the appropriate SETUP.EXE and stepping through

More information

SAS IT Resource Management 3.3

SAS IT Resource Management 3.3 SAS IT Resource Management 3.3 Gallery Manager User's Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2012. SAS IT Resource Management 3.3:

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

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects

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

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

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

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

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

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

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

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the

More information

Visual Basic.NET. 1. Which language is not a true object-oriented programming language?

Visual Basic.NET. 1. Which language is not a true object-oriented programming language? Visual Basic.NET Objective Type Questions 1. Which language is not a true object-oriented programming language? a.) VB.NET b.) VB 6 c.) C++ d.) Java Answer: b 2. A GUI: a.) uses buttons, menus, and icons.

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

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

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening

More information

TuneTown Lab Instructions

TuneTown Lab Instructions 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,

More information

Business Insight Authoring

Business Insight Authoring Business Insight Authoring Getting Started Guide ImageNow Version: 6.7.x Written by: Product Documentation, R&D Date: August 2016 2014 Perceptive Software. All rights reserved CaptureNow, ImageNow, Interact,

More information

Enterprise Architect. User Guide Series. Tutorial. Author: Sparx Systems. Date: 26/07/2018. Version: 1.0 CREATED WITH

Enterprise Architect. User Guide Series. Tutorial. Author: Sparx Systems. Date: 26/07/2018. Version: 1.0 CREATED WITH Enterprise Architect User Guide Series Tutorial Author: Sparx Systems Date: 26/07/2018 Version: 1.0 CREATED WITH Table of Contents Tutorial 3 Startup 4 Create a Project 5 Add a View to your Model 6 Add

More information

Chapter 12: Using Controls

Chapter 12: Using Controls Chapter 12: Using Controls Using a LinkLabel LinkLabel Similar to a Label Provides the additional capability to link the user to other sources Such as Web pages or files Default event The method whose

More information

Enterprise Architect. User Guide Series. Tutorial

Enterprise Architect. User Guide Series. Tutorial Enterprise Architect User Guide Series Tutorial How do I build a model in Enterprise Architect? Follow this tutorial to build a simple model in a Firebird Repository, using Enterprise Architect. Author:

More information

OUTLOOK TIPS AND TRICKS GINI COURTER, M.B.A., TRIAD CONSULTING

OUTLOOK TIPS AND TRICKS GINI COURTER, M.B.A., TRIAD CONSULTING 1 OUTLOOK TIPS AND TRICKS GINI COURTER, M.B.A., TRIAD CONSULTING DISPLAYING THE ADVANCED TOOLBAR (2007) The Advanced toolbar isn t advanced; it s just the commands that they couldn t fit on the Standard

More information

Introduction to Microsoft Excel

Introduction to Microsoft Excel Chapter A spreadsheet is a computer program that turns the computer into a very powerful calculator. Headings and comments can be entered along with detailed formulas. The spreadsheet screen is divided

More information

Dealing with Event Viewer

Dealing with Event Viewer Dealing with Event Viewer Event Viewer is a troubleshooting tool in Microsoft Windows 2000.This how-to article will describe how to use Event Viewer. Event Viewer displays detailed information about system

More information

Introduction to Microsoft Excel 2010

Introduction to Microsoft Excel 2010 Introduction to Microsoft Excel 2010 This class is designed to cover the following basics: What you can do with Excel Excel Ribbon Moving and selecting cells Formatting cells Adding Worksheets, Rows and

More information

M. K. Institute Of Computer Studies, Bharuch SYBCA SEM IV VB.NET (Question Bank)

M. K. Institute Of Computer Studies, Bharuch SYBCA SEM IV VB.NET (Question Bank) Unit-1 (overview of Microsoft.net framework) 1. What is CLR? What is its use? (2 times) 2 2. What is garbage collection? 2 3. Explain MSIL 2 4. Explain CTS in detail 2 5. List the extension of files available

More information

NiceForm User Guide. English Edition. Rev Euro Plus d.o.o. & Niceware International LLC All rights reserved.

NiceForm User Guide. English Edition. Rev Euro Plus d.o.o. & Niceware International LLC All rights reserved. www.nicelabel.com, info@nicelabel.com English Edition Rev-0910 2009 Euro Plus d.o.o. & Niceware International LLC All rights reserved. www.nicelabel.com Head Office Euro Plus d.o.o. Ulica Lojzeta Hrovata

More information

B.V Patel Institute of Business Management, Computer & Information Technology

B.V Patel Institute of Business Management, Computer & Information Technology BCA (Semester 4 th ) 030010401: GUI Programming Teaching Schedule Objective: To provide fundamentals of.net framework, C# language and to introduce development of rich Windows form applications with event

More information

Creating Web Applications Using ASP.NET 2.0

Creating Web Applications Using ASP.NET 2.0 12 Creating Web Applications Using ASP.NET 2.0 12 Chapter CXXXX 39147 Page 1 07/14/06--JHR After studying Chapter 12, you should be able to: Define the terms used when talking about the Web Create a Web

More information

Server Manager User and Permissions Setup

Server Manager User and Permissions Setup Login and Security Once you successfully create your company databases, the next step is to define the groups and users that can access the TRAVERSE data and the functionality they will have within the

More information

Function: function procedures and sub procedures share the same characteristics, with

Function: function procedures and sub procedures share the same characteristics, with Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures

More information

Web Accessibility Change Your Mouse Pointer Visibility Handbook

Web Accessibility Change Your Mouse Pointer Visibility Handbook Web Accessibility Change Your Mouse Pointer Visibility Handbook H2O Power is committed to providing our services in a way that respects the dignity and independence of persons with disabilities. H2O power

More information

DESIGNING, BUILDING, AND USING DATABASES (BEGINNING MICROSOFT ACCESS, X405.4)

DESIGNING, BUILDING, AND USING DATABASES (BEGINNING MICROSOFT ACCESS, X405.4) Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DESIGNING, BUILDING, AND USING DATABASES (BEGINNING MICROSOFT ACCESS, X405.4) Section 3 AGENDA

More information

where are we? ICS 105: Project in HCI ui toolkits what does the toolkit do? model-view-controller model-view-controller lectures

where are we? ICS 105: Project in HCI ui toolkits what does the toolkit do? model-view-controller model-view-controller lectures where are we? ICS 105: Project in HCI UI Toolkits and Programming Models lectures done with evaluation techniques a couple of lectures on toolkits and programming other topics: graphical design and screen

More information

Lesson 15 - How to Work with Thread Set Threads System Table

Lesson 15 - How to Work with Thread Set Threads System Table Easy Organizer Suite Threads Organizer Module Pack easythreads Module Lesson 15 - How to Work with Thread Set Threads System Table Welcome to the easythreads Lessons series. As you follow through each

More information

Lionbridge Connector for Sitecore. User Guide

Lionbridge Connector for Sitecore. User Guide Lionbridge Connector for Sitecore User Guide Version 4.0.5 November 2, 2018 Copyright Copyright 2018 Lionbridge Technologies, Inc. All rights reserved. Lionbridge and the Lionbridge logotype are registered

More information

Simply Personnel Screen Designer

Simply Personnel Screen Designer Simply Personnel Screen Designer -Training Workbook- Screen Designer Page 1 Build 12.8 Introduction to Simply Personnel Screen Designer This document provides step-by-step guide for employee users to give

More information

SIMPLE TEXT LAYOUT FOR COREL DRAW. When you start Corel Draw, you will see the following welcome screen.

SIMPLE TEXT LAYOUT FOR COREL DRAW. When you start Corel Draw, you will see the following welcome screen. SIMPLE TEXT LAYOUT FOR COREL DRAW When you start Corel Draw, you will see the following welcome screen. A. Start a new job by left clicking New Graphic. B. Place your mouse cursor over the page width box.

More information

Click File on the menu bar to view the individual menu items and their associated icons on the File menu.

Click File on the menu bar to view the individual menu items and their associated icons on the File menu. User Interface Design 387 STEP 3 Click File on the menu bar to view the individual menu items and their associated icons on the File menu. The standard File menu items (New, Open, Save, Save As, Print,

More information

Excel Tables & PivotTables

Excel Tables & PivotTables Excel Tables & PivotTables A PivotTable is a tool that is used to summarize and reorganize data from an Excel spreadsheet. PivotTables are very useful where there is a lot of data that to analyze. PivotTables

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

version 7.6 user manual

version 7.6 user manual version 7.6 user manual 2 Copyright JAVS 1981-2014 Table of Contents Introduction... 4 Getting Started... 5 Login... 5 JAVS Publisher 7 Overview... 6 Search Tool Overview... 7 Search Tool-Detailed Operation...

More information

INTRODUCTION TO VISUAL BASIC 2010

INTRODUCTION TO VISUAL BASIC 2010 INTRODUCTION TO VISUAL BASIC 2010 Microsoft Visual Basic is a set of programming tools that allows you to create applications for the Windows operating system. With Visual Basic, even a beginner can create

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

Chapter 2. Creating Applications with Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of

Chapter 2. Creating Applications with Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 2 Creating Applications with Visual Basic Addison Wesley is an imprint of 2011 Pearson Addison-Wesley. All rights reserved. Section 2.1 FOCUS ON PROBLEM SOLVING: BUILDING THE DIRECTIONS APPLICATION

More information

Introduction to Microsoft Excel 2010

Introduction to Microsoft Excel 2010 Introduction to Microsoft Excel 2010 This class is designed to cover the following basics: What you can do with Excel Excel Ribbon Moving and selecting cells Formatting cells Adding Worksheets, Rows and

More information

BASIC NAVIGATION & VIEWS...

BASIC NAVIGATION & VIEWS... Content Overview VISUAL TOUR... 5 NEW FEATURES IN OUTLOOK 2010... 6 BASIC NAVIGATION & VIEWS... 7 SETTING PREFERENCES... 7 Creating an Outlook Shortcut... 7 Choosing a Startup View... 7 CUSTOMIZING INBOX

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

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

CUSTOMISE FIELDS AND LAYOUTS 2010

CUSTOMISE FIELDS AND LAYOUTS 2010 CUSTOMISE FIELDS AND LAYOUTS 2010 CUSTOMIZE YOUR FIELDS AND LAYOUTS Step 1 Define your fields Step 2 Customize your layouts Note: Changing the name of a field in the Define Fields box does not change the

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

Chapter 4: Single Table Form Lab

Chapter 4: Single Table Form Lab Chapter 4: Single Table Form Lab Learning Objectives This chapter provides practice with creating forms for individual tables in Access 2003. After this chapter, you should have acquired the knowledge

More information

HOUR 4 Understanding Events

HOUR 4 Understanding Events HOUR 4 Understanding Events It s fairly easy to produce an attractive interface for an application using Visual Basic.NET s integrated design tools. You can create beautiful forms that have buttons to

More information

PA TRAC Widget. Adding the Power of PA TRAC to your Website

PA TRAC Widget. Adding the Power of PA TRAC to your Website Adding the Power of PA TRAC to your Website Table of Contents Introduction to the Using the Widget Builder Adding the Widget to your Site Student View of Equivalencies on Widget Help and Support 3 5 10

More information

(Subroutines in Visual Basic)

(Subroutines in Visual Basic) Ch 7 Procedures (Subroutines in Visual Basic) Visual Basic Procedures Structured Programs To simplify writing complex programs, most Programmers (Designers/Developers) choose to split the problem into

More information

Stamina Software Pty Ltd. TRAINING MANUAL Viságe Reporter

Stamina Software Pty Ltd. TRAINING MANUAL Viságe Reporter Stamina Software Pty Ltd TRAINING MANUAL Viságe Reporter Version: 2 21 st January 2009 Contents Introduction...1 Assumed Knowledge...1 Pre Planning...1 Report Designer Location...2 Report Designer Screen

More information

Parent page: PCB Panel

Parent page: PCB Panel Published on Online Documentation for Altium Products (https://www.altium.com/documentation) 主页 > PCB Library Using Altium Documentation Modified by Annika Krilov on Apr 11, 2017 Parent page: PCB Panel

More information

Keeping Track, Menus. CSC 330 Object-Oriented Programming 1

Keeping Track, Menus. CSC 330 Object-Oriented Programming 1 Keeping Track, Menus CSC 330 Object-Oriented Programming 1 Chapter Objectives Keeping Track Create menus and submenus for program control Display and use the Windows common dialog boxes Create context

More information

Microsoft Office Excel 2003

Microsoft Office Excel 2003 Microsoft Office Excel 2003 Tutorial 1 Using Excel To Manage Data 1 Identify major components of the Excel window Excel is a computerized spreadsheet, which is an important business tool that helps you

More information

ENGR/CS 101 CS Session Lecture 4

ENGR/CS 101 CS Session Lecture 4 ENGR/CS 101 CS Session Lecture 4 Log into Windows/ACENET (reboot if in Linux) Start Microsoft Visual Studio 2010 Finish exercise from last time Lecture 4 ENGR/CS 101 Computer Science Session 1 Outline

More information

Help Contents. Creating a Query - Synopsis

Help Contents. Creating a Query - Synopsis Help Contents Creating a Query - Synopsis...1 Phase 1: How to Begin a New Query...2 Phase 2: Choosing My Data Source...3 Phase 3: Choosing My Data Fields...4 Choosing My Data Fields - Selecting All Fields...4

More information

Import Content. Learning Objectives. In this Job Aid, you will learn how to import content through the browser by adding:

Import Content. Learning Objectives. In this Job Aid, you will learn how to import content through the browser by adding: Import Content Learning Objectives In this Job Aid, you will learn how to import content through the browser by adding: 1 Files page 3 2 Folders page 7 Last updated: April 17, 2012 Overview You can import

More information

M. K. Institute Of Computer Studies, Bharuch SYBCA SEM IV VB.NET (Question Bank)

M. K. Institute Of Computer Studies, Bharuch SYBCA SEM IV VB.NET (Question Bank) Unit-1 (overview of Microsoft.net framework) 1. What is CLR? What is its use? (2 times) 2 2. What is garbage collection? 2 3. Explain MSIL (mar/apr-201) 2 times 2 4. Explain CTS in detail 2 5. List the

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

Chapter 12: Using Controls

Chapter 12: Using Controls Chapter 12: Using Controls Examining the IDE s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton A Label has been dragged onto Form1

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

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

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

ViewONE User Manual. Genazim. The Friedberg Geniza Project. Daeja Image Systems. All Rights Reserved.

ViewONE User Manual. Genazim. The Friedberg Geniza Project. Daeja Image Systems. All Rights Reserved. Genazim The Friedberg Geniza Project ViewONE User Manual Daeja Image Systems. All Rights Reserved. Email: info@daeja.com Web site: http://www.daeja.com 1 Contents Introduction 3 The User interface 3 Toolbars

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

Impress Guide Chapter 11 Setting Up and Customizing Impress

Impress Guide Chapter 11 Setting Up and Customizing Impress Impress Guide Chapter 11 Setting Up and Customizing Impress This PDF is designed to be read onscreen, two pages at a time. If you want to print a copy, your PDF viewer should have an option for printing

More information

SEE5A/ Visual Basic Unit : I - V

SEE5A/ Visual Basic Unit : I - V SEE5A/ Visual Basic Unit : I - V 1 1 UNIT I : Syllabus Customizing a Form Writing Simple Programs Tool Box Creating Controls Name Property Command Button, Access Keys Image Controls, Text Boxes, Labels

More information

SOFTWARE SKILLS BUILDERS

SOFTWARE SKILLS BUILDERS USING ACCESS TO CREATE A SCIENCE DATABASE A database allows you to enter, store, retrieve, and manipulate data efficiently. You will first design your database and enter information into a table called

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

ComponentOne. TouchToolkit for WinForms

ComponentOne. TouchToolkit for WinForms ComponentOne TouchToolkit for WinForms ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com Sales: sales@componentone.com

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

Quick Guide for Excel 2015 Data Management November 2015 Training:

Quick Guide for Excel 2015 Data Management November 2015 Training: http://pfw.edu Quick Guide for Excel 2015 Data Management November 2015 Training: http://pfw.edu/training Excel 2016 Data Management AutoFill and Custom Lists AutoFill 1. Select the range that contains

More information

Enterprise Architect. User Guide Series. Model Wizard

Enterprise Architect. User Guide Series. Model Wizard Enterprise Architect User Guide Series Model Wizard How to create a model quickly? In Sparx Systems Enterprise Architect, the Model Wizard provides Patterns from a wide range of technologies, to help you

More information

ELECOM MouseAssistant

ELECOM MouseAssistant ELECOM MouseAssistant Thank you very much for purchasing this ELECOM mouse. This dedicated mouse function allocation software is intended to allocate the desired functions to the mouse buttons. This help

More information

Comcast Store Campaign Planning 2.0 Phase 1 & 2 - Quick Start Guide. Last Updated: 7/5/16

Comcast Store Campaign Planning 2.0 Phase 1 & 2 - Quick Start Guide. Last Updated: 7/5/16 Comcast Store Campaign Planning 2.0 Phase 1 & 2 - Quick Start Guide Last Updated: 7/5/16 TABLE OF CONTENTS OVERVIEW & ACCESS.3 GLOBAL GRIDS 4-5 BROWSE ALL PLANS 6 PLAN DETAILS VIEW.7 MASS EDIT 8 WORKFLOW

More information

Las Vegas, Nevada, December 3 6, Kevin Vandecar. Speaker Name:

Las Vegas, Nevada, December 3 6, Kevin Vandecar. Speaker Name: Las Vegas, Nevada, December 3 6, 2002 Speaker Name: Kevin Vandecar Course Title: Introduction to Visual Basic Course ID: CP11-3 Session Overview: Introduction to Visual Basic programming is a beginning

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

NMS Spectrum Analyzer Application

NMS Spectrum Analyzer Application NMS Spectrum Analyzer Application Spectrum View Window... 3 Context Sensitive Menus for Spectrum View Window... 3 Add Horizontal Line... 4 Add Vertical Line... 4 Show Lines... 4 Hide Lines... 4 Delete

More information

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4 Introduction to Microsoft Excel 2016 INTRODUCTION... 1 The Excel 2016 Environment... 1 Worksheet Views... 2 UNDERSTANDING CELLS... 2 Select a Cell Range... 3 CELL CONTENT... 4 Enter and Edit Data... 4

More information

Some Basic Terminology

Some Basic Terminology Some Basic Terminology A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Here are a few terms you'll run into: A Application Files Program files environment where you can create and edit the kind of

More information