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

📄 病历-帮助.frm

📁 简易的病历管理 在VB6.0下编辑
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form3 
   Caption         =   "帮助系统"
   ClientHeight    =   6540
   ClientLeft      =   4050
   ClientTop       =   1500
   ClientWidth     =   6750
   Icon            =   "病历-帮助.frx":0000
   LinkTopic       =   "Form3"
   ScaleHeight     =   6540
   ScaleWidth      =   6750
   Begin VB.Frame Frame1 
      Caption         =   " 修改密码 "
      Height          =   2415
      Left            =   120
      TabIndex        =   0
      Top             =   3240
      Width           =   6495
      Begin VB.CommandButton Command3 
         Caption         =   "重置"
         Height          =   375
         Left            =   4680
         TabIndex        =   6
         Top             =   1140
         Width           =   1095
      End
      Begin VB.CommandButton Command2 
         Caption         =   "退出"
         Height          =   375
         Left            =   4680
         TabIndex        =   5
         Top             =   1800
         Width           =   1095
      End
      Begin VB.CommandButton Command1 
         Caption         =   "确定"
         Height          =   375
         Left            =   4680
         TabIndex        =   4
         Top             =   480
         Width           =   1095
      End
      Begin VB.TextBox Text3 
         Height          =   375
         IMEMode         =   3  'DISABLE
         Left            =   960
         PasswordChar    =   "#"
         TabIndex        =   3
         Top             =   1800
         Width           =   2895
      End
      Begin VB.TextBox Text2 
         Height          =   375
         IMEMode         =   3  'DISABLE
         Left            =   960
         PasswordChar    =   "#"
         TabIndex        =   2
         Top             =   1140
         Width           =   2895
      End
      Begin VB.TextBox Text1 
         Height          =   375
         IMEMode         =   3  'DISABLE
         Left            =   960
         PasswordChar    =   "#"
         TabIndex        =   1
         Top             =   480
         Width           =   2895
      End
      Begin VB.Label Label3 
         Caption         =   "请确认:"
         Height          =   255
         Left            =   120
         TabIndex        =   9
         Top             =   1920
         Width           =   735
      End
      Begin VB.Label Label2 
         Caption         =   "新密码:"
         Height          =   255
         Left            =   120
         TabIndex        =   8
         Top             =   1260
         Width           =   735
      End
      Begin VB.Label Label1 
         Caption         =   "原密码:"
         Height          =   255
         Left            =   120
         TabIndex        =   7
         Top             =   600
         Width           =   735
      End
   End
   Begin VB.Label Label5 
      Caption         =   "http://blog.sina.com.cn/qq1217"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00004000&
      Height          =   375
      Left            =   720
      MouseIcon       =   "病历-帮助.frx":F84A
      MousePointer    =   99  'Custom
      TabIndex        =   11
      Top             =   5880
      Width           =   5055
   End
   Begin VB.Label Label4 
      Height          =   2535
      Left            =   120
      TabIndex        =   10
      Top             =   120
      Width           =   6495
   End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
On Error GoTo errer
If Text1.Text <> frmLogin.Text1.Text Then
MsgBox "与原密码不符..请察正..", vbExclamation, "与原密码不符"
Else
If Text2.Text <> Text3.Text Then
MsgBox "两次密码输入不符..请察正..", vbExclamation, "密码不符"
Else
frmLogin.Adodc1.Recordset.MoveFirst
frmLogin.Adodc1.Recordset.AddNew
frmLogin.Text1.Text = Text3.Text
frmLogin.Adodc1.Recordset.UpdateBatch
MsgBox "修改成功..请牢记新密码..", , "成功"
Unload Me
End If
End If
Exit Sub
errer:
MsgBox "出错...请查正..", , "错误"
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Command3_Click()
Text1 = ""
Text2 = ""
Text3 = ""
End Sub

Private Sub Form_Load()
Label4.Caption = "注意:" & Chr(13) + Chr(13) & "1.ID项为系统自动编号.不必也不能修改.." & Chr(13) + Chr(13) & "2.入院时间格式为XXXX-XX-XX.." & Chr(13) + Chr(13) & "3.年龄输入框输入字符必须为数字" & Chr(13) + Chr(13) & "4.根目录下必须有一个" & "Database1.dat" & "的库文件..如果缺少..请与作者联系 " & Chr(13) + Chr(13) & "5.如有建议..欢迎指正..QQ:77423704 Email:jxwangchao@gmail.com"
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label5.ForeColor = &H4000&
End Sub

Private Sub Label5_Click()
Shell "explorer http://blog.sina.com.cn/qq1217"
End Sub

Private Sub Label5_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label5.ForeColor = &HFF&
End Sub

⌨️ 快捷键说明

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