StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Login form.Expand / Collapse
Author
Message
Posted 10/12/2006 8:18:25 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 10/15/2006 9:14:01 PM
Posts: 5, Visits: 9
How do I use the built-in login form?
Post #3550
Posted 10/12/2006 8:39:20 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 10:13:07 AM
Posts: 4,799, Visits: 4,768
The latest update on the website actually has a template to help you build a custom logon form.  The template was posted on the 9th so if you have not installed since then, download the latest version and the template will be available once you install.  Just go to the My Account area of the website to get the latest version.
Post #3553
Posted 10/13/2006 10:25:04 AM
StrataFrame Team Member

StrataFrame Team Member

Group: StrataFrame Users
Last Login: Today @ 10:42:30 AM
Posts: 222, Visits: 481
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.
Post #3556
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 12:30pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 8 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.