📄 frmaccidentadd.vb
字号:
Public Class Frmaccidentadd
Inherits System.Windows.Forms.Form
Private Sub setall1()
Txtaccidentname.Enabled = True
Cbaccidenttype.Enabled = True
Txtaccidentaddr.Enabled = True
Txtbegintime.Enabled = True
Txtlasttime.Enabled = True
Txthurtnumber.Enabled = True
Txtdeadnumber.Enabled = True
Txtcost.Enabled = True
Txtapplytime.Enabled = True
Txtapplycompany.Enabled = True
Txtapplycompanyphone.Enabled = True
Txtmodifytime.Enabled = True
Txtmodifycompany.Enabled = True
Txtmodifycompanyphone.Enabled = True
Txtadditional.Enabled = True
End Sub
Private Sub setall2()
Txtaccidentname.Enabled = False
Cbaccidenttype.Enabled = False
Txtaccidentaddr.Enabled = False
Txtbegintime.Enabled = False
Txtlasttime.Enabled = False
Txthurtnumber.Enabled = False
Txtdeadnumber.Enabled = False
Txtcost.Enabled = False
Txtapplytime.Enabled = False
Txtapplycompany.Enabled = False
Txtapplycompanyphone.Enabled = False
Txtmodifytime.Enabled = False
Txtmodifycompany.Enabled = False
Txtmodifycompanyphone.Enabled = False
Txtadditional.Enabled = False
End Sub
#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 Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
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 Label14 As System.Windows.Forms.Label
Friend WithEvents Txtaccidentname As System.Windows.Forms.TextBox
Friend WithEvents Txtbegintime As System.Windows.Forms.TextBox
Friend WithEvents Txtlasttime As System.Windows.Forms.TextBox
Friend WithEvents Txtaccidentaddr As System.Windows.Forms.TextBox
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents Txthurtnumber As System.Windows.Forms.TextBox
Friend WithEvents Txtdeadnumber As System.Windows.Forms.TextBox
Friend WithEvents Txtcost As System.Windows.Forms.TextBox
Friend WithEvents Txtapplytime As System.Windows.Forms.TextBox
Friend WithEvents Txtapplycompany As System.Windows.Forms.TextBox
Friend WithEvents Txtadditional As System.Windows.Forms.TextBox
Friend WithEvents Cbaccidenttype As System.Windows.Forms.ComboBox
Friend WithEvents Btadd As System.Windows.Forms.Button
Friend WithEvents Btrefresh As System.Windows.Forms.Button
Friend WithEvents Btexitaddaccident As System.Windows.Forms.Button
Friend WithEvents OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter
Friend WithEvents OleDbSelectCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbInsertCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbUpdateCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbDeleteCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection
Friend WithEvents Txtmodifytime As System.Windows.Forms.TextBox
Friend WithEvents Txtmodifycompany As System.Windows.Forms.TextBox
Friend WithEvents Txtmodifycompanyphone As System.Windows.Forms.TextBox
Friend WithEvents Txtapplycompanyphone As System.Windows.Forms.TextBox
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents Txtbianhao As System.Windows.Forms.TextBox
Friend WithEvents DataSet21 As 应急信息管理系统界面.DataSet2
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Txtaccidentname = New System.Windows.Forms.TextBox()
Me.Cbaccidenttype = New System.Windows.Forms.ComboBox()
Me.Txtbegintime = New System.Windows.Forms.TextBox()
Me.Txtlasttime = New System.Windows.Forms.TextBox()
Me.Txtaccidentaddr = New System.Windows.Forms.TextBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.Label9 = New System.Windows.Forms.Label()
Me.Label10 = New System.Windows.Forms.Label()
Me.Txthurtnumber = New System.Windows.Forms.TextBox()
Me.Txtdeadnumber = New System.Windows.Forms.TextBox()
Me.Txtcost = New System.Windows.Forms.TextBox()
Me.Txtapplytime = New System.Windows.Forms.TextBox()
Me.Txtapplycompany = New System.Windows.Forms.TextBox()
Me.Label11 = New System.Windows.Forms.Label()
Me.Label12 = New System.Windows.Forms.Label()
Me.Label13 = New System.Windows.Forms.Label()
Me.Label14 = New System.Windows.Forms.Label()
Me.Txtapplycompanyphone = New System.Windows.Forms.TextBox()
Me.Txtmodifytime = New System.Windows.Forms.TextBox()
Me.Txtmodifycompany = New System.Windows.Forms.TextBox()
Me.Txtmodifycompanyphone = New System.Windows.Forms.TextBox()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Txtadditional = New System.Windows.Forms.TextBox()
Me.Btadd = New System.Windows.Forms.Button()
Me.Btrefresh = New System.Windows.Forms.Button()
Me.Btexitaddaccident = New System.Windows.Forms.Button()
Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapter()
Me.OleDbDeleteCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbConnection1 = New System.Data.OleDb.OleDbConnection()
Me.OleDbInsertCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbSelectCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbUpdateCommand1 = New System.Data.OleDb.OleDbCommand()
Me.Label15 = New System.Windows.Forms.Label()
Me.Txtbianhao = New System.Windows.Forms.TextBox()
Me.DataSet21 = New 应急信息管理系统界面.DataSet2()
Me.GroupBox1.SuspendLayout()
CType(Me.DataSet21, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(32, 40)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(104, 23)
Me.Label2.TabIndex = 1
Me.Label2.Text = "突发事件名称:"
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(32, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(48, 23)
Me.Label3.TabIndex = 2
Me.Label3.Text = "类别:"
'
'Label4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -