fmbasedlg.vb

来自「用vb.net写的基于c/s结构的进销存程序设计源代码」· VB 代码 · 共 77 行

VB
77
字号
Public Class fmBaseDlg
    Inherits System.Windows.Forms.Form

#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 窗体设计器修改此过程。
    '不要使用代码编辑器修改它。
    Public WithEvents bnOk As System.Windows.Forms.Button
    Public WithEvents bnCancel As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.bnOk = New System.Windows.Forms.Button()
        Me.bnCancel = New System.Windows.Forms.Button()
        Me.SuspendLayout()
        '
        'bnOk
        '
        Me.bnOk.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.bnOk.Location = New System.Drawing.Point(480, 16)
        Me.bnOk.Name = "bnOk"
        Me.bnOk.Size = New System.Drawing.Size(72, 32)
        Me.bnOk.TabIndex = 0
        Me.bnOk.Text = "确定"
        '
        'bnCancel
        '
        Me.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.bnCancel.Location = New System.Drawing.Point(480, 56)
        Me.bnCancel.Name = "bnCancel"
        Me.bnCancel.Size = New System.Drawing.Size(72, 32)
        Me.bnCancel.TabIndex = 1
        Me.bnCancel.Text = "取消"
        '
        'fmBaseDlg
        '
        Me.AcceptButton = Me.bnOk
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
        Me.CancelButton = Me.bnCancel
        Me.ClientSize = New System.Drawing.Size(578, 447)
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.bnCancel, Me.bnOk})
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "fmBaseDlg"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "fmBaseDlg"
        Me.ResumeLayout(False)

    End Sub

#End Region

End Class

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?