Windows Forms. Architecture Wrapper around WIN32API Part of the.NET Framework Code can be in C# or VB Toolbox has forms elements (buttons, etc.) Dragging.

Slides:



Advertisements
Similar presentations
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Advertisements

Getting Started Performance Management System Tutorial for Employees Estimated Completion Time: 5 minutes Navigation instructions Begin the tutorial To.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Using Macros and Visual Basic for Applications (VBA) with Excel
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
Chapter 2 –Visual Basic, Controls, and Events
The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
Compunet Corporation Programming with Visual Studio.NET GUI Week 13 Tariq Aziz and Kevin Jones.
Visual Studio 2005 Using the DataGridView Control V. Matos Cleveland State University.
Outline Review Visual Basic.NET Environment Review Visual Basic.NET Environment First Visual Basic Planning and Programming First Visual Basic Planning.
1 FOR OFFICIAL USE ONLY How To Add a CATMS Team Mailbox to Your Outlook Profile.
Chapter 2 –Visual Basic, Controls, and Events
CS0004: Introduction to Programming Events. Review  Event Procedure  A set of instructions to be executed when a certain event happens.  Many event-driven.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
1 Visual Basic for Applications (VBA) for Excel Prof. Yitzchak Rosenthal.
Menus,MonthCalender, DateTimePicker, MDI,Tree View, List View,
1 Κατανεμημένες Διαδικτυακές Εφαρμογές Πολυμέσων Γιάννης Πετράκης.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Menus,MonthCalender, DateTimePicker, MDI,Tree View, List View,
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
Chapter 5 Menus, Common Dialog Boxes, and Methods Programming in C#.NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Introduction to Visual Basic.NET Chapter 2 Introduction to Controls, Events.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 7 Using Menus, Common Dialogs, Procedures, Functions, and Arrays.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Introduction to Visual Basic.NET Your First Visual Basic.NET Application.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Chapter 2 –Visual Basic, Controls, and Events
1 Chapter 12 – Web Applications 12.1 Programming for the Web, Part I 12.2 Programming for the Web, Part II 12.3 Using Databases in Web Programs.
Microsoft Visual Basic 2008 CHAPTER TWELVE Cell Phone Applications and Web Services.
XP Practical OpenOffice.org Chapter 8 1 Creating a Presentation.
Chapter 2 - VB 2008 by Schneider1 Chapter 2 –Visual Basic, Controls, and Events 2.1 An Introduction to Visual Basic 2.2 Visual Basic Controls 2.3 Visual.
Using an HTML image (img) element’s onclick event to change the source (src) of an iframe to an embedded youtube video.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
Chapter 3 - VB.NET by Schneider1 Chapter 3 – Fundamentals of Programming in VB.NET Part I VB.NET Controls VB.NET Events.
Designing Your Own PowerPoint Presentation Presentation by: Dawn Reeves Engl393 June 20 th 2002.
Created by Alia Al-Abdulkarim 2008 Visual Basic Vs. Java.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Using ADO.Net to Build a Login System Dr. Ron Eaglin.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
List Boxes and Combo Boxes Provides a list of items to select from Various styles — choose based on Space available Need to select from an existing list.
How to use the Hand-In Folder. Click on the Folder icon at the bottom of the screen.
ADO.NET Objects Data Adapters Dr. Ron Eaglin. Agenda Builds on Information in Part I Should have working knowledge of creating a database connection Continuation.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Chapter 31 Fundamentals of Programming in Visual Basic (VB) Visual Basic Events Simple Statement.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Introduction to VB programming Dr. John P. Abraham UTPA Chapters 2 & 3.
Filling the Europe target zone: 6-element OWA yagi stack vs. 5-element OWA yagi stack To view an animated comparison: 1.Click “Slide Show” from the menu.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Chapter 2 - VB 2008 by Schneider1 Chapter 2 –Visual Basic, Controls, and Events 2.1 An Introduction to Visual Basic 2.2 Visual Basic Controls 2.3 Visual.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Sage-Fox PowerPoint -- How To Download & Modify -- James Sager March 2016.
Computing and Information Technology Building a Web Browser
Chapter 2: The Visual Studio .NET Development Environment
Windows Movie Maker Visual Guide.
Visual programming Chapter 1: Introduction
Using Procedures and Exception Handling
Introduction to VB programming
Using this template set
CIS 338: Images on Forms Dr. Ralph D. Westfall May, 2009.
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
GUI Programming in Visual Studio .NET
Using this template set
Presentation transcript:

Windows Forms

Architecture Wrapper around WIN32API Part of the.NET Framework Code can be in C# or VB Toolbox has forms elements (buttons, etc.) Dragging an element to the form creates a handler Add code to the handler

Creating a WF Application Start VS On the menu bar, choose File, New, Project. In the left pane, choose "Other Languages" Choose Visual Basic or Visual C#. In the middle pane (at top), choose the target framework (latest is.NET 4.5.1) In the middle pane choose Windows Forms Application

Navigation in VS Assuming your form is "Form1" Drag a control from the toolbox to the form Double-click on Form1.vb shows the form Click the drop down for Form1.vb Click on Form1 to see the code behind the form Controls can be dragged to the form VB is "supposed" to create template code you can modify This does not always work You may have to insert your own functions

Sample function Private Sub Num1_Click(ByVal S As System.Object, ByVal e As System.EventArgs) _ Handles Num1.TextChanged xs = Num1.Text 'MsgBox("input=" + xs) x = Val(xs) 'MsgBox("x=" + x.ToString) End Sub TextChanged can be set in properties Reserved word "end" is the final return