Chapter 12: Using Controls

Size: px
Start display at page:

Download "Chapter 12: Using Controls"

Transcription

1 Chapter 12: Using Controls

2 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 shell is automatically created when you double-click the Control The method you are most likely to alter with Control The event that users most likely expect to generate 2

3 Using a LinkLabel (cont d.) 3

4 Using a LinkLabel (cont d.) LinkLabel appears as underlined text The text is blue by default When you pass the mouse pointer over a LinkLabel, the pointer changes to a hand When a user clicks a LinkLabel, it generates a click event Executing a LinkClicked() method The LinkVisited property can be set to true when you determine that a user has clicked a link 4

5 Using a LinkLabel (cont d.) 5

6 Using a LinkLabel (cont d.) 6

7 Using a LinkLabel (cont d.) 7

8 Using CheckBox and RadioButton CheckBox objects Objects GUI widgets the user can click to select or deselect an option RadioButtons Similar to CheckBoxes Only one RadioButton in a group can be selected at a time 8

9 Using CheckBox and RadioButton Objects (cont d.) 9

10 Using CheckBox and RadioButton Objects (cont d.) 10

11 Using CheckBox and RadioButton Objects (cont d.) 11

12 Using CheckBox and RadioButton Objects (cont d.) 12

13 Using CheckBox and RadioButton Objects (cont d.) 13

14 Understanding GroupBoxes and Panels GroupBox or Panel Groups related Controls on a Form Can be anchored or docked inside a Form GroupBoxes Can display a caption Do not have scroll bars Panels Cannot display a caption Have scroll bars 14

15 GroupBoxes and Panels (Cont.) To create a GroupBox or Panel, drag its icon from the Toolbox onto a Form. Then, drag new controls from the Toolbox directly into the GroupBox or Panel. To enable the scrollbars, set the Panel s AutoScroll property to true. If the Panel cannot display all of its controls, scrollbars appear (Fig ) by Pearson Education, Inc. All Rights Reserved.

16 by Pearson Education, Inc. All Rights Reserved.

17 NumericUpDown Control NumericUpDown Restrict a user s input choices to a specific range of numeric values. Appears as a TextBox, with two small Buttons on the right side NumericUpDown s ReadOnly property indicates if user can type a number into the control 17

18 NumericUpDown properties and event Description Common Properties Increment Maximum Minimum Specifies by how much the current number in the control changes when the user clicks the control s up and down arrows. Largest value in the control s range. Smallest value in the control s range. Value The numeric value currently displayed in the control. Common Event ValueChanged This event is raised when the value in the control is changed. This is the default event for the NumericUpDown control. NumericUpDown properties and event. 18

19 19 NumericUpDown Control

20 ToolTips A ToolTip component appears in the component tray the region below the Form in Design mode. A ToolTip on property for each ToolTip component appears in the Properties window for the Form s other controls. Figure demonstrates the ToolTip component by Pearson Education, Inc. All Rights Reserved.

21 by Pearson Education, Inc. All Rights Reserved.

22 ToolTips (Cont.) Set the tool-tip text for the Labels to First Label and Second Label Figure shows the ToolTip in the component tray. We set the tool tip text for the first Label to "First Label" and the tool tip text for the second Label to "Second Label" by Pearson Education, Inc. All Rights Reserved.

23 by Pearson Education, Inc. All Rights Reserved.

24 by Pearson Education, Inc. All Rights Reserved.

25 Adding a PictureBox to a Form PictureBox A Control in which you can display graphics from a bitmap, icon, JPEG, GIF, or other image file type 25

26 26

27 Adding a PictureBox to a Form (cont d.) 27

28 Adding a PictureBox to a Form (cont d.) 28

29 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form ListBox, ComboBox, and CheckedListBox objects List-type widgets that descend from ListControl ListBox Control Displays a list of items the user can select by clicking Allows the user to make a single selection or multiple selections by setting the SelectionMode property SelectedItem property Contains the value of the item a user has selected 29

30 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) 30

31 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) 31

32 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) 32

33 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) 33

34 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) 34

35 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) ComboBox Control Similar to a ListBox Displays an additional editing field Allows the user to select from the list or to enter new text CheckedListBox Control Similar to a ListBox Check boxes appear to the left of each desired item 35

36 Adding ListBox, CheckedListBox, and ComboBox Controls to a Form (cont d.) 36

37 Adding MonthCalendar and DateTimePicker Controls to a Form MonthCalendar and DateTimePicker Controls Allow you to retrieve date and time information 37

38 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) 38

39 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) 39

40 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) 40

41 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) 41

42 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) DateTimePicker Control Displays a month calendar when the down arrow is selected 42

43 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) 43

44 Adding MonthCalendar and DateTimePicker Controls to a Form (cont d.) 44

45 Adding a MenuStrip to a Form Menu strip A horizontal list of general options that appears under the title bar of a Form or Window You can add a MenuStrip Control object to any Form you create When you double-click an entry in the MenuStrip, a Click() method is generated 45

46 Adding a MenuStrip to a Form (cont d.) 46

47 Adding a MenuStrip to a Form (cont d.) 47

48 Adding a MenuStrip to a Form (cont d.) 48

49 TreeView Control The TreeView control displays nodes hierarchically in a tree. A parent node contains child nodes, and the child nodes can be parents to other nodes. Two child nodes that have the same parent node are considered sibling nodes. The first parent node of a tree is the root node (a TreeView can have multiple roots) by Pearson Education, Inc. All Rights Reserved.

50 TreeView Control (Cont.) The nodes in a TreeView (Fig ) are instances of class TreeNode. Each TreeNode has a Nodes collection (type TreeNodeCollection), which contains a list of its children by Pearson Education, Inc. All Rights Reserved.

51 by Pearson Education, Inc. All Rights Reserved.

52 TreeView Control (Cont.) To add nodes to the TreeView visually, click the ellipsis next to the Nodes property in the Properties window. This opens the TreeNode Editor (Fig ) by Pearson Education, Inc. All Rights Reserved.

53 by Pearson Education, Inc. All Rights Reserved.

54 TreeView Control (Cont.) To add nodes programmatically, first create a root node. treeview1.nodes.add( ); To add children to a root node first select the appropriate root node: treeview1.selectednode To remove nodes programmatically, first select a node, then remove. treeview1.nodes.remove( ); by Pearson Education, Inc. All Rights Reserved.

55 TreeView Control (Example)

56 TabControl Control TabControls contain TabPage objects, which are similar to Panels. Add TabControls visually by dragging and dropping them onto a Form in Design mode. To add TabPages in Design mode, click the top of the TabControl, open its smart tasks menu and select Add Tab (Fig ). To select a TabPage, click the control area underneath the tabs by Pearson Education, Inc. All Rights Reserved.

57 by Pearson Education, Inc. All Rights Reserved.

58 by Pearson Education, Inc. All Rights Reserved.

59 by Pearson Education, Inc. All Rights Reserved.

60 TabControl Example by Pearson Education, Inc. All Rights Reserved.

61 Multiple Document Interface (MDI) Many complex apps are multiple document interface (MDI) programs, which allow users to edit multiple documents at once. An MDI program s main window is called the parent window, and each window inside the app is referred to as a child window. Figure depicts a sample MDI app with two child windows. To create an MDI Form, create a new Form and set its IsMdiContainer property to true (Fig ) by Pearson Education, Inc. All Rights Reserved. Windows

62 by Pearson Education, Inc. All Rights Reserved.

63 by Pearson Education, Inc. All Rights Reserved.

64 Multiple Document Interface (MDI) Windows (Cont.) Right click the project in the Solution Explorer, select Project > Add Windows Form and name the file. Set the Form s MdiParent property to the parent Form and call the child Form s Show method. Form2 childform = New Form2(); childform.mdiparent = this; childform.show(); by Pearson Education, Inc. All Rights Reserved.

65 by Pearson Education, Inc. All Rights Reserved.

66 Multiple Document Interface (MDI) Windows (Cont.) Figure shows two images: one containing two minimized child windows and a second containing a maximized child window by Pearson Education, Inc. All Rights Reserved.

67 by Pearson Education, Inc. All Rights Reserved.

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

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

List and Value Controls

List and Value Controls List and Value Controls Sorting in List-Based Controls You can sort the objects displayed in a list-based control by setting the Sorted property to True, as shown here: listbox1.sorted = true; Setting

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

Microsoft Visual C# 2005: Developing Applications Table of Contents

Microsoft Visual C# 2005: Developing Applications Table of Contents Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Sample Database...INTRO-3 Security...INTRO-4 Installation...INTRO-4

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

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 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

Unit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol

Unit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol Designing User Interface-2 Unit 3 Designing User Interface-2 Lesson 3.1-3 TreeView Control A TreeView control is designed to present a list in a hierarchical structure. It is similar to a directory listing.

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

Interface Design in C#

Interface Design in C# Interface Design in C# Project 1: Copy text from TextBox to Label as shown in the figure. TextBox and Label have the same property: display.text = nameentry.text; private void nameentry_textchanged display.text

More information

Ingegneria del Software T. Interfaccia utente

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

More information

EEE-425 Programming Languages (2013) 1

EEE-425 Programming Languages (2013) 1 2 System.Drawing Namespace System.Windows.Forms Namespace Creating forms applications by hand Creating forms applications using Visual Studio designer Windows applications also look different from console

More information

Deitel Series Page How To Program Series

Deitel Series Page How To Program Series Deitel Series Page How To Program Series Android How to Program C How to Program, 7/E C++ How to Program, 9/E C++ How to Program, Late Objects Version, 7/E Java How to Program, 9/E Java How to Program,

More information

Windows Programming Using C#

Windows Programming Using C# Contents Windows Programming Using C# Menus TreeView TabControl MenuStrip 2 Main Menu Menus (mnu prefix) Menus provide groups of related commands for Windows applications Main menu is the control that

More information

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

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

More information

EEE-425 Programming Languages (2013) 1

EEE-425 Programming Languages (2013) 1 2 System.Drawing Namespace System.Windows.Forms Namespace Creating forms applications by hand Creating forms applications using Visual Studio designer Windows applications also look different from console

More information

Lecture 5 COMMON CONTROLS

Lecture 5 COMMON CONTROLS Lecture 5 COMMON CONTROLS 1. The ListBox Class Represents a box that contains a list of items. The following are its some of its more important properties: MultiColumn This is a Boolean that indicates

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

Unit 3 Additional controls and Menus of Windows

Unit 3 Additional controls and Menus of Windows Working with other controls of toolbox: DateTime Picker If you want to enable users to select a date and time, and to display that date and time in the specified format, use the DateTimePicker control.

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

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

Programming in C# Project 1:

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

More information

Chapter 10: Interface Components

Chapter 10: Interface Components Chapter 10: Interface Components The Resonant Interface HCI Foundations for Interaction Design First Edition by Steven Heim Chapter 10 Interface Components The WIMP Interface Windows Icons Menus Pointers

More information

Contents. Before You Begin. Object Technology: A Brief Review

Contents. Before You Begin. Object Technology: A Brief Review csfp6_printonly.book Page vii Thursday, June 30, 2016 4:11 PM Preface Before You Begin xxi xxxii 1 Introduction 1 1.1 1.2 1.3 Introduction Object Technology: A Brief Review C# 1.3.1 Object-Oriented Programming

More information

Chapter 14. Additional Topics in C# 2010 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Chapter 14. Additional Topics in C# 2010 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 14 Additional Topics in C# McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Validate user input in the Validating event handler and display messages

More information

ListBox. Class ListBoxTest. Allows users to add and remove items from ListBox Uses event handlers to add to, remove from, and clear list

ListBox. Class ListBoxTest. Allows users to add and remove items from ListBox Uses event handlers to add to, remove from, and clear list C# cont d (C-sharp) (many of these slides are extracted and adapted from Deitel s book and slides, How to Program in C#. They are provided for CSE3403 students only. Not to be published or publicly distributed

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

Pelnor Help Add-in.

Pelnor Help Add-in. Pelnor Help Add-in http://www.pelnor.com/ Pelnor Software Index HelpAddIn 1 Pelnor Help Add-in UserControl... 1 Node Editor...7 URL Link Dialog...10 Inner Document Link Selection Dialog... 11 Help Document

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

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

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

Maximizer. The CRM Company. User's Guide

Maximizer. The CRM Company. User's Guide TM Maximizer The CRM Company User's Guide Contents i Contents Chapter 1 Introduction...1 Welcome to Maximizer Form Designer...2 Using Maximizer Form Designer...3 Running Maximizer Form Designer...4 Getting

More information

Advanced Layout Tools

Advanced Layout Tools Advanced Layout Tools General Pack Another efficient and affordable ACT! Add-On by http://www.exponenciel.com Advanced Layout Tools General Pack User s Manual 2 Table of content Purpose of the add-on...

More information

DateTimePicker Control

DateTimePicker Control Controls Part 2 DateTimePicker Control Used for representing Date/Time information and take it as input from user. Date information is automatically created. Prevents wrong date and time input. Fundamental

More information

Contents. 1 Introduction to Computers, the Internet. Before You Begin

Contents. 1 Introduction to Computers, the Internet. Before You Begin Contents Preface Before You Begin xxiii xxxvii 1 Introduction to Computers, the Internet and Visual C# 1 1.1 Introduction 2 1.2 Computers and the Internet in Industry and Research 2 1.3 Hardware and Software

More information

INFRAGISTICS WPF 15.2 Service Release Notes September 2016

INFRAGISTICS WPF 15.2 Service Release Notes September 2016 INFRAGISTICS WPF 15.2 Service Release Notes September 2016 Raise the Bar on Both BI and Desktop UI with Infragistics WPF Controls Infragistics WPF controls provide breadth and depth in enabling developers

More information

Starting Visual Studio 2005

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

More information

Cracked IntegralUI Studio for Web all pc software ]

Cracked IntegralUI Studio for Web all pc software ] Cracked IntegralUI Studio for Web all pc software ] Description: IntegralUI Studio for Web a suite of advanced AngularJS directives and jquery widgets. Includes following UI components: Accordion - A list

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

Advanced Layout Tools

Advanced Layout Tools Advanced Layout Tools General Pack v.4.0 for ACT! 2005 Another efficient and affordable ACT! Add-On by http://www.exponenciel.com Advanced Layout Tools General Pack User s Manual 2 Table of content Purpose

More information

BCIS 4650 Visual Programming for Business Applications

BCIS 4650 Visual Programming for Business Applications BCIS 4650 Visual Programming for Business Applications XAML Controls (That You Will, or Could, Use in Your BCIS 4650 App i.e., a Subset) 1 What is a XAML Control / Element? Is a Toolbox class which, when

More information

Introduction to Business Statistics

Introduction to Business Statistics School School of Arts & Science Major Information Technology Major Requirements CSIT480 Interconnecting Networks The lectures focus on presenting the concepts, commands, and practices required to deal

More information

10 Advanced Java for Bioinformatics, WS 17/18, D. Huson, October 26, 2017

10 Advanced Java for Bioinformatics, WS 17/18, D. Huson, October 26, 2017 10 Advanced Java for Bioinformatics, WS 17/18, D. Huson, October 26, 2017 4 Controls Controls facilitate user input and in JavaFX they extend the class Control. controls: Here are some basic Button CheckBox

More information

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET Programming Using C#.NET (13MCA53) 1. GENERAL INFORMATION: Academic Year:

More information

You will have mastered the material in this chapter when you can:

You will have mastered the material in this chapter when you can: CHAPTER 6 Loop Structures OBJECTIVES You will have mastered the material in this chapter when you can: Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand

More information

Tutorial 3 - Welcome Application

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

More information

10/18/2010 ' ( )* +, ('')* +, !" #$ % !""#$

10/18/2010 ' ( )* +, ('')* +, ! #$ % !#$ !""#$ % & ' ( )* +, ('')* +,!" #$ %! 1 !"! "# $%" " &"# $& ' (&) * +,*-& ",*- - (. 2 ( / ( 0 3 %)" 1!)" # 4 !)" 2 ( %" 5 -)" (% %% ( %! 6 ( %- ( %. 7 ( %/ ( %0 8 ( %1 ( - Allows access to physical hardware

More information

Resco MobileForms Toolkit The richest, most complete set of components for.net Compact Framework

Resco MobileForms Toolkit The richest, most complete set of components for.net Compact Framework v v Resco MobileForms Toolkit The richest, most complete set of components for.net Compact Framework Resco MobileForms Toolkit is a set of Visual Studio controls and libraries designed for developers of

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

Philadelphia University Faculty of Information Technology. Visual Programming. Using C# -Work Sheets-

Philadelphia University Faculty of Information Technology. Visual Programming. Using C# -Work Sheets- Philadelphia University Faculty of Information Technology Visual Programming Using C# -Work Sheets- Prepared by: Dareen Hamoudeh Eman Al Naji 2018 Work Sheet 1 Hello World! 1. Create a New Project, Name

More information

SPEAK Component Reference

SPEAK Component Reference Sitecore Guide Template Rev: 26 November 2013 Sitecore CMS 7.1 SPEAK Component Reference Table of Contents Chapter 1 Authentications... 4 1.1 AccountInformation... 5 Chapter 2 Behaviors... 7 2.1 MultiSelectList...

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

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

Vision V sion o n I n n 1975 V sion o n T o T d o a d y A c o c m o pu p t u er e o n o n e v e e v r e y E po p w o er e p e p o e p o l p e

Vision V sion o n I n n 1975 V sion o n T o T d o a d y A c o c m o pu p t u er e o n o n e v e e v r e y E po p w o er e p e p o e p o l p e Mobile Applications.. Vision Vision In 1975 A computer on every desk and in every home Vision Today Empower people through great software any time, any place, and on any device Mobility Group Empower people

More information

Shell Education #50672 Interactive Whiteboard Activities: Mathematics 1

Shell Education #50672 Interactive Whiteboard Activities: Mathematics 1 Shell Education #50672 Interactive Whiteboard Activities: Mathematics 1 Table of Contents Introduction......................................4 Overview.......................................4 Getting Started..................................4

More information

Introduction to the Visual Basic Express 2005IDE

Introduction to the Visual Basic Express 2005IDE 2 Introduction to the Visual Basic Express 2005IDE OBJECTIVES In this chapter, you will learn The basics of the VisualStudio Integrated Development Environment (IDE) that assists you in writing, running

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

Lesson 09 Working with. SDI and MDI. MIT Rapid Application Development By. S. Sabraz Nawaz Lecturer in MIT

Lesson 09 Working with. SDI and MDI. MIT Rapid Application Development By. S. Sabraz Nawaz Lecturer in MIT Lesson 09 Working with SDI and MDI MIT 31043 Rapid Application Development By. S. Sabraz Nawaz Lecturer in MIT Single Document Interface (SDI) An SDI application that consists of more than one form can

More information

Before You Begin. and Visual Basic 1

Before You Begin. and Visual Basic 1 Contents Preface Before You Begin xxiii xli 1 Introduction to Computers, the Internet and Visual Basic 1 1.1 Introduction 2 1.2 What Is a Computer? 3 1.3 Computer Organization 3 1.4 Early Operating Systems

More information

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6

Contents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6 Contents ***Introduction*** Introduction to Programming... 1 Introduction... 2 What is a Program?... 2 Role Played by a Program to Perform a Task... 2 What is a Programming Language?... 3 Types of Programming

More information

Location of menu elements

Location of menu elements E Creating Menus Appendix E C5779 39147 Page 1 07/10/06--JHR In Visual Basic 2005, you use a MenuStrip control to include one or more menus in an application. You instantiate a MenuStrip control using

More information

Programming with ADO.NET

Programming with ADO.NET Programming with ADO.NET The Data Cycle The overall task of working with data in an application can be broken down into several top-level processes. For example, before you display data to a user on a

More information

B.V Patel Institute of BMC & IT, UTU

B.V Patel Institute of BMC & IT, UTU Corse Code and Corse Name: 030010401-GUI Programming Unit 1. Introduction to.net Framework Short Questions 1. What is.net Framework? 2. What is VB.NET? 3. Which are the main components of.net Framework?

More information

Full file at

Full file at T U T O R I A L 3 Objectives In this tutorial, you will learn to: Set the text in the Form s title bar. Change the Form s background color. Place a Label control on the Form. Display text in a Label control.

More information

SPARK. User Manual Ver ITLAQ Technologies

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

More information

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

Computer Science 110. NOTES: module 8

Computer Science 110. NOTES: module 8 Computer Science 110 NAME: NOTES: module 8 Introducing Objects As we have seen, when a Visual Basic application runs, it displays a screen that is similar to the Windows-style screens. When we create a

More information

XSFORM: A SCHEMA-DRIVEN FORM-BASED XML INFORMATION PROCESSOR

XSFORM: A SCHEMA-DRIVEN FORM-BASED XML INFORMATION PROCESSOR XSFORM: A SCHEMA-DRIVEN FORM-BASED XML INFORMATION PROCESSOR Shang-Hsien Hsieh and Hsien-Tang Lin Department of Civil Engineering, National Taiwan University, Taipei, Taiwan 10617, R.O.C. shhsieh@ce.ntu.edu.tw;

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

MockupScreens - User Guide

MockupScreens - User Guide MockupScreens - User Guide Contents 1. Overview...4 2. Getting Started...5 Installing the software... 5 Registering... 9 3. Understanding the Interface...11 Menu Bar... 11 Tool bar... 14 Elements... 14

More information

Exercises for Delphi Advanced Programming Technology (English Version)

Exercises for Delphi Advanced Programming Technology (English Version) Exercises for Delphi Advanced Programming Technology (English Version) School: School of Information Engineering Department: Department of Electronic and Information Engineering Author: Sun Zhaoyun Exercises

More information

PROGRAMMING LANGUAGE 2 (SPM3112) NOOR AZEAN ATAN MULTIMEDIA EDUCATIONAL DEPARTMENT UNIVERSITI TEKNOLOGI MALAYSIA

PROGRAMMING LANGUAGE 2 (SPM3112) NOOR AZEAN ATAN MULTIMEDIA EDUCATIONAL DEPARTMENT UNIVERSITI TEKNOLOGI MALAYSIA PROGRAMMING LANGUAGE 2 (SPM3112) INTRODUCTION TO VISUAL BASIC NOOR AZEAN ATAN MULTIMEDIA EDUCATIONAL DEPARTMENT UNIVERSITI TEKNOLOGI MALAYSIA Topics Visual Basic Components Basic Operation Screen Size

More information

GWXSlider ActiveX Control

GWXSlider ActiveX Control M-Graphics User s Manual 17-1 Chapter 17 GWXSlider ActiveX Control Introduction The GWXSlider ia an ActiveX control that can be inserted into the M-Graphics application to display and modify analog data.

More information

Adding Disclaimer Text Field to your Salesforce Org

Adding Disclaimer Text Field to your Salesforce Org Adding Disclaimer Text Field to your Salesforce Org Table of Contents 1 Introduction... 3 2 Add Disclaimer Text Field to goalgamipro Settings, Plan, and Report Page Layouts... 3 3 Make Sure Disclaimer

More information

Programming Training. This Week: Tkinter for GUI Interfaces. Some examples

Programming Training. This Week: Tkinter for GUI Interfaces. Some examples Programming Training This Week: Tkinter for GUI Interfaces Some examples Tkinter Overview Set of widgets designed by John K. Ousterhout, 1987 Tkinter == Tool Kit Interface Mean to be driven by Tcl (Toolkit

More information

Microsoft Windows 7 - Illustrated Unit A: Introducing Windows 7

Microsoft Windows 7 - Illustrated Unit A: Introducing Windows 7 Microsoft Windows 7 - Illustrated Unit A: Introducing Windows 7 Objectives Start Windows and view the desktop Use pointing devices Use the Start button Use the taskbar Work with windows 2 Objectives Use

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

Enterprise Architect. User Guide Series. Wireframe Models. Author: Sparx Systems Date: 15/07/2016 Version: 1.0 CREATED WITH

Enterprise Architect. User Guide Series. Wireframe Models. Author: Sparx Systems Date: 15/07/2016 Version: 1.0 CREATED WITH Enterprise Architect User Guide Series Wireframe Models Author: Sparx Systems Date: 15/07/2016 Version: 1.0 CREATED WITH Table of Contents Wireframe Models 3 Android Wireframe Toolbox 4 Apple iphone/tablet

More information

C# Continued. Learning Objectives:

C# Continued. Learning Objectives: Learning Objectives: C# Continued Open File Dialog and Save File Dialog File Input/Output Importing Pictures from Files and saving Bitmaps Reading and Writing Text Files Try and Catch Working with Strings

More information

Laboratorio di Ingegneria del Software

Laboratorio di Ingegneria del Software Laboratorio di Ingegneria del Software L-A Interfaccia utente System.Windows.Forms The System.Windows.Forms namespace contains classes for creating Windows-based applications The classes can be grouped

More information

Laboratorio di Ingegneria del L-A

Laboratorio di Ingegneria del L-A Software L-A Interfaccia utente System.Windows.Forms The System.Windows.Forms namespace contains classes for creating Windows-based applications The classes can be grouped into the following categories:

More information

1. What is the definition of a problem? 2. How to solve problems? 3. What is meant by Algorithm? 4. What is a Program testing? 5. What is Flowchart?

1. What is the definition of a problem? 2. How to solve problems? 3. What is meant by Algorithm? 4. What is a Program testing? 5. What is Flowchart? 1. What is the definition of a problem? 2. How to solve problems? 3. What is meant by Algorithm? 4. What is a Program testing? 5. What is Flowchart? 6. Define Visual Basic.NET? 7. Define programming language?

More information

Chapters are PDF documents posted online at the book s Companion Website (located at

Chapters are PDF documents posted online at the book s Companion Website (located at vbhtp6printonlytoc.fm Page ix Wednesday, February 27, 2013 11:59 AM Chapters 16 31 are PDF documents posted online at the book s Companion Website (located at www.pearsonhighered.com/deitel/). Preface

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

PowerBASIC Forms v2.0

PowerBASIC Forms v2.0 Copyright 2002-2017 by Drake Enterprises Ltd. All Rights Reserved. Table of contents Contents... 5 What's New... 5 What's New... 5 Users guide... 6 Introduction to PowerBASIC Forms... 6 Launching PowerBASIC

More information

Enterprise Architect. User Guide Series. Wireframe Models. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

Enterprise Architect. User Guide Series. Wireframe Models. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH Enterprise Architect User Guide Series Wireframe Models Author: Sparx Systems Date: 30/06/2017 Version: 1.0 CREATED WITH Table of Contents Wireframe Models 3 Android Wireframe Toolbox 4 Apple iphone/tablet

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

Index. AutoNumber data types, 154 6, 168 and Number data type, 181 AutoPostBack Property, 505, 511, 513 5, 527 8, AVG, 242, 247 8

Index. AutoNumber data types, 154 6, 168 and Number data type, 181 AutoPostBack Property, 505, 511, 513 5, 527 8, AVG, 242, 247 8 Index A Access queries, 10, 146, 191, 212, 220, 426 7 query design view, 403 types, 190, 236 table design, 141 tables, 10, 133, 136, 150, 426 Access Data Object, 136 7, 148 Access database, 136 8 table,

More information

UNIT Files. Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library).

UNIT Files. Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library). Basics of Language UNIT Files Basics of Language UNIT Files UNIT Files Procedure/Functionand Other Declarations (CONST, TYPE, VAR) can be stored under different Object Pascal Files (Library). You can reduce

More information

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at Contents Chapters 16 27 and Appendix F are PDF documents posted online at the book s Companion Website (located at www.pearsonhighered.com/deitel/). Preface Before You Begin xix xxix 1 Introduction to

More information

P3e REPORT WRITER CREATING A BLANK REPORT

P3e REPORT WRITER CREATING A BLANK REPORT P3e REPORT WRITER CREATING A BLANK REPORT 1. On the Reports window, select a report, then click Copy. 2. Click Paste. 3. Click Modify. 4. Click the New Report icon. The report will look like the following

More information

GraphWorX64 Productivity Tips

GraphWorX64 Productivity Tips Description: Overview of the most important productivity tools in GraphWorX64 General Requirement: Basic knowledge of GraphWorX64. Introduction GraphWorX64 has a very powerful development environment in

More information

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

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

More information

Quick Start guide. for windows and mac. creative learning tools. Kar2ouche Quick Start Guide Page 1

Quick Start guide. for windows and mac. creative learning tools. Kar2ouche Quick Start Guide Page 1 Quick Start guide for windows and mac creative learning tools Kar2ouche Quick Start Guide Page 1 Step 1: The Activity Screen Open a Kar2ouche title by double clicking on the icon on your desktop. You will

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

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN

C# 2008 and.net Programming for Electronic Engineers - Elektor - ISBN Contents Contents 5 About the Author 12 Introduction 13 Conventions used in this book 14 1 The Visual Studio C# Environment 15 1.1 Introduction 15 1.2 Obtaining the C# software 15 1.3 The Visual Studio

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

Program s UI or Keyboard buttons are shown bold. Working procedure and sequence explanation. 2 or more contents descriptions or explanations are

Program s UI or Keyboard buttons are shown bold. Working procedure and sequence explanation. 2 or more contents descriptions or explanations are User Manual Program UI Name Program s UI or Keyboard buttons are shown bold. Start installing OZ in Excel by clicking its install shield. When OZ in Excel install setup wizard shows up, click Next. Manual

More information

Anatomy of a Window (Windows 7, Office 2010)

Anatomy of a Window (Windows 7, Office 2010) Anatomy of a Window (Windows 7, Office 2010) Each window is made up of bars, ribbons, and buttons. They can be confusing because many of them are not marked clearly and rely only on a small symbol to indicate

More information