ENGR/CS 101 CS Session Lecture 4
Log into Windows/ACENET (reboot if in
Linux)
Start Microsoft Visual Studio 2010 Any questions about exercise from last time?
Lecture 4 ENGR/CS 101 Computer Science Session 1
ENGR/CS 101 CS Session Lecture 4 Log into Windows/ACENET (reboot if - - PowerPoint PPT Presentation
ENGR/CS 101 CS Session Lecture 4 Log into Windows/ACENET (reboot if in Linux) Start Microsoft Visual Studio 2010 Any questions about exercise from last time? Lecture 4 ENGR/CS 101 Computer Science Session 1 Outline Problem: Use
Lecture 4 ENGR/CS 101 Computer Science Session 1
Forms, textboxes, buttons, labels
Properties Events and handlers
Lecture 4 ENGR/CS 101 Computer Science Session 2
Allow the user to enter a shift key letter in
Allow the user to enter a plaintext letter in
Have a button for the user to click to have the
Display the ciphertext letter
Lecture 4 ENGR/CS 101 Computer Science Session 3
Lecture 4 ENGR/CS 101 Computer Science Session 4
Lecture 4 ENGR/CS 101 Computer Science Session 5
Lecture 4 ENGR/CS 101 Computer Science Session 6
Lecture 4 ENGR/CS 101 Computer Science Session 7
Lecture 4 ENGR/CS 101 Computer Science Session 8
Lecture 4 ENGR/CS 101 Computer Science Session 9
Properties window
Lecture 4 ENGR/CS 101 Computer Science Session 10
E.g., Textbox, Button, Label
Lecture 4 ENGR/CS 101 Computer Science Session 11
Lecture 4 ENGR/CS 101 Computer Science Session 12
Toolbar tab GUI element
Lecture 4 ENGR/CS 101 Computer Science Session 13
Lecture 4 ENGR/CS 101 Computer Science Session 14
Lecture 4 ENGR/CS 101 Computer Science Session 15
For the Textboxes, change their Name property to
For the Button, change its Name to "encipher" and its
Change Font properties to the font and size of your
Lecture 4 ENGR/CS 101 Computer Science Session 16
Lecture 4 ENGR/CS 101 Computer Science Session 17
Mouse events include: Click, DoubleClick,
Keyboard events include: KeyPress
Lecture 4 ENGR/CS 101 Computer Science Session 18
Double-clicking on a form element in the GUI
It also creates a handler method stub for the most
When a user clicks the Encipher button, this handler
Lecture 4 ENGR/CS 101 Computer Science Session 19
Lecture 4 ENGR/CS 101 Computer Science Session 20
Event handler code goes here!
keyBox.Text plaintextBox.Text
Lecture 4 ENGR/CS 101 Computer Science Session 21
Lecture 4 ENGR/CS 101 Computer Science Session 22
Lecture 4 ENGR/CS 101 Computer Science Session 23
Lecture 4 ENGR/CS 101 Computer Science Session 24
Lecture 4 ENGR/CS 101 Computer Science Session 25