frmchu.frm

来自「简单库存管理系统」· FRM 代码 · 共 50 行

FRM
50
字号
VERSION 5.00
Begin VB.Form frmchu 
   BackColor       =   &H80000018&
   Caption         =   "数据初始化!!!"
   ClientHeight    =   1830
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5070
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   1830
   ScaleWidth      =   5070
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command1 
      Caption         =   "数据初始化!!!"
      Height          =   495
      Left            =   1320
      TabIndex        =   0
      Top             =   360
      Width           =   2055
   End
   Begin VB.Label Label1 
      BackColor       =   &H80000018&
      Caption         =   "利用此功能要特别注意,请先备份数据库!!!"
      Height          =   255
      Left            =   720
      TabIndex        =   1
      Top             =   1320
      Width           =   3495
   End
End
Attribute VB_Name = "frmchu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
On Error Resume Next
Call zdf
a = MsgBox("东信手机提醒你,真的要初始化数据吗?", vbQuestion + vbYesNo, "东信手机售后服务管理系统")
If a = vbYes Then
conn.Execute "delete from info"
Else
Exit Sub
MsgBox "东信手机提醒你", vbOKOnly, "东信手机售后服务管理系统"
End If

End Sub

⌨️ 快捷键说明

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