User interface and files

This assignment tests your ability to use VS.NET to layout the user interface for a program and your understanding of the relationship between the user interface and the .vb file.

You will develop a user interface for a simple message display program. Create a user interface like this one. (You do not have to develop a working version of the program, just the user interface).

When your user interface is exactly like mine (the textBox is 232 by 184 and the font size is 14), print it out to turn in.

Hint: To change the Height of a TextBox, you must first set the value of its Multiline property to true.

When you exit VS.NET, it will have created several files on your disk. Open the .vb file using the Notepad text editor. As you see, it has many lines of automatically generated Visual Basic source code. That is the code that creates objects and assigns their property values. Print the file and turn in along with the answers to the following questions:

  1. What is value of the height property of your "Display a Message" button?
  2. What is value of its width?
  3. How far from the top of the form is it?
  4. What is the unit of measure for these heights and widths?
  5. What is the value of the text property of the form?
Note that this assignment requires you to turn in answers to questions as well as the printouts. Your answers should be typed, and incomplete assignments will be returned without credit.

Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.