pexam11_8.frm

来自「深圳大学的vb上机与教学的课件」· FRM 代码 · 共 27 行

FRM
27
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "单击窗体绘制正弦曲线"
   ClientHeight    =   2070
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3690
   LinkTopic       =   "Form1"
   ScaleHeight     =   2070
   ScaleWidth      =   3690
   StartUpPosition =   3  '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
   Scale (0, 1)-(360, -1)
   DrawWidth = 2
   For x = 0 To 360
     y = 0.9 * Sin(x * 3.1415926 / 180)
     PSet (x, y), vbRed
   Next x
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?