SlideShare a Scribd company logo
Vp lecture 5 ararat
• PictureBox provides a rectangular region for an image.
• It supports many image formats.
• Allows you to include images on your form.
• Important Properties:
• Image (Browse to file)
• Location
• SizeMode
• Normal, StretchImage, AutoSize, CenterImage, Zoom
• BorderStyle
Example
presents an interface for date selection. It allows the
user to select a valid DateTime without much effort
on your part.
In this project
• Drag down a button (by clicking in the button a message will
show the date )
• Drag down a dateTimePicker (by double click in the
dateTimePicker you can change the date (year, month and day)
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show(dateTimePicker1.Text);
}
private void Form1_Load(object sender, EventArgs e)
{
dateTimePicker1.CustomFormat = "ddd,dd-MM-yy";
dateTimePicker1.Format = DateTimePickerFormat.Custom;
}
Any format
Example
dd,mm,yy
ddd-mmm-yyy
Vp lecture 5 ararat

More Related Content

Similar to Vp lecture 5 ararat (20)

PPTX
Visual basic
KavithaAlagumalai
 
PPTX
Visual Basic.pptx
KavithaAlagumalai
 
PDF
C++ Windows Forms L06 - Utlitity and Strings
Mohammad Shaker
 
PPTX
Picture box control
chauhankapil
 
PDF
Winforms
Girmachew Tilahun
 
PPT
Graphics
obrienduke
 
PPTX
Chapter ii c#(building a user interface)
Chhom Karath
 
PDF
Intake 38 9
Mahmoud Ouf
 
PDF
Introduction
شكسبير ويليام
 
DOCX
Visual C# 2010
Ali Mattash
 
PDF
C# Summer course - Lecture 2
mohamedsamyali
 
PDF
Intake 37 9
Mahmoud Ouf
 
PPTX
Sharbani bhattacharya VB Structures
Sharbani Bhattacharya
 
PDF
Solution Manual for Programming with Microsoft Visual Basic 2017 8th by Zak
albazegermai
 
DOCX
Maliram poonia project
Apex institute of engineering & technology
 
DOCX
Designing the application
Milind Mishra
 
DOCX
C++ program for TRAFFIC LIGHT
Milind Mishra
 
PDF
C++ Windows Forms L03 - Controls P2
Mohammad Shaker
 
PDF
Notes windows form controls gui applications
William Olivier
 
PPT
C# Tutorial MSM_Murach chapter-10-slides
Sami Mut
 
Visual basic
KavithaAlagumalai
 
Visual Basic.pptx
KavithaAlagumalai
 
C++ Windows Forms L06 - Utlitity and Strings
Mohammad Shaker
 
Picture box control
chauhankapil
 
Graphics
obrienduke
 
Chapter ii c#(building a user interface)
Chhom Karath
 
Intake 38 9
Mahmoud Ouf
 
Visual C# 2010
Ali Mattash
 
C# Summer course - Lecture 2
mohamedsamyali
 
Intake 37 9
Mahmoud Ouf
 
Sharbani bhattacharya VB Structures
Sharbani Bhattacharya
 
Solution Manual for Programming with Microsoft Visual Basic 2017 8th by Zak
albazegermai
 
Designing the application
Milind Mishra
 
C++ program for TRAFFIC LIGHT
Milind Mishra
 
C++ Windows Forms L03 - Controls P2
Mohammad Shaker
 
Notes windows form controls gui applications
William Olivier
 
C# Tutorial MSM_Murach chapter-10-slides
Sami Mut
 

More from Saman M. Almufti (20)

PPTX
Lecture 7- domain name
Saman M. Almufti
 
PPTX
Vp lecture 11 ararat
Saman M. Almufti
 
PPTX
Vp lecture 10 ararat
Saman M. Almufti
 
PPTX
Vp lecture 12 ararat
Saman M. Almufti
 
PPTX
Vp lecture 9 ararat
Saman M. Almufti
 
PPTX
Lecture 6- http
Saman M. Almufti
 
PPTX
Lecture 5- url-dns
Saman M. Almufti
 
PPTX
Vp lecture 7 ararat
Saman M. Almufti
 
PPTX
Lecture 4- ip
Saman M. Almufti
 
PPTX
Vp lecture 6 ararat
Saman M. Almufti
 
PPTX
Lecture 3- tcp-ip
Saman M. Almufti
 
PPTX
Vp lecture 4 ararat
Saman M. Almufti
 
PPTX
Vp lecture 3 ararat
Saman M. Almufti
 
PPTX
Lecture 2- terminology
Saman M. Almufti
 
PPTX
Vp lecture 2 ararat
Saman M. Almufti
 
PPTX
Vp lecture1 ararat
Saman M. Almufti
 
PPTX
Lecture 1- introduction
Saman M. Almufti
 
PPTX
Vs c# lecture12
Saman M. Almufti
 
PPTX
Vs c# lecture11
Saman M. Almufti
 
PPTX
Vs c# lecture10
Saman M. Almufti
 
Lecture 7- domain name
Saman M. Almufti
 
Vp lecture 11 ararat
Saman M. Almufti
 
Vp lecture 10 ararat
Saman M. Almufti
 
Vp lecture 12 ararat
Saman M. Almufti
 
Vp lecture 9 ararat
Saman M. Almufti
 
Lecture 6- http
Saman M. Almufti
 
Lecture 5- url-dns
Saman M. Almufti
 
Vp lecture 7 ararat
Saman M. Almufti
 
Lecture 4- ip
Saman M. Almufti
 
Vp lecture 6 ararat
Saman M. Almufti
 
Lecture 3- tcp-ip
Saman M. Almufti
 
Vp lecture 4 ararat
Saman M. Almufti
 
Vp lecture 3 ararat
Saman M. Almufti
 
Lecture 2- terminology
Saman M. Almufti
 
Vp lecture 2 ararat
Saman M. Almufti
 
Vp lecture1 ararat
Saman M. Almufti
 
Lecture 1- introduction
Saman M. Almufti
 
Vs c# lecture12
Saman M. Almufti
 
Vs c# lecture11
Saman M. Almufti
 
Vs c# lecture10
Saman M. Almufti
 
Ad

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Ad

Vp lecture 5 ararat

  • 2. • PictureBox provides a rectangular region for an image. • It supports many image formats. • Allows you to include images on your form. • Important Properties: • Image (Browse to file) • Location • SizeMode • Normal, StretchImage, AutoSize, CenterImage, Zoom • BorderStyle
  • 4. presents an interface for date selection. It allows the user to select a valid DateTime without much effort on your part.
  • 5. In this project • Drag down a button (by clicking in the button a message will show the date ) • Drag down a dateTimePicker (by double click in the dateTimePicker you can change the date (year, month and day) private void button1_Click(object sender, EventArgs e) { MessageBox.Show(dateTimePicker1.Text); }
  • 6. private void Form1_Load(object sender, EventArgs e) { dateTimePicker1.CustomFormat = "ddd,dd-MM-yy"; dateTimePicker1.Format = DateTimePickerFormat.Custom; } Any format Example dd,mm,yy ddd-mmm-yyy