form1.vb
来自「vb 应用实例 简单应用 dddddddddddddddddddddddddd」· VB 代码 · 共 118 行
VB
118 行
Imports System.Security
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form "
Public Sub New()
MyBase.New()
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
Private components As System.ComponentModel.IContainer
Friend WithEvents groEventEntry As System.Windows.Forms.GroupBox
Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton
Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button4 As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.groEventEntry = New System.Windows.Forms.GroupBox()
Me.RadioButton3 = New System.Windows.Forms.RadioButton()
Me.RadioButton2 = New System.Windows.Forms.RadioButton()
Me.RadioButton1 = New System.Windows.Forms.RadioButton()
Me.Button1 = New System.Windows.Forms.Button()
Me.TextBox1 = New System.Windows.Forms.TextBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.Button2 = New System.Windows.Forms.Button()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.Button3 = New System.Windows.Forms.Button()
Me.Button4 = New System.Windows.Forms.Button()
Me.groEventEntry.SuspendLayout()
Me.SuspendLayout()
'
'groEventEntry
'
Me.groEventEntry.AccessibleDescription = "Event Log Entry type option box"
Me.groEventEntry.AccessibleName = "Log type Option Box"
Me.groEventEntry.Controls.AddRange(New System.Windows.Forms.Control() {Me.RadioButton3, Me.RadioButton2, Me.RadioButton1})
Me.groEventEntry.Location = New System.Drawing.Point(20, 24)
Me.groEventEntry.Name = "groEventEntry"
Me.groEventEntry.Size = New System.Drawing.Size(103, 96)
Me.groEventEntry.TabIndex = 6
Me.groEventEntry.TabStop = False
Me.groEventEntry.Text = "事件类型"
'
'RadioButton3
'
Me.RadioButton3.AccessibleDescription = ""
Me.RadioButton3.AccessibleName = ""
Me.RadioButton3.ImeMode = System.Windows.Forms.ImeMode.NoControl
Me.RadioButton3.Location = New System.Drawing.Point(20, 64)
Me.RadioButton3.Name = "RadioButton3"
Me.RadioButton3.Size = New System.Drawing.Size(62, 29)
Me.RadioButton3.TabIndex = 2
Me.RadioButton3.Text = "错误"
'
'RadioButton2
'
Me.RadioButton2.AccessibleDescription = ""
Me.RadioButton2.AccessibleName = ""
Me.RadioButton2.ImeMode = System.Windows.Forms.ImeMode.NoControl
Me.RadioButton2.Location = New System.Drawing.Point(20, 40)
Me.RadioButton2.Name = "RadioButton2"
Me.RadioButton2.Size = New System.Drawing.Size(62, 30)
Me.RadioButton2.TabIndex = 1
Me.RadioButton2.Text = "警告"
'
'RadioButton1
'
Me.RadioButton1.AccessibleDescription = ""
Me.RadioButton1.AccessibleName = ""
Me.RadioButton1.Checked = True
Me.RadioButton1.ImeMode = System.Windows.Forms.ImeMode.NoControl
Me.RadioButton1.Location = New System.Drawing.Point(20, 16)
Me.RadioButton1.Name = "RadioButton1"
Me.RadioButton1.Size = New System.Drawing.Size(62, 29)
Me.RadioButton1.TabIndex = 0
Me.RadioButton1.TabStop = True
Me.RadioButton1.Text = "信息"
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(297, 88)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(143, 24)
Me.Button1.TabIndex = 7
Me.Button1.Text = "写入
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?