p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional C# 5.0 and .NET 4.5.1 (http://p2p.wrox.com/forumdisplay.php?f=756)
-   -   Any hints on how to solve this problem? (http://p2p.wrox.com/showthread.php?t=94145)

Truck35 February 15th, 2015 12:18 PM

Any hints on how to solve this problem?
(Login User Control) Create a UserControl called LoginPasswordUserControl that contains a Label that displays string "Login:", a TextBox, where the user inputs a login name, a Label that displays the string "Password:" and, finally, a TextBox where a user inputs a password. LoginPasswordUserControl must provide public read-only properties that allow an application to retrieve the user inputs (i.e., login name and password). Write a driver to test LoginPasswordUserControl.

mmorgan30 February 16th, 2015 02:01 PM

what you have here is pretty self explanatory nothing tricky. Google "asp.net usercontrol" read a couple of examples and tutorials. Then Google C# read only property or vb.net read only property (which ever language you are using). Then combine what you have read. A driver would just be a web app that can consume your login user control.

All times are GMT -4. The time now is 12:08 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.