Professional Documents
Culture Documents
TVL Comprog11 q3 m3
TVL Comprog11 q3 m3
TVL Comprog11 q3 m3
Technical Vocational
Livelihood
QUARTER
3 Computer Programming
Republic Act 8293, section 176 states that: No copyright shall subsist in
any work of the Government of the Philippines. However, prior approval of the
government agency or office wherein the work is created shall be necessary for
exploitation of such work for profit. Such agency or office may, among other things,
impose as a condition the payment of royalties.
Quarter 3
Self Learning Module 3
Visual Basic .Net
Windows Form Application
Writer: Jenessy Joy T. Pinga
Editors: Lerma Cantanero
Reviewers: Rowena O. Dimagiba
Introductory Message
Welcome to the Computer Programming for the ICT Module on Visual Basic .Net
Windows Form Application!
This module was collaboratively designed, developed and reviewed by educators from
Schools Division Office of Pasig City headed by its Officer-In-Charge Schools Division
Superintendent, Ma. Evalou Concepcion A. Agustin in partnership with the Local
Government of Pasig through its mayor, Honorable Victor Ma. Regis N. Sotto.
The writers utilized the standards set by the K to 12 Curriculum using the Most
Essential Learning Competencies (MELC) while overcoming their personal, social,
and economic constraints in schooling.
This learning material hopes to engage the learners into guided and independent
learning activities at their own pace and time. Further, this also aims to help learners
acquire the needed 21st century skills especially the 5 Cs namely: Communication,
Collaboration, Creativity, Critical Thinking and Character while taking into
consideration their needs and circumstances.
In addition to the material in the main text, you will also see this box in the body of
the module:
As a facilitator you are expected to orient the learners on how to use this module.
You also need to keep track of the learners' progress while allowing them to manage
their own learning. Moreover, you are expected to encourage and assist the learners
as they do the tasks included in the module.
For the learner:
Welcome to the Computer Programming for the ICT Module on Visual Basic .Net
Windows Form Application!
The hand is one of the most symbolized part of the human body. It is often used to
depict skill, action and purpose. Through our hands we may learn, create and
accomplish. Hence, the hand in this learning resource signifies that you as a learner
is capable and empowered to successfully achieve the relevant competencies and
skills at your own pace and time. Your academic success lies in your own hands!
This module was designed to provide you with fun and meaningful opportunities for
guided and independent learning at your own pace and time. You will be enabled to
process the contents of the learning material while being an active learner.
Lesson- This section will discuss the topic for this module.
Post-test - This will measure how much you have learned from
the entire module. Ito po ang parts ng module.
EXPECTATION
PRE–TEST
2. This is your primary work area located at the center of the window
screen.
A. toolbar
B. menu bar
C. tool box
D. form designer
5. Windows that gives you tree-structured view of all the windows files in
the application.
A. Solution Explorer
B. Properties Windows
C. tool bar
D. form designer
RECAP
Module 2 discussed what elements and fundamentals of programming, now
in your own understanding, summarized the lesson you have learned in the form of
paragraph.
___________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
LESSON
Controls
A control is a programming entity that has a graphical component. It is
about everything elese that you can see and interact in a windows form. It is
providing information and possibly allowing the user to manipulate it.
Every Visual Basic control consists of three important elements;
• Properties which describe the object,
• Methods cause an object to do something and
• Events are what happens when an object does something.
Control Properties
All the Visual Basic Objects can be moved, resized or customized by setting
their properties. A property is a value or characteristic held by a Visual Basic
object, such as Caption or Fore Color.
Properties can be set at design time by using the Properties window or at
run time by using statements in the program code, example;
Object. Property = Value
Form1.Caption = "Hello"
Object is the name of the object you're customizing.
Property is the characteristic you want to change.
Value is the new property setting.
Control Methods
Control Method
It is a procedure created as a member of a class and they cause an object to
do something. Methods are used to access or manipulate the characteristics of an
object or a variable. There are mainly two categories of methods you will use in
your classes.
• If you are using a control such as one of those provided by the
Toolbox, you can call any of its public methods. The requirements of
such a method depend on the class being used.
• If none of the existing methods can perform your desired task, you
can add a method to a class.
For example, the MessageBox control has a method named Show.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Handles Button1.Click
MessageBox.Show("Hello, World")
End Sub
End Class
Control Events
An event is a signal that informs an application that something important
has occurred. For example, when a user clicks a control on a form, the form can
raise a Click event and call a procedure that handles the event. There are various
types of events associated with a Form like click, double click, close, load, resize,
etc.
Following is the default structure of a form Load event handler subroutine.
You can see this code by double clicking the code which will give you a complete
list of the all events associated with Form control.
ACTIVITIES
1. Control
2. Method
3. Event
4. Properties
5. form
Needs Score
Very Good Good
improvement
Knowledge
Does your response clearly
show you have read and
understand the lesson content 5 3 1
by correctly defining key terms,
key persons and
summarizing concepts?
Analysis
Have you clearly stated
analysis and give examples to
back them up? 5 3 1
Does your response provide
analysis to the larger concepts
of the lesson?
Total /10
WRAP–UP
• Tool box
• Properties Windows
• Solution Explorer
• Form Designer
• Toolbar
• Menu bar
Rubrics:
Needs Score
Very Good Good
improvement
Knowledge
Does your response clearly
show you have read and
understand the lesson content 5 3 2
by correctly defining key terms,
key persons and
summarizing concepts?
Analysis
Have you clearly stated
analysis and give examples to
back them up? 5 3 2
Does your response provide
analysis to the larger concepts
of the lesson?
Total /10
VALUING
2. How will you use the knowledge you acquired in this module?
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
POST TEST
Instruction: Select the letter that corresponds to the correct answer.
5. It is where you can design the user interface of your application. A user
interface is what you see and interact with when running the program.
A. toolbar
B. menu bar
C. tool box
D. form designer
KEY TO CORRECTION
A 5. D 5.
B 4. A 4.
C 3. D 3.
D 2. C 2.
B 1. B 1.
Pre-test: Post-test:
REFERENCES
• Accessed November 9, 2020 3:00pm
https://www.tutlane.com/tutorial/visual-basic
• Accessed November 9, 2020 4:30pm https://www.tutorialspoint.com/vb.net
• Accessed November 9, 2020 5:00pm
https://mytechnicalarticles.files.wordpress.com/2013/03/unit-2.pdf
• Computer Programming Volume I by Innovative Training Works, Inc.
• Computer Programming Volume II by Innovative Training Works, Inc.