|
Group: StrataFrame Users
Posts: 364,
Visits: 771
|
Just to expand on Trent's post:
To show the default login form, you may call the Login.ShowLoginAndAuthUser() method, which is found within the MicroFour.StrataFrame.Security namespace. The method accepts a Boolean parameter to determine whether or not to show the Cancel button on the form.
Typically, this method is called within the ShowLoginAndInitMainForm() method found in AppMain.vb (Visual Basic) or program.cs (C#):
Private Shared Sub ShowLoginAndInitMainForm(ByVal e As ShowLoginAndInitFormEventArgs)
'-- Show the login form and authenticate the user
e.ShowMainForm = Login.ShowLoginAndAuthUser(True)
End Sub
For more info, the help download currently available under the My Account area has a topic on Showing the Initial Login form (Programmatic Access->Required AppMain.vb(Program.cs) Code), as well as a topic on Creating a Custom Login Form.
The next help update will have a set of topics on the Login form class' Methods, Properties, and the LoginResult enumeration.
|