⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.vb

📁 JAVA实现的RSA公钥加密方法
💻 VB
字号:
Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call
        Me.CenterToScreen()
        Me.Opacity = 0.99
    End Sub

    'Form overrides dispose to clean up the component list.
    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

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents LoginControl1 As LoginControl
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.LoginControl1 = New LoginControl
        Me.SuspendLayout()
        '
        'LoginControl1
        '
        Me.LoginControl1.AuthType = ActiveDirectory.AuthenticationTypes.ActiveDirectory
        Me.LoginControl1.ButtonLabel = "Login"
        Me.LoginControl1.DefaultDomain = "NYSDSSALB"
        Me.LoginControl1.Dock = System.Windows.Forms.DockStyle.Fill
        Me.LoginControl1.HeaderLabel = "Please enter your network credentials."
        Me.LoginControl1.HeadlineLabel = "Login"
        Me.LoginControl1.Location = New System.Drawing.Point(0, 0)
        Me.LoginControl1.Name = "LoginControl1"
        Me.LoginControl1.ShowMessageBox = True
        Me.LoginControl1.Size = New System.Drawing.Size(432, 273)
        Me.LoginControl1.TabIndex = 0
        Me.LoginControl1.UsernameLabel = "User ID"
        '
        'Form1
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(432, 273)
        Me.ControlBox = False
        Me.Controls.Add(Me.LoginControl1)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
        Me.MaximizeBox = False
        Me.Name = "Form1"
        Me.ShowInTaskbar = False
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "Login"
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub LoginControl1_Successful(ByVal sender As Object, ByVal e As System.EventArgs) Handles LoginControl1.Successful
        Me.Enabled = False
        While Me.Opacity > 0
            Me.Opacity -= 0.03
            Me.Refresh()
            System.Threading.Thread.Sleep(50)
        End While
        Me.DialogResult = DialogResult.OK
    End Sub

    Private Sub LoginControl1_Failed(ByVal sender As Object, ByVal e As System.EventArgs) Handles LoginControl1.Failed

    End Sub

    Private Sub LoginControl1_Cancelled(ByVal sender As Object, ByVal e As System.EventArgs) Handles LoginControl1.Cancelled
        Me.DialogResult = DialogResult.Cancel
    End Sub

End Class

⌨️ 快捷键说明

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