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

📄 form2.frm

📁 AT指令编辑计算机跟手机通讯
💻 FRM
字号:
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form Form2 
   Caption         =   "分析图象"
   ClientHeight    =   5730
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5835
   LinkTopic       =   "Form2"
   ScaleHeight     =   5730
   ScaleWidth      =   5835
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Caption         =   "画图"
      Height          =   375
      Left            =   240
      TabIndex        =   2
      Top             =   1440
      Width           =   855
   End
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   500
      Left            =   240
      Top             =   240
   End
   Begin VB.CommandButton Command1 
      Caption         =   "退   出"
      Height          =   375
      Left            =   240
      TabIndex        =   1
      Top             =   2160
      Width           =   855
   End
   Begin MSChart20Lib.MSChart MSChart1 
      Height          =   5655
      Left            =   0
      OleObjectBlob   =   "Form2.frx":0000
      TabIndex        =   0
      ToolTipText     =   "环境数据采集图线"
      Top             =   0
      Width           =   5775
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub

Private Sub Command2_Click()
Dim fso As New FileSystemObject, fil As File, ts As TextStream, s As String
Dim arrPrices(1 To 10) As Integer
Dim i As Integer
fil = fso.GetFile("D:\test.txt")
ts = fil.OpenAsTextStream(ForReading)
s = ts.readline
For i = 10 To 100 Step 10
  arrPrices(i) = Mid(s, i / 10, 2)
  Time.Enabled = True
Next i
MSChart1.ChartData = arrPrices
End Sub

Private Sub MSChart1_OLEStartDrag(Data As MSChart20Lib.DataObject, AllowedEffects As Long)





⌨️ 快捷键说明

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