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

📄 form15.frm

📁 此为库存管理系统!使用了VB开发工具开发
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form15 
   BackColor       =   &H00808080&
   Caption         =   "编辑客户信息"
   ClientHeight    =   5085
   ClientLeft      =   60
   ClientTop       =   420
   ClientWidth     =   6720
   LinkTopic       =   "Form15"
   ScaleHeight     =   5085
   ScaleMode       =   0  'User
   ScaleWidth      =   6720
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command3 
      BackColor       =   &H00808080&
      Caption         =   "修改"
      Height          =   375
      Left            =   2640
      Style           =   1  'Graphical
      TabIndex        =   16
      Top             =   4440
      Width           =   1095
   End
   Begin VB.TextBox Text6 
      Height          =   375
      Left            =   1680
      TabIndex        =   15
      Top             =   240
      Width           =   975
   End
   Begin VB.CommandButton Command2 
      BackColor       =   &H00808080&
      Caption         =   "取消"
      Height          =   375
      Left            =   4440
      Style           =   1  'Graphical
      TabIndex        =   13
      Top             =   4440
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00808080&
      Caption         =   "添加"
      Height          =   375
      Left            =   840
      Style           =   1  'Graphical
      TabIndex        =   12
      Top             =   4440
      Width           =   1095
   End
   Begin VB.TextBox Text5 
      Height          =   390
      Left            =   1680
      TabIndex        =   11
      Top             =   3600
      Width           =   1335
   End
   Begin VB.TextBox Text4 
      Height          =   375
      Left            =   1680
      TabIndex        =   10
      Top             =   3000
      Width           =   1335
   End
   Begin VB.TextBox Text3 
      Height          =   375
      Left            =   1680
      TabIndex        =   9
      Top             =   2400
      Width           =   4695
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   4800
      TabIndex        =   8
      Top             =   1560
      Width           =   1575
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      ItemData        =   "Form15.frx":0000
      Left            =   1680
      List            =   "Form15.frx":000A
      TabIndex        =   6
      Top             =   1680
      Width           =   1455
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   1680
      TabIndex        =   5
      Top             =   840
      Width           =   4695
   End
   Begin VB.Label Label7 
      BackColor       =   &H00808080&
      Caption         =   "客户编号:"
      Height          =   375
      Left            =   360
      TabIndex        =   14
      Top             =   240
      Width           =   1095
   End
   Begin VB.Label Label6 
      BackColor       =   &H00808080&
      Caption         =   "联系人:"
      Height          =   375
      Left            =   3360
      TabIndex        =   7
      Top             =   1680
      Width           =   1215
   End
   Begin VB.Label Label5 
      BackColor       =   &H00808080&
      Caption         =   "邮政编码:"
      Height          =   375
      Left            =   360
      TabIndex        =   4
      Top             =   3720
      Width           =   975
   End
   Begin VB.Label Label4 
      BackColor       =   &H00808080&
      Caption         =   "联系电话:"
      Height          =   375
      Left            =   360
      TabIndex        =   3
      Top             =   3000
      Width           =   975
   End
   Begin VB.Label Label3 
      BackColor       =   &H00808080&
      Caption         =   "通信地址:"
      Height          =   375
      Left            =   360
      TabIndex        =   2
      Top             =   2400
      Width           =   1095
   End
   Begin VB.Label Label2 
      BackColor       =   &H00808080&
      Caption         =   "客户类型:"
      Height          =   375
      Left            =   360
      TabIndex        =   1
      Top             =   1680
      Width           =   1095
   End
   Begin VB.Label Label1 
      BackColor       =   &H00808080&
      Caption         =   "客户名称:"
      Height          =   375
      Left            =   360
      TabIndex        =   0
      Top             =   960
      Width           =   1095
   End
End
Attribute VB_Name = "Form15"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
rsuser.AddNew
 rsuser.Fields(0).Value = Form15.Text6.Text
 rsuser.Fields(1).Value = Form15.Text1.Text
 rsuser.Fields(2).Value = Form15.Combo1.Text
 rsuser.Fields(3).Value = Form15.Text2.Text
 rsuser.Fields(4).Value = Form15.Text3.Text
 rsuser.Fields(5).Value = Form15.Text4.Text
 rsuser.Fields(6).Value = Form15.Text5.Text
 rsuser.update
 Form14.DataGrid1.Refresh
 Form15.Hide
 
End Sub

Private Sub Command2_Click()
Form15.Hide
End Sub

Private Sub Command3_Click()
 rsuser.Fields(0).Value = Form15.Text6.Text
 rsuser.Fields(1).Value = Form15.Text1.Text
 rsuser.Fields(2).Value = Form15.Combo1.Text
 rsuser.Fields(3).Value = Form15.Text2.Text
 rsuser.Fields(4).Value = Form15.Text3.Text
 rsuser.Fields(5).Value = Form15.Text4.Text
 rsuser.Fields(6).Value = Form15.Text5.Text
 rsuser.update
 Form14.DataGrid1.Refresh
 Form15.Hide
End Sub

⌨️ 快捷键说明

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