Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to toggle anchor tag text in jquery Pin
ankitsrist5-Apr-13 23:18
ankitsrist5-Apr-13 23:18 
GeneralRe: how to toggle anchor tag text in jquery Pin
AmitGajjar5-Apr-13 23:30
professionalAmitGajjar5-Apr-13 23:30 
QuestionC# Graph building and visualization Pin
rinmic5-Apr-13 13:06
rinmic5-Apr-13 13:06 
QuestionRe: C# Graph building and visualization Pin
Kenneth Haugland6-Apr-13 4:06
mvaKenneth Haugland6-Apr-13 4:06 
AnswerRe: C# Graph building and visualization Pin
AContractor6-Apr-13 8:08
professionalAContractor6-Apr-13 8:08 
AnswerRe: C# Graph building and visualization Pin
Jedzia696-Apr-13 8:28
Jedzia696-Apr-13 8:28 
GeneralRe: C# Graph building and visualization Pin
rinmic6-Apr-13 11:22
rinmic6-Apr-13 11:22 
Questioncontrol invisible Pin
cursore845-Apr-13 12:05
cursore845-Apr-13 12:05 
Hi,

i use a mathod that create a control (for example textbox) and add it's to a pannel. The pannle is passed in a parameter of the method.

C#
public static  void CampoTxt(Panel frmPadre)
{
TextBox txt = new TextBox();
txt.Name = "name";
txt.Visible = true;
frmPadre.Controls.Add(txt);
}            


I've manage the event ControlAdded of the pannel for modify the height of form when a visible control is added.
But every control I have added in the panel has the visible property set to false even if at the creation was set to true.

C#
private void pnlf_ControlAdded(object sender, ControlEventArgs e)
        {
            ...some code ....
        }


Any ideas?? Thanks
AnswerRe: control invisible Pin
David C# Hobbyist.5-Apr-13 12:51
professionalDavid C# Hobbyist.5-Apr-13 12:51 
AnswerRe: control invisible Pin
Dave Kreskowiak5-Apr-13 13:07
mveDave Kreskowiak5-Apr-13 13:07 
GeneralRe: control invisible Pin
cursore845-Apr-13 22:08
cursore845-Apr-13 22:08 
GeneralRe: control invisible Pin
Dave Kreskowiak6-Apr-13 4:08
mveDave Kreskowiak6-Apr-13 4:08 
GeneralRe: control invisible Pin
cursore848-Apr-13 20:33
cursore848-Apr-13 20:33 
GeneralRe: control invisible Pin
Dave Kreskowiak9-Apr-13 1:05
mveDave Kreskowiak9-Apr-13 1:05 
AnswerRe: control invisible Pin
Boipelo7-Apr-13 15:22
Boipelo7-Apr-13 15:22 
QuestionImproving performance of C# program when run from network drive Pin
eljainc5-Apr-13 5:04
eljainc5-Apr-13 5:04 
AnswerRe: Improving performance of C# program when run from network drive Pin
Dave Kreskowiak5-Apr-13 6:32
mveDave Kreskowiak5-Apr-13 6:32 
AnswerRe: Improving performance of C# program when run from network drive Pin
Jason Gleim5-Apr-13 10:33
professionalJason Gleim5-Apr-13 10:33 
GeneralCast COM object with reflection Pin
Member 99653115-Apr-13 0:04
Member 99653115-Apr-13 0:04 
GeneralRe: Cast COM object with reflection Pin
BobJanova5-Apr-13 5:12
BobJanova5-Apr-13 5:12 
GeneralRe: Cast COM object with reflection Pin
Member 99653115-Apr-13 5:21
Member 99653115-Apr-13 5:21 
GeneralRe: Cast COM object with reflection Pin
Jason Gleim5-Apr-13 10:51
professionalJason Gleim5-Apr-13 10:51 
GeneralRe: Cast COM object with reflection Pin
Bernhard Hiller7-Apr-13 20:55
Bernhard Hiller7-Apr-13 20:55 
QuestionAbout webcam application Pin
Bishwajit Nepali4-Apr-13 23:56
Bishwajit Nepali4-Apr-13 23:56 
AnswerRe: About webcam application Pin
Abhinav S5-Apr-13 0:47
Abhinav S5-Apr-13 0:47 

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.