Professional Documents
Culture Documents
Basic Writing
Basic Writing
NET TECHNOLOGY
Planning:
1. Design the user interface – draw a sketch on the screens the user will see when running the
project. On the sketch, show the forms and all controls that you plan to use. Indicate the
names that you plan to give the form and each of objects on the form. Before proceed with
any more steps, consult with the user and make sure both of you agree on the look and feel
of the project.
2. Plan the properties – For each object, write down the properties that you plan to set or
change during the design of the form. Use OPS (Object-Property-Setting)
3. Plan the basic code (pseudo code) – Plan the procedure that will execute when the project
runs. Determine which event require action to be taken and make a step by step plan for
those actions. Use TOE (Task-Object-Event) or Table Procedure-Action/Pseudo code
Programming:
1. Define the user interface – create the forms and controls that you designed in the planning
stage
2. Set the properties – give each object name and define such attributes as the contents of a
label, size of text, and the word that appear on the top of button and in the form’s title bar.
3. Write the basic code – Use basic programming statements (called Basic Code) to carry out
the actions needed by our program.
Eg: btnHello.Hide()
frmMessage.Show()
Me.Close()
txtName.Focus()
1
3. Coding for the controls
With txtTitle
General Form:
.Visible=True
With ObjectName . ForeColor=Color.White
Statement .Focus()
End With End With
2
Example: Label:
lblMessage
Button:
Button: btnSpanish
btnEnglish
Button:
btnExit