📄 addnouveau.frm
字号:
VERSION 5.00
Begin VB.Form Addnouveau
BorderStyle = 1 'Fixed Single
Caption = "Ajouter nouveau"
ClientHeight = 3300
ClientLeft = 45
ClientTop = 330
ClientWidth = 4245
DrawMode = 15 'Merge Pen Not
FillStyle = 6 'Cross
FontTransparent = 0 'False
ForeColor = &H80000010&
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "Addnouveau.frx":0000
ScaleHeight = 3300
ScaleWidth = 4245
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "Cancel"
Height = 375
Left = 2400
TabIndex = 14
Top = 2760
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "Add"
Height = 375
Left = 240
TabIndex = 13
Top = 2760
Width = 1575
End
Begin VB.Frame Frame1
Caption = "Player"
Height = 2415
Left = 240
TabIndex = 0
Top = 240
Width = 3735
Begin VB.TextBox Text6
Height = 285
Left = 1560
TabIndex = 12
Top = 2040
Width = 2055
End
Begin VB.TextBox Text5
Height = 285
Left = 1560
TabIndex = 10
Top = 1680
Width = 2055
End
Begin VB.TextBox Text4
Height = 285
Left = 1560
TabIndex = 8
Top = 1320
Width = 2055
End
Begin VB.TextBox Text3
Height = 285
Left = 1560
TabIndex = 6
Top = 960
Width = 2055
End
Begin VB.TextBox Text2
Height = 285
Left = 1560
TabIndex = 4
Top = 600
Width = 2055
End
Begin VB.TextBox Text1
Height = 285
Left = 1560
TabIndex = 2
Top = 240
Width = 2055
End
Begin VB.Label Label6
Caption = "Enter Sponsor:"
Height = 255
Left = 120
TabIndex = 11
Top = 2040
Width = 1215
End
Begin VB.Label Label5
Caption = "Enter Rank:"
Height = 255
Left = 120
TabIndex = 9
Top = 1680
Width = 1215
End
Begin VB.Label Label4
Caption = "Enter Nationality:"
Height = 255
Left = 120
TabIndex = 7
Top = 1320
Width = 1215
End
Begin VB.Label Label3
Caption = "Enter Sexe:"
Height = 255
Left = 120
TabIndex = 5
Top = 960
Width = 1215
End
Begin VB.Label Label2
Caption = "Enter Surname:"
Height = 255
Left = 120
TabIndex = 3
Top = 600
Width = 1215
End
Begin VB.Label Label1
Caption = "Enter name :"
Height = 255
Left = 120
TabIndex = 1
Top = 240
Width = 1215
End
End
End
Attribute VB_Name = "Addnouveau"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
MsgBox "player added", 48, "info"
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim connstring As String
Dim rs As Connection
connstring = "Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;Data Source=tennis.mdb"
Set rs = New ADODB.Connection
rs.Open (connstring)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -