?? login.vb
字號:
Public Class Login
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
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 DJD.Security.LoginControl
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.LoginControl1 = New DJD.Security.LoginControl
Me.SuspendLayout()
'
'LoginControl1
'
Me.LoginControl1.AuthType = DJD.Security.Authentication.AuthenticationTypes.ActiveDirectory
Me.LoginControl1.ButtonLabel = "Login"
Me.LoginControl1.DefaultDomain = "SPAPPS"
Me.LoginControl1.Dock = System.Windows.Forms.DockStyle.Fill
Me.LoginControl1.Domains = New String() {Nothing}
Me.LoginControl1.HeaderLabel = "Please enter your Username and Password."
Me.LoginControl1.HeadlineLabel = "Login"
Me.LoginControl1.Location = New System.Drawing.Point(0, 0)
Me.LoginControl1.Name = "LoginControl1"
Me.LoginControl1.ShowMessageBox = False
Me.LoginControl1.Size = New System.Drawing.Size(424, 269)
Me.LoginControl1.TabIndex = 0
Me.LoginControl1.UsernameLabel = "UserID:"
'
'Login
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(424, 269)
Me.Controls.Add(Me.LoginControl1)
Me.MaximizeBox = False
Me.MaximumSize = New System.Drawing.Size(432, 296)
Me.MinimizeBox = False
Me.MinimumSize = New System.Drawing.Size(432, 296)
Me.Name = "Login"
Me.Text = "Form1"
Me.ResumeLayout(False)
End Sub
#End Region
Private Sub LoginControl1_Cancelled(ByVal sender As Object, ByVal e As System.EventArgs) Handles LoginControl1.Cancelled
End
End Sub
Private Sub LoginControl1_Successful(ByVal UserID As String) Handles LoginControl1.Successful
Me.DialogResult = DialogResult.OK
End Sub
Private Sub LoginControl1_Failed(ByVal UserID As String) Handles LoginControl1.Failed
Me.DialogResult = DialogResult.No
End Sub
End Class
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -