⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmline.frm

📁 利用用余弦函数通过对变量X Y 轴的不同定义 制定出不同的函数图像
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmline 
   Caption         =   "输入参数"
   ClientHeight    =   8535
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   10350
   LinkTopic       =   "Form1"
   ScaleHeight     =   8535
   ScaleWidth      =   10350
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton cmddraw 
      Caption         =   "正弦曲线"
      Height          =   495
      Left            =   1320
      TabIndex        =   3
      Top             =   7680
      Width           =   1215
   End
   Begin VB.CommandButton cmdclear 
      Caption         =   "清屏"
      Height          =   495
      Left            =   4320
      TabIndex        =   2
      Top             =   7680
      Width           =   1215
   End
   Begin VB.CommandButton cmdend 
      Caption         =   "退出"
      Height          =   495
      Left            =   7800
      TabIndex        =   1
      Top             =   7800
      Width           =   1215
   End
   Begin VB.PictureBox pictdraw 
      Height          =   4815
      Left            =   1680
      ScaleHeight     =   4755
      ScaleWidth      =   7155
      TabIndex        =   0
      Top             =   1440
      Width           =   7215
   End
End
Attribute VB_Name = "frmline"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

 
Private Sub CmdDraw_Click()
    frminput.Show
End Sub
 
Private Sub CmdEnd_Click()
    End
End Sub
 
Private Sub CmdClear_Click()
    pictdraw.Cls
End Sub
 
Private Sub Form_Load()
 pictdraw.AutoRedraw = True
 pictdraw.ScaleWidth = 640
pictdraw.ScaleHeight = 480
 pictdraw.Line (0, 240)-(639, 240)
pictdraw.Line (315, 100)-(315, 380)
End Sub

⌨️ 快捷键说明

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