5、ivateSubOption2_Click()Text1.Font="楷体"EndSubPrivateSubOption3_Click()Text1.Font="黑体"EndSub五、Private Sub Command1_Click()Text1.Text = ""Text2.Text = ""End SubPrivate Sub Command2_Click()Select Case Val(Text1.Text) '直接根据Text1中用户输入的值来判断Case Is < 60Text2.Text = "不及格"Case 60 To 84Text2.Text = "
6、及格"Case 85 To 100Text2.Text = "优秀"End SelectEnd Sub六、注意:1.计时器的enabled为true2.Interval为500或者1000PrivateSubForm_Load()Label1.Caption=Date'显示当前日期Label2.Caption=Time'显示当前时间EndSubPrivateSubTimer1_Timer()Label1.Caption=Date'显示当前日期Label2.Caption=Time'显示当前时间EndSub七、PrivateSubCommand1_Click()Image3.Pict