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

📄 formhuowumanger.frm

📁 上学时写的一个进销存管理软件
💻 FRM
字号:
VERSION 5.00
Object = "{00028C01-0000-0000-0000-000000000046}#1.0#0"; "DBGRID32.OCX"
Begin VB.Form FormHuowumanger 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "货物管理"
   ClientHeight    =   4875
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4755
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4875
   ScaleWidth      =   4755
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.TextBox Text2 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1320
      TabIndex        =   4
      Top             =   720
      Width           =   2055
   End
   Begin VB.TextBox Text1 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1320
      TabIndex        =   2
      Top             =   240
      Width           =   2055
   End
   Begin VB.CommandButton Command 
      Caption         =   "前一个(&P)"
      Height          =   375
      Index           =   1
      Left            =   3600
      TabIndex        =   9
      Top             =   2160
      Width           =   975
   End
   Begin VB.CommandButton Command 
      Caption         =   "下一个(&N)"
      Height          =   375
      Index           =   2
      Left            =   3600
      TabIndex        =   10
      Top             =   2640
      Width           =   975
   End
   Begin VB.CommandButton Command 
      Caption         =   "更新(&U)"
      Height          =   375
      Index           =   6
      Left            =   3600
      TabIndex        =   8
      Top             =   1680
      Width           =   975
   End
   Begin VB.CommandButton Command 
      Caption         =   "添加(&A)"
      Height          =   375
      Index           =   3
      Left            =   3600
      TabIndex        =   5
      Top             =   240
      Width           =   975
   End
   Begin VB.CommandButton Command 
      Caption         =   "删除(&D)"
      Height          =   375
      Index           =   4
      Left            =   3600
      TabIndex        =   6
      Top             =   720
      Width           =   975
   End
   Begin VB.CommandButton Command 
      Caption         =   "编辑(&E)"
      Height          =   375
      Index           =   5
      Left            =   3600
      TabIndex        =   7
      Top             =   1200
      Width           =   975
   End
   Begin VB.Data data1 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   240
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   0
      Visible         =   0   'False
      Width           =   1980
   End
   Begin VB.CommandButton Command1 
      Caption         =   "退出(&Q)"
      Height          =   375
      Left            =   3600
      TabIndex        =   0
      Top             =   4320
      Width           =   975
   End
   Begin MSDBGrid.DBGrid DBGrid1 
      Bindings        =   "FormHuowumanger.frx":0000
      Height          =   3375
      Left            =   240
      OleObjectBlob   =   "FormHuowumanger.frx":0014
      TabIndex        =   11
      Top             =   1320
      Width           =   3135
   End
   Begin VB.Label Label1 
      Caption         =   "货物名"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   360
      TabIndex        =   1
      Top             =   240
      Width           =   855
   End
   Begin VB.Label Label2 
      Caption         =   "现有数量"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   120
      TabIndex        =   3
      Top             =   720
      Width           =   1335
   End
End
Attribute VB_Name = "FormHuowumanger"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command_Click(Index As Integer)
Module2.HuoWuManger (Index)
Select Case Index
Case 1 To 2
Command(6).Enabled = False
Case 3
Command(6).Enabled = True
Case 5
Command(6).Enabled = True
End Select
End Sub

Private Sub Command1_Click()
Unload Me
End Sub

Private Sub Form_Load()
Module2.Initformhuowumanger
End Sub

⌨️ 快捷键说明

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