Information System Design Lab 5&6. User Interface Design.

Slides:



Advertisements
Similar presentations
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Advertisements

CS0004: Introduction to Programming Visual Studio 2010 and Controls.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
C# Programming: From Problem Analysis to Program Design1 Programming Based on Events C# Programming: From Problem Analysis to Program Design 3 rd Edition.
Visual Basic Project Files:.VBP file: Project File: a small text file that contains the names of other files in the project, as well as some information.
1 Pertemuan 02 Visual Basic Environment and Control Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
Using the Visual Basic Editor Visual Basic for Applications 1.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Fundamentals of Programming in Visual Basic 3.1 Visual basic Objects Visual Basic programs display a Windows style screen (called a form) with boxes into.
DT265-2 Object Oriented Software Development 2 Lecture 3 : Windows Programming Lecturer Pat Browne
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Slide 1 Chapter 2 Visual Basic Interface. Slide 2 Chapter 2 Windows GUI  A GUI is a graphical user interface.  The interface is what appears on the.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Visual Basic Chapter 1 Mr. Wangler.
Microsoft Visual Basic 2005: Reloaded Second Edition
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
An Introduction to Visual Basic
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
© 2006 Lawrenceville Press Slide 1 Chapter 3 Visual Basic Interface.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Chapter 12: Using Controls. Examining the IDE’s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
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.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Introduction to the Visual Studio.NET IDE (LAB 1 )
 Application – another name for a program.  Interface – is what appears on the screen when the application is running.  Program Code – is instructions.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Chapter Two Creating a First Project in Visual Basic.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Slide 1 Using Menu Bar & Common Dialog Boxes. Slide 2 Setting Up the Main Items v First open the form on which you want the menu located v Then start.
1 Visual Basic Part I - A tool for customizing your program Principles of GIS
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Microsoft Visual C# 2010 Fourth Edition Chapter 3 Using GUI Objects and the Visual Studio IDE.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Visual Basic/ Visual Studio Brandon Large. Connecting to prior knowledge In your notes write down what the two main parts of the computer are. The “software”
Dive Into® Visual Basic 2010 Express
Visual Basic.NET Windows Programming
Chapter 1: An Introduction to Visual Basic 2015
Visual Basic Code & No.: CS 218
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming UTPA – Fall 2012 This set of slides is revised from lecture.
3.01 Apply Controls Associated With Visual Studio Form
1. Introduction to Visual Basic
3.01 Apply Controls Associated With Visual Studio Form
Chapter 2 Visual Basic Interface
Social Media And Global Computing Introduction to Visual Studio
CIS16 Application Development Programming with Visual Basic
Visual Studio.
Visual C# - GUI and controls - 1
Presentation transcript:

Information System Design Lab 5&6

User Interface Design

Microsoft Visual Studio is  an integrated development environment (IDE) from Microsoft.  It is used to develop console and graphical user interface (windows forms application,websites )  Visual Studio includes a code editor, debugger, forms designers ) for building GUI applications.  Visual Studio supports different programming language (Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++) Microsoft Visual Studio

C reating VB /C# Application s Create the interface Set the properties Write the code

Forms: windows that contain application’s controls. – forms are used as display windows to gather info and return commands or instructions. Controls: check boxes, list boxes, etc. Properties: attributes of objects. Events: messages or requests for service. Procedures: operations or services. – include methods, functions, subroutines Creating VB/C# Applications Create the interface

How to get started in C# File  new  project

:Toolbox 2:form window 3:properties window 4:projext explorer window How to get started in C#/VB

Toolbox display buttons that represent the controls that are are available for user to add to a form How to get started

properties window Whenever an object is active, the property window lists all of the properties that are associated with that object when you click a property item,there is a message area under the properties window that explains what effect the property has on its object How to get started

Add controls to a form Objects in the toolbox

Add controls to a form (label,textbox and button )

CheckBox and RadioButton What is the difference ? Add controls to a form ((CheckBox and RadioButton RadioButtonCheckBox

Add controls to a form (GroupBox) using GroupBox

ComboBox prosperities  Text  DropDownStyle Add controls to a form (ComboBox )

ComboBox prosperities  Item Add controls to a form (ComboBox ) Run screen

ChecckedListBox is  CheckBox  ListBox Add controls to a form (ChecckedListnBox)

ChecckedListnBox properities  Item  Checkonclick Add controls to a form (ChecckedListnBox)

Toolbox 1 2 Add controls to a form (menustrip)

Add standard items 1 2 Add controls to a form (menustrip)

Add separator Type – then enter separator Add controls to a form (menustrip)

Include menu shortcut keys : In most applications,you have some way of accessing the menu options without using the mouse. this is done by using shortcut keys. Properties windows (Image,Text,Shortcut kes) Add controls to a form (menustrip)

Add code to a menu option: Double click on a menu option Add controls to a form (menustrip)

Add controls to a form (toolstrip)

dateTimePicker control: is used to display the date to the user in a single textbox format. Add controls to a form (dateTimePicker)

TabControl :allows to user to place other controls on each of the tabs independently. When the user clicks a particular tab,only those controls on that tab are displayed automatically Add controls to a form (taps)

Object name : TabControl Most important object properties : text Add controls to a form (taps)

Windows properties for TabControl Add controls to a form (taps)

textbox control passwordChar property :use to protect the textbox. Multiline property: allow to user to enter multiple lines of text Add controls to a form

How to add a form Add new form Project  add windows form

Project Project  properties The most important item that you can change here is the Startup form This will tell VB which form should be run first at startup

How to run your project Run The Application : there are several ways to run or test your application.Either …. Return to the environment After executing or running a project,clicking the close button to return to code. End execution with an error : In some case, you may want to terminate the execution during an error massage. the end button on the toolbar will accomplish this.

Add code to your form Access the code window :3 ways Enter code

Use MSGBOX function Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked. Message title

Use MSGBOX function(cont…)

Question Critical Warning Use MSGBOX function

Project  properties Publish

Example of Design interface

شرح محتويات الشاشة

Practices

Open new project

Change background image

Status bar Web browser Tool strip

Edit item of tool strip 1

Edit item of status bar

Finally