SSD04 Exercise03 个人解答

Take Assessment: Exercise 3


Please answer the following question(s).
If the assessment includes multiple-choice questions, click the "Submit Answers" button when you have completed those questions.


1.
Go to bottom of question.

Using Labels, Lines, and Images

Description

This exercise is to create a small Visual Basic interface (a Visual Basic form ) like the one shown below.  This form will have three label controls and an image.  The top label should display the current date (as returned by the Visual Basic Date function) in large red letters. The top label should also be centered in the form.  The second label shoud be used to create a line--the label's height should be 1 pixel and its BackColor property should be the color black.  The second label's caption content should be fixed. The label should also use the same size and color font as the first label.  The image to be used for the Time zone map at the bottom of the interface can be found here: time_zone_map_small.gif .


 

Resources

  • An executable like the application you are asked to create, click Ex3 .exe . (From Internet Explorer, select the "Run this program" option of the "File download" dialog box that appears—from Netscape, save and double-click the file Ex3.exe.)
  • Hint: all form components are initialized in the New() subroutine, which called when your form is first loaded using a call to InitializeComponent() . Immediatly after that call would be a good place to determine the date and arrange for the first label control to display it.  This location is noted by the comment "Add any initialization after the InitializeComponent() call" (the comment is added to the code automatically by the Windows Form Designer)
  • Hint: a Visual Basic date value can be converted into a string using the CStr() function.

Submission

Submit the following files:
  • A project archive named Exercise3.zip
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值