📄 team.vb
字号:
Imports System.Data
Imports System.Data.SqlClient
Imports System.IO
Public Class team
Inherits System.Windows.Forms.Form
Dim forward As Integer
Dim middle As Integer
Dim defence As Integer
Dim myconnection As SqlConnection = New _
SqlConnection("server=(local);database=footballplayer_change;" & _
"uid=sa;pwd=sa;")
Dim myadapter As SqlDataAdapter = New SqlDataAdapter("select * from buying", myconnection)
Dim myds As DataSet
Dim mydv As DataView
Dim mycurrencymanager As CurrencyManager
Dim button(19) As Object
Dim tempname As String
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写处置以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意:以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents Button5 As System.Windows.Forms.Button
Friend WithEvents Button6 As System.Windows.Forms.Button
Friend WithEvents Button7 As System.Windows.Forms.Button
Friend WithEvents Button8 As System.Windows.Forms.Button
Friend WithEvents Button9 As System.Windows.Forms.Button
Friend WithEvents Button10 As System.Windows.Forms.Button
Friend WithEvents Button11 As System.Windows.Forms.Button
Friend WithEvents Button12 As System.Windows.Forms.Button
Friend WithEvents Button13 As System.Windows.Forms.Button
Friend WithEvents Button14 As System.Windows.Forms.Button
Friend WithEvents Button15 As System.Windows.Forms.Button
Friend WithEvents Button16 As System.Windows.Forms.Button
Friend WithEvents Button17 As System.Windows.Forms.Button
Friend WithEvents Button18 As System.Windows.Forms.Button
Friend WithEvents dg1 As System.Windows.Forms.DataGrid
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(team))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.Button18 = New System.Windows.Forms.Button
Me.Button17 = New System.Windows.Forms.Button
Me.Button16 = New System.Windows.Forms.Button
Me.Button15 = New System.Windows.Forms.Button
Me.Button14 = New System.Windows.Forms.Button
Me.Button13 = New System.Windows.Forms.Button
Me.Button12 = New System.Windows.Forms.Button
Me.Button11 = New System.Windows.Forms.Button
Me.Button10 = New System.Windows.Forms.Button
Me.Button9 = New System.Windows.Forms.Button
Me.Button8 = New System.Windows.Forms.Button
Me.Button7 = New System.Windows.Forms.Button
Me.Button6 = New System.Windows.Forms.Button
Me.Button5 = New System.Windows.Forms.Button
Me.Button4 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.Button1 = New System.Windows.Forms.Button
Me.dg1 = New System.Windows.Forms.DataGrid
Me.GroupBox1.SuspendLayout()
CType(Me.dg1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.Button18)
Me.GroupBox1.Controls.Add(Me.Button17)
Me.GroupBox1.Controls.Add(Me.Button16)
Me.GroupBox1.Controls.Add(Me.Button15)
Me.GroupBox1.Controls.Add(Me.Button14)
Me.GroupBox1.Controls.Add(Me.Button13)
Me.GroupBox1.Controls.Add(Me.Button12)
Me.GroupBox1.Controls.Add(Me.Button11)
Me.GroupBox1.Controls.Add(Me.Button10)
Me.GroupBox1.Controls.Add(Me.Button9)
Me.GroupBox1.Controls.Add(Me.Button8)
Me.GroupBox1.Controls.Add(Me.Button7)
Me.GroupBox1.Controls.Add(Me.Button6)
Me.GroupBox1.Controls.Add(Me.Button5)
Me.GroupBox1.Controls.Add(Me.Button4)
Me.GroupBox1.Controls.Add(Me.Button3)
Me.GroupBox1.Controls.Add(Me.Button2)
Me.GroupBox1.Controls.Add(Me.Button1)
Me.GroupBox1.Location = New System.Drawing.Point(24, 24)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(280, 280)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "GroupBox1"
'
'Button18
'
Me.Button18.Location = New System.Drawing.Point(120, 256)
Me.Button18.Name = "Button18"
Me.Button18.Size = New System.Drawing.Size(40, 20)
Me.Button18.TabIndex = 17
'
'Button17
'
Me.Button17.Location = New System.Drawing.Point(220, 216)
Me.Button17.Name = "Button17"
Me.Button17.Size = New System.Drawing.Size(40, 20)
Me.Button17.TabIndex = 16
'
'Button16
'
Me.Button16.Location = New System.Drawing.Point(20, 216)
Me.Button16.Name = "Button16"
Me.Button16.Size = New System.Drawing.Size(40, 20)
Me.Button16.TabIndex = 15
'
'Button15
'
Me.Button15.Location = New System.Drawing.Point(160, 232)
Me.Button15.Name = "Button15"
Me.Button15.Size = New System.Drawing.Size(40, 20)
Me.Button15.TabIndex = 14
'
'Button14
'
Me.Button14.Location = New System.Drawing.Point(80, 232)
Me.Button14.Name = "Button14"
Me.Button14.Size = New System.Drawing.Size(40, 20)
Me.Button14.TabIndex = 13
'
'Button13
'
Me.Button13.Location = New System.Drawing.Point(120, 208)
Me.Button13.Name = "Button13"
Me.Button13.Size = New System.Drawing.Size(40, 20)
Me.Button13.TabIndex = 12
'
'Button12
'
Me.Button12.Location = New System.Drawing.Point(210, 160)
Me.Button12.Name = "Button12"
Me.Button12.Size = New System.Drawing.Size(40, 20)
Me.Button12.TabIndex = 11
'
'Button11
'
Me.Button11.Location = New System.Drawing.Point(120, 160)
Me.Button11.Name = "Button11"
Me.Button11.Size = New System.Drawing.Size(40, 20)
Me.Button11.TabIndex = 10
'
'Button10
'
Me.Button10.Location = New System.Drawing.Point(30, 160)
Me.Button10.Name = "Button10"
Me.Button10.Size = New System.Drawing.Size(40, 20)
Me.Button10.TabIndex = 9
'
'Button9
'
Me.Button9.Location = New System.Drawing.Point(210, 120)
Me.Button9.Name = "Button9"
Me.Button9.Size = New System.Drawing.Size(40, 20)
Me.Button9.TabIndex = 8
'
'Button8
'
Me.Button8.Location = New System.Drawing.Point(120, 120)
Me.Button8.Name = "Button8"
Me.Button8.Size = New System.Drawing.Size(40, 20)
Me.Button8.TabIndex = 7
'
'Button7
'
Me.Button7.Location = New System.Drawing.Point(30, 120)
Me.Button7.Name = "Button7"
Me.Button7.Size = New System.Drawing.Size(40, 20)
Me.Button7.TabIndex = 6
'
'Button6
'
Me.Button6.Location = New System.Drawing.Point(210, 80)
Me.Button6.Name = "Button6"
Me.Button6.Size = New System.Drawing.Size(40, 20)
Me.Button6.TabIndex = 5
'
'Button5
'
Me.Button5.Location = New System.Drawing.Point(30, 80)
Me.Button5.Name = "Button5"
Me.Button5.Size = New System.Drawing.Size(40, 20)
Me.Button5.TabIndex = 4
'
'Button4
'
Me.Button4.Location = New System.Drawing.Point(120, 80)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(40, 20)
Me.Button4.TabIndex = 3
'
'Button3
'
Me.Button3.Location = New System.Drawing.Point(210, 30)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(40, 20)
Me.Button3.TabIndex = 2
'
'Button2
'
Me.Button2.Location = New System.Drawing.Point(120, 30)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(40, 20)
Me.Button2.TabIndex = 1
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(30, 30)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(40, 20)
Me.Button1.TabIndex = 0
'
'dg1
'
Me.dg1.DataMember = ""
Me.dg1.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.dg1.Location = New System.Drawing.Point(312, 32)
Me.dg1.Name = "dg1"
Me.dg1.Size = New System.Drawing.Size(184, 272)
Me.dg1.TabIndex = 2
'
'team
'
Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -