AP Assignment 1 - Advanced Programming Assignment 1...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Advanced Programming Assignment 1 Professor: Dr. Balaji Janamanchi Course: MIS 5330 - Advanced Programming Student Name: Abhishek Umesh Student ID: A00089269 Date: 9/9/2010 Question 1: Create windows forms application in Visual Basic 2008 that displays a picture box and several other objects as shown in the figure below. Your form’s title bar should contain your name Answer 1: Public Class WindowsForm Private Sub RadioButton1_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged Me .BackColor = Color.LightGray() End Sub Private Sub TextBox1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged End Sub Private Sub RadioButton4_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton4.CheckedChanged Me .BackColor = Color.Magenta()
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
End Sub Private Sub RadioButton2_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged Me .BackColor = Color.Teal() End Sub Private Sub RadioButton3_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.CheckedChanged Me .BackColor = Color.Goldenrod() End
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 6

AP Assignment 1 - Advanced Programming Assignment 1...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online