📄 form5.vb
字号:
Public Class Form5
Inherits System.Windows.Forms.Form
Dim MoneyRs As ADODB.Recordset
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
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 Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox
Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents ComboBox6 As System.Windows.Forms.ComboBox
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents Label16 As System.Windows.Forms.Label
Friend WithEvents ComboBox7 As System.Windows.Forms.ComboBox
Friend WithEvents ComboBox8 As System.Windows.Forms.ComboBox
Friend WithEvents Label17 As System.Windows.Forms.Label
Friend WithEvents Label18 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form5))
Me.Label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.Label5 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.Button1 = New System.Windows.Forms.Button
Me.Label10 = New System.Windows.Forms.Label
Me.Label12 = New System.Windows.Forms.Label
Me.Button2 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.ComboBox2 = New System.Windows.Forms.ComboBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.ComboBox3 = New System.Windows.Forms.ComboBox
Me.Label9 = New System.Windows.Forms.Label
Me.Label11 = New System.Windows.Forms.Label
Me.ComboBox4 = New System.Windows.Forms.ComboBox
Me.ComboBox5 = New System.Windows.Forms.ComboBox
Me.Label13 = New System.Windows.Forms.Label
Me.Label14 = New System.Windows.Forms.Label
Me.ComboBox6 = New System.Windows.Forms.ComboBox
Me.Label15 = New System.Windows.Forms.Label
Me.Label16 = New System.Windows.Forms.Label
Me.ComboBox7 = New System.Windows.Forms.ComboBox
Me.ComboBox8 = New System.Windows.Forms.ComboBox
Me.Label17 = New System.Windows.Forms.Label
Me.Label18 = New System.Windows.Forms.Label
Me.SuspendLayout()
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.Location = New System.Drawing.Point(8, 16)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(184, 24)
Me.Label1.TabIndex = 0
Me.Label1.Text = "请选择需要统计的时间段:"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label2.Location = New System.Drawing.Point(24, 48)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(20, 19)
Me.Label2.TabIndex = 1
Me.Label2.Text = "从"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label3.Location = New System.Drawing.Point(24, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(20, 19)
Me.Label3.TabIndex = 3
Me.Label3.Text = "到"
'
'Label4
'
Me.Label4.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label4.Location = New System.Drawing.Point(0, 168)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(184, 24)
Me.Label4.TabIndex = 5
Me.Label4.Text = "请选择需要统计的年月:"
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'ComboBox1
'
Me.ComboBox1.Location = New System.Drawing.Point(256, 168)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(48, 20)
Me.ComboBox1.TabIndex = 6
'
'Label5
'
Me.Label5.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label5.Location = New System.Drawing.Point(40, 120)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(120, 23)
Me.Label5.TabIndex = 7
Me.Label5.Text = "本时间段总花费:"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label7
'
Me.Label7.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label7.ForeColor = System.Drawing.Color.Red
Me.Label7.Location = New System.Drawing.Point(168, 120)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(64, 24)
Me.Label7.TabIndex = 9
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Button1
'
Me.Button1.Image = CType(resources.GetObject("Button1.Image"), System.Drawing.Image)
Me.Button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button1.Location = New System.Drawing.Point(248, 120)
Me.Button1.Name = "Button1"
Me.Button1.TabIndex = 11
Me.Button1.Text = " 统 计"
'
'Label10
'
Me.Label10.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label10.ForeColor = System.Drawing.Color.Red
Me.Label10.Location = New System.Drawing.Point(136, 200)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(64, 24)
Me.Label10.TabIndex = 14
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label12
'
Me.Label12.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label12.Location = New System.Drawing.Point(32, 200)
Me.Label12.Name = "Label12"
Me.Label12.Size = New System.Drawing.Size(120, 23)
Me.Label12.TabIndex = 12
Me.Label12.Text = "本月总花费:"
Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Button2
'
Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Image)
Me.Button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button2.Location = New System.Drawing.Point(248, 224)
Me.Button2.Name = "Button2"
Me.Button2.TabIndex = 16
Me.Button2.Text = " 统 计"
'
'Button3
'
Me.Button3.Image = CType(resources.GetObject("Button3.Image"), System.Drawing.Image)
Me.Button3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.Button3.Location = New System.Drawing.Point(136, 272)
Me.Button3.Name = "Button3"
Me.Button3.TabIndex = 17
Me.Button3.Text = " 关 闭"
'
'ComboBox2
'
Me.ComboBox2.Location = New System.Drawing.Point(168, 168)
Me.ComboBox2.Name = "ComboBox2"
Me.ComboBox2.Size = New System.Drawing.Size(48, 20)
Me.ComboBox2.TabIndex = 18
Me.ComboBox2.Text = "2004"
'
'Label6
'
Me.Label6.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label6.Location = New System.Drawing.Point(224, 168)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(24, 23)
Me.Label6.TabIndex = 19
Me.Label6.Text = "年"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label8
'
Me.Label8.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label8.Location = New System.Drawing.Point(312, 168)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(24, 23)
Me.Label8.TabIndex = 20
Me.Label8.Text = "月"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'ComboBox3
'
Me.ComboBox3.Items.AddRange(New Object() {"2004", "2005"})
Me.ComboBox3.Location = New System.Drawing.Point(48, 48)
Me.ComboBox3.Name = "ComboBox3"
Me.ComboBox3.Size = New System.Drawing.Size(48, 20)
Me.ComboBox3.TabIndex = 21
Me.ComboBox3.Text = "2004"
'
'Label9
'
Me.Label9.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label9.Location = New System.Drawing.Point(184, 48)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(24, 23)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -