📄 frmhuajia.vb
字号:
Public Class frmHuaJia
Inherits System.Windows.Forms.Form
Private dtDetail As DataTable
Private iCurrentLine As Integer = -1
#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 GroupBox1 As System.Windows.Forms.GroupBox
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 dgdList As System.Windows.Forms.DataGrid
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents txbName As System.Windows.Forms.TextBox
Friend WithEvents txbSex As System.Windows.Forms.TextBox
Friend WithEvents grbtwo As System.Windows.Forms.GroupBox
Friend WithEvents txbMoney As System.Windows.Forms.TextBox
Friend WithEvents cbbDoctor As System.Windows.Forms.ComboBox
Friend WithEvents cbbRoom As System.Windows.Forms.ComboBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents txbPY As System.Windows.Forms.TextBox
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents btnDel As System.Windows.Forms.Button
Friend WithEvents btnSave As System.Windows.Forms.Button
Friend WithEvents btnAdd As System.Windows.Forms.Button
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents btnOpen As System.Windows.Forms.Button
Friend WithEvents txbId As System.Windows.Forms.TextBox
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents txbMXId As System.Windows.Forms.TextBox
Friend WithEvents txbPrice As System.Windows.Forms.TextBox
Friend WithEvents txbUnit As System.Windows.Forms.TextBox
Friend WithEvents txbGuiGe As System.Windows.Forms.TextBox
Friend WithEvents txbMName As System.Windows.Forms.TextBox
Friend WithEvents txbMMoney As System.Windows.Forms.TextBox
Friend WithEvents txbNumber As System.Windows.Forms.TextBox
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents btnInsert As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmHuaJia))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.btnOpen = New System.Windows.Forms.Button
Me.btnCancel = New System.Windows.Forms.Button
Me.btnInsert = New System.Windows.Forms.Button
Me.txbMoney = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.cbbDoctor = New System.Windows.Forms.ComboBox
Me.Label5 = New System.Windows.Forms.Label
Me.cbbRoom = New System.Windows.Forms.ComboBox
Me.Label4 = New System.Windows.Forms.Label
Me.txbId = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.txbName = New System.Windows.Forms.TextBox
Me.txbSex = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.grbtwo = New System.Windows.Forms.GroupBox
Me.Label15 = New System.Windows.Forms.Label
Me.txbMXId = New System.Windows.Forms.TextBox
Me.Label14 = New System.Windows.Forms.Label
Me.btnDel = New System.Windows.Forms.Button
Me.btnSave = New System.Windows.Forms.Button
Me.btnAdd = New System.Windows.Forms.Button
Me.Label13 = New System.Windows.Forms.Label
Me.txbPrice = New System.Windows.Forms.TextBox
Me.Label12 = New System.Windows.Forms.Label
Me.txbUnit = New System.Windows.Forms.TextBox
Me.Label11 = New System.Windows.Forms.Label
Me.txbGuiGe = New System.Windows.Forms.TextBox
Me.Label10 = New System.Windows.Forms.Label
Me.txbMName = New System.Windows.Forms.TextBox
Me.Label9 = New System.Windows.Forms.Label
Me.txbMMoney = New System.Windows.Forms.TextBox
Me.Label8 = New System.Windows.Forms.Label
Me.txbNumber = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.txbPY = New System.Windows.Forms.TextBox
Me.dgdList = New System.Windows.Forms.DataGrid
Me.GroupBox1.SuspendLayout()
Me.grbtwo.SuspendLayout()
CType(Me.dgdList, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.GroupBox1.Controls.Add(Me.btnOpen)
Me.GroupBox1.Controls.Add(Me.btnCancel)
Me.GroupBox1.Controls.Add(Me.btnInsert)
Me.GroupBox1.Controls.Add(Me.txbMoney)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.cbbDoctor)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.cbbRoom)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.txbId)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.txbName)
Me.GroupBox1.Controls.Add(Me.txbSex)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(608, 96)
Me.GroupBox1.TabIndex = 16
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "门诊划价"
'
'btnOpen
'
Me.btnOpen.Image = CType(resources.GetObject("btnOpen.Image"), System.Drawing.Image)
Me.btnOpen.Location = New System.Drawing.Point(168, 16)
Me.btnOpen.Name = "btnOpen"
Me.btnOpen.Size = New System.Drawing.Size(24, 23)
Me.btnOpen.TabIndex = 34
'
'btnCancel
'
Me.btnCancel.Location = New System.Drawing.Point(536, 50)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(40, 23)
Me.btnCancel.TabIndex = 33
Me.btnCancel.Text = "取消"
'
'btnInsert
'
Me.btnInsert.Location = New System.Drawing.Point(536, 15)
Me.btnInsert.Name = "btnInsert"
Me.btnInsert.Size = New System.Drawing.Size(40, 23)
Me.btnInsert.TabIndex = 32
Me.btnInsert.Text = "保存"
'
'txbMoney
'
Me.txbMoney.Location = New System.Drawing.Point(424, 51)
Me.txbMoney.Name = "txbMoney"
Me.txbMoney.ReadOnly = True
Me.txbMoney.Size = New System.Drawing.Size(87, 21)
Me.txbMoney.TabIndex = 30
Me.txbMoney.Text = ""
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(368, 57)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(56, 15)
Me.Label6.TabIndex = 31
Me.Label6.Text = "金额合计"
'
'cbbDoctor
'
Me.cbbDoctor.Location = New System.Drawing.Point(240, 51)
Me.cbbDoctor.Name = "cbbDoctor"
Me.cbbDoctor.Size = New System.Drawing.Size(104, 20)
Me.cbbDoctor.TabIndex = 29
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(208, 57)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(32, 15)
Me.Label5.TabIndex = 28
Me.Label5.Text = "医生"
'
'cbbRoom
'
Me.cbbRoom.Location = New System.Drawing.Point(72, 51)
Me.cbbRoom.Name = "cbbRoom"
Me.cbbRoom.Size = New System.Drawing.Size(88, 20)
Me.cbbRoom.TabIndex = 27
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(16, 57)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(56, 15)
Me.Label4.TabIndex = 26
Me.Label4.Text = "科 室"
'
'txbId
'
Me.txbId.Location = New System.Drawing.Point(72, 16)
Me.txbId.Name = "txbId"
Me.txbId.Size = New System.Drawing.Size(87, 21)
Me.txbId.TabIndex = 7
Me.txbId.Text = ""
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 21)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(56, 15)
Me.Label1.TabIndex = 8
Me.Label1.Text = "划价编号"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(208, 21)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(32, 15)
Me.Label2.TabIndex = 9
Me.Label2.Text = "姓名"
'
'txbName
'
Me.txbName.Location = New System.Drawing.Point(240, 16)
Me.txbName.Name = "txbName"
Me.txbName.ReadOnly = True
Me.txbName.Size = New System.Drawing.Size(104, 21)
Me.txbName.TabIndex = 11
Me.txbName.Text = ""
'
'txbSex
'
Me.txbSex.Location = New System.Drawing.Point(424, 16)
Me.txbSex.Name = "txbSex"
Me.txbSex.ReadOnly = True
Me.txbSex.Size = New System.Drawing.Size(87, 21)
Me.txbSex.TabIndex = 12
Me.txbSex.Text = ""
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(368, 21)
Me.Label3.Name = "Label3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -