Click here to Skip to main content
15,891,766 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best Practices: Checking For Null Objects After Initializing Pin
Wainwrightwt21-May-10 5:22
Wainwrightwt21-May-10 5:22 
QuestionMultiple forms in C# Pin
Etienne_12321-May-10 2:26
Etienne_12321-May-10 2:26 
AnswerRe: Multiple forms in C# Pin
#realJSOP21-May-10 2:30
mve#realJSOP21-May-10 2:30 
AnswerRe: Multiple forms in C# Pin
Luc Pattyn21-May-10 3:45
sitebuilderLuc Pattyn21-May-10 3:45 
AnswerRe: Multiple forms in C# Pin
PIEBALDconsult21-May-10 4:33
mvePIEBALDconsult21-May-10 4:33 
GeneralRe: Multiple forms in C# Pin
Luc Pattyn21-May-10 4:44
sitebuilderLuc Pattyn21-May-10 4:44 
AnswerRe: Multiple forms in C# Pin
Henry Minute21-May-10 6:16
Henry Minute21-May-10 6:16 
AnswerRe: Multiple forms in C# Pin
William Winner21-May-10 7:44
William Winner21-May-10 7:44 
You've been able to implement facial recognition as a log-in and you need our help for this question?

How do you expect to just change the controls on the form without hiding and showing controls? Magically morph a Button into 2 TextBoxes, 2 RadioButtons, and a Button? (assuming your alternate login used those controls.

I guess what I would do if I were trying to do that would be to create a UserControl. Place your alternate login methods on that UserControl. Then, when they click the "Alternate Login" button or whatever, set that UserControl's size to the same as your form's ClientArea and then add it to your form.

When you create your form, place a panel over all of the controls on your form and when you add the UserControl, just make that panel.Visible = false.

But I'm sure there are hundreds of ways to do this.
Questionstring.format Pin
tek 200921-May-10 1:21
tek 200921-May-10 1:21 
AnswerRe: string.format Pin
J4amieC21-May-10 1:27
J4amieC21-May-10 1:27 
GeneralRe: string.format Pin
tek 200921-May-10 1:47
tek 200921-May-10 1:47 
GeneralRe: string.format Pin
The Man from U.N.C.L.E.21-May-10 2:16
The Man from U.N.C.L.E.21-May-10 2:16 
AnswerRe: string.format Pin
#realJSOP21-May-10 2:00
mve#realJSOP21-May-10 2:00 
AnswerRe: string.format Pin
#realJSOP21-May-10 2:03
mve#realJSOP21-May-10 2:03 
AnswerRe: string.format Pin
PIEBALDconsult21-May-10 3:37
mvePIEBALDconsult21-May-10 3:37 
AnswerRe: string.format Pin
Luc Pattyn21-May-10 3:51
sitebuilderLuc Pattyn21-May-10 3:51 
GeneralRe: string.format Pin
Thomas Krojer21-May-10 4:03
Thomas Krojer21-May-10 4:03 
GeneralRe: string.format Pin
Luc Pattyn21-May-10 4:08
sitebuilderLuc Pattyn21-May-10 4:08 
GeneralRe: string.format Pin
tek 200921-May-10 4:12
tek 200921-May-10 4:12 
QuestionRe: string.format [modified] Pin
tek 200921-May-10 5:52
tek 200921-May-10 5:52 
AnswerRe: string.format Pin
#realJSOP21-May-10 7:06
mve#realJSOP21-May-10 7:06 
Questionhi Pin
hari912198721-May-10 0:57
hari912198721-May-10 0:57 
AnswerRe: hi PinPopular
OriginalGriff21-May-10 1:00
mveOriginalGriff21-May-10 1:00 
AnswerRe: hi Pin
Suresh Suthar21-May-10 1:01
professionalSuresh Suthar21-May-10 1:01 
AnswerRe: hi Pin
J4amieC21-May-10 1:05
J4amieC21-May-10 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.