Samples of applications for entering Winforms?

I will be working on the Time Management application very soon using Winforms and Access, and have been looking for some useful resources on how to create a simple password-protected application. I came from asp.net, but had a VERY little experience with Winforms. Are there any pass-through tutorials for something like this?

Thanks to everyone.

+3
source share
1 answer

Well. in VB.net you have a template for the login form. Just add / new item, select "Login Form". But it just creates a dialog with two text fields, username and password. Everyone can do it.

, , , , XML , .

:

' TODO: Insert code to perform custom authentication using the

    '(. http://go.microsoft.com/fwlink/?LinkId=35339).

' The custom principal can then be attached to the current thread's

:     'My.User.CurrentPrincipal = CustomPrincipal     ' CustomPrincipal - IPrincipal, .     " My.User CustomPrincipal     ', , ..

, : http://msdn.microsoft.com/en-us/library/aa302401.aspx

, , ASP.Net. , .

, , , XML - .

+2

Source: https://habr.com/ru/post/1706540/


All Articles