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

📄 frmteach.frm

📁 这个代码却能真正教会电脑进行像人那样思考
💻 FRM
📖 第 1 页 / 共 2 页
字号:
         Caption         =   "is used to"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2880
         TabIndex        =   32
         Top             =   4320
         Width           =   975
      End
      Begin VB.Label Label9 
         BackStyle       =   0  'Transparent
         Caption         =   "causes the desire to"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2520
         TabIndex        =   30
         Top             =   3720
         Width           =   1815
      End
      Begin VB.Label Label8 
         BackStyle       =   0  'Transparent
         Caption         =   "is similar to"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2640
         TabIndex        =   28
         Top             =   2760
         Width           =   1215
      End
      Begin VB.Label Label7 
         BackStyle       =   0  'Transparent
         Caption         =   "is located at"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2640
         TabIndex        =   26
         Top             =   2160
         Width           =   1215
      End
      Begin VB.Label Label3 
         BackStyle       =   0  'Transparent
         Caption         =   "A"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   120
         TabIndex        =   24
         Top             =   960
         Width           =   255
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         Caption         =   "is a type of"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2040
         TabIndex        =   23
         Top             =   960
         Width           =   1095
      End
      Begin VB.Label Label4 
         BackStyle       =   0  'Transparent
         Caption         =   "is"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2040
         TabIndex        =   21
         Top             =   360
         Width           =   255
      End
      Begin VB.Label Label5 
         BackStyle       =   0  'Transparent
         Caption         =   "A"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   120
         TabIndex        =   19
         Top             =   360
         Width           =   255
      End
      Begin VB.Label Label6 
         BackStyle       =   0  'Transparent
         Caption         =   "has the purpose of"
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   9.75
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2040
         TabIndex        =   18
         Top             =   1560
         Width           =   1815
      End
   End
   Begin VB.Image Image1 
      Height          =   810
      Left            =   3240
      Picture         =   "frmTeach.frx":0442
      Stretch         =   -1  'True
      Top             =   0
      Width           =   4860
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Add Knowledge"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   18
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   360
      TabIndex        =   20
      Top             =   240
      Width           =   3015
   End
   Begin VB.Shape Shape1 
      FillColor       =   &H00FFFFFF&
      FillStyle       =   0  'Solid
      Height          =   975
      Left            =   0
      Top             =   0
      Width           =   9495
   End
End
Attribute VB_Name = "frmTeach"
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 cmdDesire_Click()
  Dim firstObject As String
  Dim secondObject As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtDesire1)
  secondObject = Trim(txtDesire2)
  
  If (firstObject <> "") And (secondObject <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "desire", "")
  End If
  
  Me.MousePointer = 0
End Sub

Private Sub cmdIs_Click()
  Dim firstObject As String
  Dim secondObject As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtIs1)
  secondObject = Trim(txtIs2)
  
  If (firstObject <> "") And (secondObject <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "is", "")
  End If
  
  Me.MousePointer = 0
End Sub

Private Sub cmdLocation_Click()
  Dim firstObject As String
  Dim secondObject As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtLocation1)
  secondObject = Trim(txtLocation2)
  
  If (firstObject <> "") And (secondObject <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "location", "")
  End If
  
  Me.MousePointer = 0
End Sub

Private Sub cmdPurpose_Click()
  Dim firstObject As String
  Dim secondObject As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtPurpose1)
  secondObject = Trim(txtPurpose2)
  
  If (firstObject <> "") And (secondObject <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "purpose", "")
  End If
  
  Me.MousePointer = 0
End Sub

Private Sub cmdSimilar_Click()
  Dim firstObject As String
  Dim secondObject As String
  Dim Reason As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtSimilar1)
  secondObject = Trim(txtSimilar2)
  Reason = Trim(txtSimilar3)
  
  If (firstObject <> "") And (secondObject <> "") And (Reason <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "similar", Reason)
  End If
  
  Me.MousePointer = 0
End Sub

Private Sub cmdTypeOf_Click()
  Dim firstObject As String
  Dim secondObject As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtTypeOf1)
  secondObject = Trim(txtTypeOf2)
  
  If (firstObject <> "") And (secondObject <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "typeof", "")
  End If
  
  Me.MousePointer = 0
End Sub

Private Sub cmdUsage_Click()
  Dim firstObject As String
  Dim secondObject As String

  Me.MousePointer = 11
  
  firstObject = Trim(txtUsage1)
  secondObject = Trim(txtUsage2)
  
  If (firstObject <> "") And (secondObject <> "") Then
    Call OM.OpenDatabase
    Call OM.ConnectObjects(firstObject, secondObject, "usage", "")
  End If
  
  Me.MousePointer = 0
End Sub

⌨️ 快捷键说明

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