📄 frmresult.vb
字号:
Option Strict Off
Option Explicit On
Friend Class frmResult
Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
Public Sub New()
MyBase.New()
If m_vb6FormDefInstance Is Nothing Then
If m_InitializingDefInstance Then
m_vb6FormDefInstance = Me
Else
Try
'对于启动窗体,所创建的第一个实例为默认实例。
If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
m_vb6FormDefInstance = Me
End If
Catch
End Try
End If
End If
'此调用是 Windows 窗体设计器所必需的。
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
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents CmdExit As System.Windows.Forms.Button
Public WithEvents txtPercent As System.Windows.Forms.TextBox
Public WithEvents txtTotal As System.Windows.Forms.TextBox
Public WithEvents txtO1 As System.Windows.Forms.TextBox
Public WithEvents txtO2 As System.Windows.Forms.TextBox
Public WithEvents txtS1 As System.Windows.Forms.TextBox
Public WithEvents txtS2 As System.Windows.Forms.TextBox
Public WithEvents lblPercent As System.Windows.Forms.Label
Public WithEvents lblTotal As System.Windows.Forms.Label
Public WithEvents lblO2 As System.Windows.Forms.Label
Public WithEvents lblO1 As System.Windows.Forms.Label
Public WithEvents lblObj As System.Windows.Forms.Label
Public WithEvents LlbS2 As System.Windows.Forms.Label
Public WithEvents LblS1 As System.Windows.Forms.Label
Public WithEvents lblSub As System.Windows.Forms.Label
Public WithEvents FrameResult As System.Windows.Forms.GroupBox
Public WithEvents LblTitle As System.Windows.Forms.Label
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器来修改它。
'不要使用代码编辑器修改它。
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmResult))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.ToolTip1.Active = True
Me.CmdExit = New System.Windows.Forms.Button
Me.FrameResult = New System.Windows.Forms.GroupBox
Me.txtPercent = New System.Windows.Forms.TextBox
Me.txtTotal = New System.Windows.Forms.TextBox
Me.txtO1 = New System.Windows.Forms.TextBox
Me.txtO2 = New System.Windows.Forms.TextBox
Me.txtS1 = New System.Windows.Forms.TextBox
Me.txtS2 = New System.Windows.Forms.TextBox
Me.lblPercent = New System.Windows.Forms.Label
Me.lblTotal = New System.Windows.Forms.Label
Me.lblO2 = New System.Windows.Forms.Label
Me.lblO1 = New System.Windows.Forms.Label
Me.lblObj = New System.Windows.Forms.Label
Me.LlbS2 = New System.Windows.Forms.Label
Me.LblS1 = New System.Windows.Forms.Label
Me.lblSub = New System.Windows.Forms.Label
Me.LblTitle = New System.Windows.Forms.Label
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
Me.ClientSize = New System.Drawing.Size(434, 337)
Me.Location = New System.Drawing.Point(0, -14)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.ShowInTaskbar = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ControlBox = True
Me.Enabled = True
Me.KeyPreview = False
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.HelpButton = False
Me.WindowState = System.Windows.Forms.FormWindowState.Normal
Me.Name = "frmResult"
Me.CmdExit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CmdExit.Text = "退出"
Me.CmdExit.Size = New System.Drawing.Size(65, 33)
Me.CmdExit.Location = New System.Drawing.Point(352, 296)
Me.CmdExit.TabIndex = 2
Me.CmdExit.BackColor = System.Drawing.SystemColors.Control
Me.CmdExit.CausesValidation = True
Me.CmdExit.Enabled = True
Me.CmdExit.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdExit.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdExit.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdExit.TabStop = True
Me.CmdExit.Name = "CmdExit"
Me.FrameResult.Size = New System.Drawing.Size(417, 225)
Me.FrameResult.Location = New System.Drawing.Point(8, 64)
Me.FrameResult.TabIndex = 1
Me.FrameResult.BackColor = System.Drawing.SystemColors.Control
Me.FrameResult.Enabled = True
Me.FrameResult.ForeColor = System.Drawing.SystemColors.ControlText
Me.FrameResult.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.FrameResult.Visible = True
Me.FrameResult.Name = "FrameResult"
Me.txtPercent.AutoSize = False
Me.txtPercent.Font = New System.Drawing.Font("黑体", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtPercent.ForeColor = System.Drawing.Color.Red
Me.txtPercent.Size = New System.Drawing.Size(113, 25)
Me.txtPercent.Location = New System.Drawing.Point(264, 168)
Me.txtPercent.TabIndex = 16
Me.txtPercent.AcceptsReturn = True
Me.txtPercent.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.txtPercent.BackColor = System.Drawing.SystemColors.Window
Me.txtPercent.CausesValidation = True
Me.txtPercent.Enabled = True
Me.txtPercent.HideSelection = True
Me.txtPercent.ReadOnly = False
Me.txtPercent.Maxlength = 0
Me.txtPercent.Cursor = System.Windows.Forms.Cursors.IBeam
Me.txtPercent.MultiLine = False
Me.txtPercent.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.txtPercent.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.txtPercent.TabStop = True
Me.txtPercent.Visible = True
Me.txtPercent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtPercent.Name = "txtPercent"
Me.txtTotal.AutoSize = False
Me.txtTotal.Font = New System.Drawing.Font("黑体", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtTotal.ForeColor = System.Drawing.Color.Red
Me.txtTotal.Size = New System.Drawing.Size(113, 25)
Me.txtTotal.Location = New System.Drawing.Point(88, 168)
Me.txtTotal.TabIndex = 14
Me.txtTotal.AcceptsReturn = True
Me.txtTotal.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.txtTotal.BackColor = System.Drawing.SystemColors.Window
Me.txtTotal.CausesValidation = True
Me.txtTotal.Enabled = True
Me.txtTotal.HideSelection = True
Me.txtTotal.ReadOnly = False
Me.txtTotal.Maxlength = 0
Me.txtTotal.Cursor = System.Windows.Forms.Cursors.IBeam
Me.txtTotal.MultiLine = False
Me.txtTotal.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.txtTotal.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.txtTotal.TabStop = True
Me.txtTotal.Visible = True
Me.txtTotal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtTotal.Name = "txtTotal"
Me.txtO1.AutoSize = False
Me.txtO1.Font = New System.Drawing.Font("黑体", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtO1.ForeColor = System.Drawing.Color.Red
Me.txtO1.Size = New System.Drawing.Size(113, 25)
Me.txtO1.Location = New System.Drawing.Point(88, 120)
Me.txtO1.TabIndex = 12
Me.txtO1.AcceptsReturn = True
Me.txtO1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.txtO1.BackColor = System.Drawing.SystemColors.Window
Me.txtO1.CausesValidation = True
Me.txtO1.Enabled = True
Me.txtO1.HideSelection = True
Me.txtO1.ReadOnly = False
Me.txtO1.Maxlength = 0
Me.txtO1.Cursor = System.Windows.Forms.Cursors.IBeam
Me.txtO1.MultiLine = False
Me.txtO1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.txtO1.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.txtO1.TabStop = True
Me.txtO1.Visible = True
Me.txtO1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtO1.Name = "txtO1"
Me.txtO2.AutoSize = False
Me.txtO2.Font = New System.Drawing.Font("黑体", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtO2.ForeColor = System.Drawing.Color.Red
Me.txtO2.Size = New System.Drawing.Size(113, 25)
Me.txtO2.Location = New System.Drawing.Point(264, 120)
Me.txtO2.TabIndex = 11
Me.txtO2.AcceptsReturn = True
Me.txtO2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.txtO2.BackColor = System.Drawing.SystemColors.Window
Me.txtO2.CausesValidation = True
Me.txtO2.Enabled = True
Me.txtO2.HideSelection = True
Me.txtO2.ReadOnly = False
Me.txtO2.Maxlength = 0
Me.txtO2.Cursor = System.Windows.Forms.Cursors.IBeam
Me.txtO2.MultiLine = False
Me.txtO2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.txtO2.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.txtO2.TabStop = True
Me.txtO2.Visible = True
Me.txtO2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtO2.Name = "txtO2"
Me.txtS1.AutoSize = False
Me.txtS1.Font = New System.Drawing.Font("黑体", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtS1.ForeColor = System.Drawing.Color.Red
Me.txtS1.Size = New System.Drawing.Size(113, 25)
Me.txtS1.Location = New System.Drawing.Point(88, 48)
Me.txtS1.TabIndex = 7
Me.txtS1.AcceptsReturn = True
Me.txtS1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.txtS1.BackColor = System.Drawing.SystemColors.Window
Me.txtS1.CausesValidation = True
Me.txtS1.Enabled = True
Me.txtS1.HideSelection = True
Me.txtS1.ReadOnly = False
Me.txtS1.Maxlength = 0
Me.txtS1.Cursor = System.Windows.Forms.Cursors.IBeam
Me.txtS1.MultiLine = False
Me.txtS1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.txtS1.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.txtS1.TabStop = True
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -