Module 1 Window Forms – Basic, Grouping and Graphic controls 1.
4th Week - Forms and More Controls (Part 4)
-
Upload
yesi-diah-rosita -
Category
Documents
-
view
222 -
download
5
description
Transcript of 4th Week - Forms and More Controls (Part 4)
-
Information Technology, Engineering Faculty
UNIM
MaskedTextBox & Picture Button
Academic Year: 2014-2015
UNIM
(4th Week)
Forms & More Controls (Part 4)
-
MaskedTextBox (1)
Definition
Control provides restricted data input as well as formatte
d data output.
Fixed in length with a defined format, such as Social Secu
rity Numbers, phone numbers, zip codes; generally anythi
ng with a fixed number of digits and/or letters.
-
MaskedTextBox (2)
-
MaskedTextBox (3)
Can be found
-
MaskedTextBox (4)
Mask Property
-
MaskedTextBox (5)
Simple Program
-
MaskedTextBox (6)
Code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TryDim a As Stringa = MaskedTextBox1.TextMessageBox.Show("IP Anda " & a, "Report")
Catch ex As ExceptionMessageBox.Show(ex.Message)
End Try
End Sub
-
Button & ImageList (7)
Overview
How to add picture in button?
-
Button & ImageList (8)
Definition
ImageList is component stores a list of images.
-
Button & ImageList (9)
Common Property
ImageAlign
ImageIndex/Image Key Button
ImageList
ImageSize (ImageList)
-
Task
Design program sesederhana mungkin (user/ orang awam ti
dak merasa kesulitan)
Input
Tanggl Reg.
NIM
Nama
Prodi
Bayar
Output
Sesuai inputan berupa Textbox Multiline
-
Finish!