📄 frmanalyse.frm
字号:
VERSION 5.00
Begin VB.Form frmAnalyse
Caption = "Analyse an English sentance"
ClientHeight = 6780
ClientLeft = 60
ClientTop = 345
ClientWidth = 8400
LinkTopic = "Form1"
ScaleHeight = 6780
ScaleWidth = 8400
StartUpPosition = 3 'Windows Default
Begin VB.Frame fraSentance
Height = 5655
Left = 120
TabIndex = 1
Top = 1080
Width = 8175
Begin VB.TextBox txtResult
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 4335
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 5
TabStop = 0 'False
Top = 1200
Width = 7455
End
Begin VB.CommandButton cmdAnalyse
Height = 375
Left = 7560
TabIndex = 4
Top = 480
Width = 375
End
Begin VB.TextBox txtSentance
Height = 375
Left = 120
TabIndex = 2
Text = "The swift brown fox jumped over the lazy dog"
Top = 480
Width = 7455
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "List of associated objects"
Height = 255
Left = 120
TabIndex = 6
Top = 960
Width = 2055
End
Begin VB.Label Label2
Caption = "Analyse the following sentance"
Height = 255
Left = 120
TabIndex = 3
Top = 240
Width = 3495
End
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Sentance Analysis"
BeginProperty Font
Name = "Arial"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 0
Top = 240
Width = 3015
End
Begin VB.Image Image1
Height = 810
Left = 3480
Picture = "frmAnalyse.frx":0000
Stretch = -1 'True
Top = 0
Width = 4860
End
Begin VB.Shape Shape1
FillColor = &H00FFFFFF&
FillStyle = 0 'Solid
Height = 975
Left = 0
Top = 0
Width = 9495
End
End
Attribute VB_Name = "frmAnalyse"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim OM As New ClassOpenMind
Private Sub cmdAnalyse_Click()
Me.MousePointer = 11
If (Trim(txtSentance) <> "") Then
Call OM.OpenDatabase
Call OM.ReadSentance(txtSentance)
txtResult = OM.getDiffused
End If
Me.MousePointer = 0
End Sub
Private Sub txtSentance_KeyPress(KeyAscii As Integer)
If (KeyAscii = 13) Then
Call cmdAnalyse_Click
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -