PictureBoxes A picture box displays an image. You can find it in toolbox, drag it in the form Images can be.bmp,.gif,.jpg, jpeg GIF and JPEG files are.

Slides:



Advertisements
Similar presentations
Vocabulary Interactive
Advertisements

FrontPage Express By John G. Summerville Ph.D.©, RN.
Surrey Libraries Computer Learning Centres Totally New to Computers Computer Basics March 2013 Teaching Script.
© by Pearson Education, Inc. All Rights Reserved. continued …
CIS101 Introduction to Computing Week 06. Agenda Your questions Resume project HTML Project Two This week online Next class.
Exercise 1 Checklist Dreamweaver - Local Root Folder –Make sure it is properly specified in Dreamweaver  Verify Otherwise can cause problems with local.
Mouse event handling Mouse events( delegates EventHandler, event arguments EventArgs) MouseEnter: raised if the mouse cursor enters the area of the control.
Click to add your Title Click to Write your name. Make sure it looks like this. Author: Nancy Power Point.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
PictureBox, Timer, Resources. Resources An easy and effective way to add pictures (photos, graphics) to your programs Using Resources guarantees that.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Adding Websites to a Folder  Putting sites into an already existing folder Putting sites into an already existing folder  Adding an image on the icon.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Click on the Insert tab at the top of the page.. The insert picture box will come up with your pictures that are on your computer. Choose the picture.
Unit E. Image Measurements The size of an image can be measured 2 ways: Dimensions: the height and width, measured in pixels. File Size: measured in Kilobytes.
IE 411/511: Visual Programming for Industrial Applications
Lecture 7: WinForms & Controls, Part MicrosoftIntroducing CS using.NETJ# in Visual Studio.NET Objectives “Visual Studio.NET ships with a wealth.
PowerPoint Tutorial. Basic Vocabulary ► Slide - Presentation - Slide layout – ► ► ► a single page in PowerPoint all the slides for a speech all the slides.
Getting a video from the Internet Getting a video from the Internet (1 of 9) 1. Click the Web toolbar button on the Standard toolbar. 1.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
The PictureBox Control Prefix Prefix – pic Image Property PictureBox Image Property – Changes the image or file that appears inside of the PictureBox SizeMode.
Visual Basic.NET BASICS Lesson 3 Events and Code.
Graphics in HTML. Graphics  Question: How does a web page include graphics?  Are the graphics included in the HTML file or separate files?
Microsoft Expression Web-Illustrated Unit E: Working with Pictures.
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
Chapter 2 – Introduction to the Visual Studio .NET IDE
COMPUTER PROGRAMMING I SUMMER 2011 Objective 8.02 Apply Procedures to Create Picture Boxes using Images. (5%)
Using PowerPoint. HOW TO INSERT A SHAPE  Find the task bar click on insert.  Click on shapes.  Find the shape you want and click on it.  A cross should.
Notes Chapter 10—Adding Graphics. There are two kinds of graphics on the Internet: those you can use on your own Web pages, and those you cannot.  Many.
How to Resize and Crop Pictures Easily in Microsoft Paint Ammar Rai ENGL 393.
Glogster: Create Virtual Posters Created by Russell Smith, Technology Facilitator, North Edgecombe High School.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Microsoft Visual Basic 2005 BASICS Lesson 3 Events and Code.
TURN YOUR POWERPOINT INTO A MOVIE USING PHOTOSTORY.
Know your computer Make a Folder Copy from Word to Composer Format the Font Change the Alignment Format the Background Format the Colors Insert a Picture.
1 Windows Forms II Chapter RadioButton / GroupBox Controls Used to solicit a multiple choice input. Radio buttons work as a group. Selecting one.
Microsoft PowerPoint 2010 for Microsoft Windows Basically it’s a computerised slide show!
If you don’t have Google Earth downloaded already, you can go to to get it.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 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.
PowerPoint Chapter 1 Creating and Editing a Presentation with Clip Art Discovering Computers & Microsoft Office 2010.
 You won’t write a single line of program code.  Instead, you’ll use visual programming techniques.  Visual Studio processes your actions (such as mouse.
Graphical User Interface Concepts - Part 1 Session 08 Mata kuliah: M0874 – Programming II Tahun: 2010.
PowerPoint Tutorial.
Save your modified slide as a JPEG picture: Click “File”
Chapter 2 – Introduction to the Visual Studio .NET IDE
Program and Graphical User Interface Design
Objective 8.02 Apply Procedures to Create Picture Boxes using Images.
Creating Power Point Presentations
Program and Graphical User Interface Design
worldsystembuilder.com/gceo
Chapter 2 – Introduction to the Visual Studio .NET IDE
Монголын ноосон бүтээгдэхүүн үйлдвэрлэгчдийн холбоо
How to Customize Your Teens in the Driver Seat Poster
Faded picture background with full-color overlay (Intermediate)
How to Customize Your Teens in the Driver Seat Poster
This template has been set up to print on A2 paper (but if you ‘print to fit’ on a printer with A4 paper it will print A4. Instructions of.
Microsoft PowerPoint 2016 for Microsoft Windows
How to Customize Your Teens in the Driver Seat Poster
Pictures with checkerboard shutter animation (Intermediate)
This template has been set up to print on A2 paper (but if you ‘print to fit’ on a printer with A4 paper it will print A4. Instructions of creating the.
Find a video that can be saved as an MP4
How To Make Pics Transparent
Insert a textbox To insert a new textbox, click on Insert on the top tool bar Look down the list and click on text box. Use your mouse to click once on.
1 4 7 This template has been set up to print on A2 paper (but if you ‘print to fit’ on a printer with A4 paper it will print A4. Instructions of creating.
1 4 7 This template has been set up to print on A2 paper (but if you ‘print to fit’ on a printer with A4 paper it will print A4. Instructions of creating.
Faded picture background with full-colour overlay (Intermediate)
Presentation transcript:

PictureBoxes A picture box displays an image. You can find it in toolbox, drag it in the form Images can be.bmp,.gif,.jpg, jpeg GIF and JPEG files are widely used image file format Properties Image: image to display in the picture box SizeMode:controls image sizing and positioning

SizeMode Normal: (default) puts image in top- left corner of picture box StretchImage:resizes image to fit in picture box CenterImage: puts image in middle AtuoSize: resizes picture box to hold image

Design GUI Design GUI that contains one PictureBox and three labels( labels show name of the images, set the anchor property of the PictureBox so that it resize when the form resize

Download three pictures if you have image files with you, you can use them If you don’t have any image file, download three images from internet Create a folder in you project folder, name the folder as image Save three image files in the image folder

MouseEnter, MouseLeave Write proper code so that When mouse enter the first label, the pictureBox will show the first picture When mouse enter the second label, it will show the second picture When mouse enter the third label, it will show the third label Read next slide for help

Set the image property To set the image property to an image file imagePictureBox->Image = Image::FromFile(String::Concat(Directory::GetCurr entDirectory(), S”\\image\\myboy.jpeg”) ; Where imagePictureBox is the name of control (The PictureBox) Directory::GetCurrentDirectory() retrieve the current directory name, ie. Where you create your project image is the folder I asked you to create and put your image files in it. Myboy.jpeg is example of image file name, you need to change to your image file names