?? form3.frm
字號(hào):
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form Form3
Caption = "Form3"
ClientHeight = 5040
ClientLeft = 2535
ClientTop = 2430
ClientWidth = 7440
LinkTopic = "Form3"
ScaleHeight = 5040
ScaleWidth = 7440
Begin VB.CommandButton Command1
Caption = "退出"
Height = 435
Left = 6060
TabIndex = 1
Top = 4560
Width = 1035
End
Begin MSChart20Lib.MSChart MSChart1
Height = 4275
Left = 60
OleObjectBlob = "Form3.frx":0000
TabIndex = 0
Top = 60
Width = 7395
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Cnxzy As New ADODB.Connection
Dim Rsxzy As New ADODB.Recordset
Private Sub Command1_Click()
Unload Me
Form1.Show
End Sub
Private Sub Form_Load()
'Dim strQuery As String ' 定義SQL 查詢字符串。
'Set Cnxzy = New Connection
strcn = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False" & ";Data Source=" + App.Path + "\xzy.mdb"
Cnxzy.ConnectionString = strcn
Cnxzy.Open
Rsxzy.Open "SELECT headtemp from getdata", Cnxzy, adOpenKeyset ' 打開記錄集。
With MSChart1
.ShowLegend = True
Set .DataSource = Rsxzy
.Title.Text = " 窯頭溫度 " '設(shè)置圖表名稱
.Title.VtFont.Effect = VtFontEffectUnderline '設(shè)置下劃線
.Title.VtFont.Size = 10 '設(shè)置字體大小
.Title.VtFont.VtColor.Set 255, 0, 255 '設(shè)置字體顏色
End With
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -