?? form2.frm
字號:
VERSION 5.00
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form Form2
Caption = "Form2"
ClientHeight = 4935
ClientLeft = 1260
ClientTop = 3285
ClientWidth = 7440
LinkTopic = "Form2"
ScaleHeight = 4935
ScaleWidth = 7440
Begin VB.CommandButton Command1
Caption = "退出"
Height = 435
Left = 6000
TabIndex = 1
Top = 4320
Width = 1035
End
Begin MSChart20Lib.MSChart MSChart1
Height = 4095
Left = 60
OleObjectBlob = "Form2.frx":0000
TabIndex = 0
Top = 60
Width = 7335
End
End
Attribute VB_Name = "Form2"
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()
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 firetemp from getdata", Cnxzy, adOpenKeyset ' 打開記錄集。
With MSChart1
.ShowLegend = True
Set .DataSource = Rsxzy
.Title.Text = " 火焰溫度 " '設置圖表名稱
.Title.VtFont.Effect = VtFontEffectUnderline '設置下劃線
.Title.VtFont.Size = 10 '設置字體大小
.Title.VtFont.VtColor.Set 255, 0, 255 '設置字體顏色
End With
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -