📄 会员管理.frm
字号:
Width = 540
End
End
Begin VB.Frame Frame4
Caption = "会员信息"
Height = 2055
Left = -74880
TabIndex = 21
Top = 360
Width = 6615
Begin MSDataGridLib.DataGrid DataGrid2
Height = 1695
Left = 120
TabIndex = 22
Top = 240
Width = 6375
_ExtentX = 11245
_ExtentY = 2990
_Version = 393216
HeadLines = 1
RowHeight = 15
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
End
Begin VB.Frame Frame3
Caption = "详细信息"
Height = 1215
Left = 120
TabIndex = 9
Top = 3000
Width = 6615
Begin VB.TextBox Text6
DataField = "备注"
DataSource = "Adodc1"
Height = 285
Left = 5040
TabIndex = 20
Text = "Text6"
Top = 720
Width = 1455
End
Begin VB.TextBox Text5
DataField = "卡价格"
DataSource = "Adodc1"
Height = 285
Left = 5040
TabIndex = 19
Text = "Text5"
Top = 240
Width = 1455
End
Begin VB.TextBox Text4
DataField = "折扣率"
DataSource = "Adodc1"
Height = 285
Left = 960
TabIndex = 17
Text = "Text4"
Top = 720
Width = 495
End
Begin VB.TextBox Text3
DataField = "会员卡类型名称"
DataSource = "Adodc1"
Height = 285
Left = 2880
TabIndex = 16
Text = "Text3"
Top = 240
Width = 1335
End
Begin VB.TextBox Text1
DataField = "会员卡类型编号"
DataSource = "Adodc1"
Height = 285
Left = 720
TabIndex = 15
Text = "Text1"
Top = 240
Width = 1095
End
Begin VB.Label Label8
Caption = "%"
Height = 255
Left = 1560
TabIndex = 18
Top = 840
Width = 255
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "备注:"
Height = 195
Left = 4440
TabIndex = 14
Top = 840
Width = 540
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "折扣率:"
Height = 195
Left = 240
TabIndex = 13
Top = 840
Width = 720
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "售价:"
Height = 195
Left = 4500
TabIndex = 12
Top = 360
Width = 540
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "名称:"
Height = 195
Left = 2340
TabIndex = 11
Top = 360
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "编号:"
Height = 195
Left = 240
TabIndex = 10
Top = 360
Width = 540
End
End
Begin VB.Frame Frame2
Caption = "会员类别"
Height = 2415
Left = 120
TabIndex = 7
Top = 480
Width = 6615
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 840
Top = 1800
Width = 4575
_ExtentX = 8070
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = $"会员管理.frx":0054
OLEDBString = $"会员管理.frx":00F0
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from 会员卡"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "会员管理.frx":018C
Height = 1935
Left = 120
TabIndex = 8
Top = 360
Width = 6375
_ExtentX = 11245
_ExtentY = 3413
_Version = 393216
HeadLines = 1
RowHeight = 15
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
End
End
End
Attribute VB_Name = "HYGL"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.AddNew
End Sub
Private Sub Command2_Click()
Adodc1.Recordset.Delete
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.UpdateBatch
End Sub
Private Sub Command4_Click()
Adodc1.Recordset.Cancel
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub Form_Load()
Adodc1.ConnectionString = dbConn.ConnectionString
Adodc1.RecordSource = "会员卡"
Adodc1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -