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

📄 frmself.frm

📁 自动售药系统
💻 FRM
📖 第 1 页 / 共 2 页
字号:
      TabIndex        =   4
      Text            =   "frmSelf.frx":A22A
      Top             =   2040
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H00E0E0E0&
      BorderStyle     =   0  'None
      Height          =   495
      Index           =   2
      Left            =   8760
      MultiLine       =   -1  'True
      TabIndex        =   3
      Text            =   "frmSelf.frx":A230
      Top             =   2040
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H00E0E0E0&
      BorderStyle     =   0  'None
      Height          =   495
      Index           =   3
      Left            =   11040
      MultiLine       =   -1  'True
      TabIndex        =   2
      Text            =   "frmSelf.frx":A236
      Top             =   2040
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H00E0E0E0&
      BorderStyle     =   0  'None
      Height          =   495
      Index           =   4
      Left            =   13320
      MultiLine       =   -1  'True
      TabIndex        =   1
      Text            =   "frmSelf.frx":A23C
      Top             =   2040
      Width           =   1095
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   24
      Left            =   4200
      Stretch         =   -1  'True
      Top             =   7200
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   23
      Left            =   6480
      Stretch         =   -1  'True
      Top             =   7200
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   22
      Left            =   8760
      Stretch         =   -1  'True
      Top             =   7200
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   21
      Left            =   11040
      Stretch         =   -1  'True
      Top             =   7200
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   20
      Left            =   13320
      Stretch         =   -1  'True
      Top             =   7200
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   19
      Left            =   13320
      Stretch         =   -1  'True
      Top             =   5760
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   18
      Left            =   11040
      Stretch         =   -1  'True
      Top             =   5760
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   17
      Left            =   8760
      Stretch         =   -1  'True
      Top             =   5760
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   16
      Left            =   6480
      Stretch         =   -1  'True
      Top             =   5760
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   15
      Left            =   4200
      Stretch         =   -1  'True
      Top             =   5760
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   14
      Left            =   13320
      Stretch         =   -1  'True
      Top             =   4320
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   13
      Left            =   11040
      Stretch         =   -1  'True
      Top             =   4320
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   12
      Left            =   8760
      Stretch         =   -1  'True
      Top             =   4320
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   11
      Left            =   6480
      Stretch         =   -1  'True
      Top             =   4320
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   10
      Left            =   4200
      Stretch         =   -1  'True
      Top             =   4320
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   9
      Left            =   13320
      Stretch         =   -1  'True
      Top             =   2880
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   8
      Left            =   11040
      Stretch         =   -1  'True
      Top             =   2880
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   7
      Left            =   8760
      Stretch         =   -1  'True
      Top             =   2880
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   6
      Left            =   6480
      Stretch         =   -1  'True
      Top             =   2880
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   5
      Left            =   4200
      Stretch         =   -1  'True
      Top             =   2880
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   0
      Left            =   4200
      Stretch         =   -1  'True
      Top             =   1440
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   1
      Left            =   6480
      Stretch         =   -1  'True
      Top             =   1440
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   2
      Left            =   8760
      Stretch         =   -1  'True
      Top             =   1440
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   3
      Left            =   11040
      Stretch         =   -1  'True
      Top             =   1440
      Width           =   735
   End
   Begin VB.Image Image1 
      Height          =   495
      Index           =   4
      Left            =   13320
      Stretch         =   -1  'True
      Top             =   1440
      Width           =   735
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Height          =   495
      Left            =   600
      TabIndex        =   0
      Top             =   2280
      Width           =   975
   End
End
Attribute VB_Name = "frmSelf"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
'Dim j As Integer
'For j = 0 To 27 Step 1
'Image1(j).Picture = LoadPicture(App.Path & "\6.gif")
'
'Next

   Genie.Show
    Genie.Think "您有点小问题吗?"
    Genie.Speak "请选择你所要查询的问题,本咨询服务仅供参考", ""
closepic
Dim rs As New ADODB.Recordset
Dim m As Integer


Dim j As Integer
j = 1

 rs.Source = "select top 25 * from SymptomCD"
 rs.ActiveConnection = Constr
 rs.Open
 'If rs.EOF Then rs.Cose: Exit Sub
    While Not rs.EOF
           
       
        Image1(j - 1).Picture = LoadPicture(App.Path & "\7.gif")
         Image1(j - 1).Visible = True
       
       ' If Picture1.Picture = 0 Then Exit Sub
      '  Image1(j - 1).Picture = LoadPicture(load_pic(rs!Name))
           Text1(j - 1).Text = rs!Name '& rs!autoprice & "元/" & rs!unit
           Text1(j - 1).Tag = rs!Code
           Text1(j - 1).Visible = True
         j = j + 1
        ' Kill MediaTemp
         rs.MoveNext
        
    Wend
   rs.Close
End Sub

Private Sub Image1_Click(Index As Integer)
frmSelfDetail.ID = Text1(Index).Tag
frmSelfDetail.Show (1)
End Sub

Private Sub Label1_Click()
Unload Me
End Sub
Function closepic()
Dim p As Integer
For p = 0 To 24 Step 1
Image1(p).Visible = False
Text1(p).Visible = False
Next
End Function

⌨️ 快捷键说明

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