Click here to Skip to main content
16,007,443 members
Home / Discussions / C#
   

C#

 
GeneralRe: multiple controls label,&Checkboxex DOUBT Pin
pashitech22-Mar-07 5:40
pashitech22-Mar-07 5:40 
GeneralRe: multiple controls label,&Checkboxex DOUBT Pin
Christian Graus22-Mar-07 5:42
protectorChristian Graus22-Mar-07 5:42 
GeneralRe: multiple controls label,&Checkboxex DOUBT Pin
pashitech22-Mar-07 6:10
pashitech22-Mar-07 6:10 
GeneralRe: multiple controls label,&Checkboxex DOUBT Pin
Christian Graus22-Mar-07 7:22
protectorChristian Graus22-Mar-07 7:22 
QuestionAssembly headache during Office plugin deployment Pin
dabs22-Mar-07 5:24
dabs22-Mar-07 5:24 
QuestionProblems creating controls dinamicly thru code Pin
sinosoidal22-Mar-07 5:23
sinosoidal22-Mar-07 5:23 
AnswerRe: Problems creating controls dinamicly thru code Pin
Christian Graus22-Mar-07 5:24
protectorChristian Graus22-Mar-07 5:24 
GeneralRe: Problems creating controls dinamicly thru code Pin
sinosoidal22-Mar-07 5:39
sinosoidal22-Mar-07 5:39 
Yes, it does.

It really is a question of layout resume.

Just to give it a try, i took of all the Suspend and Resume Layout() calls.

It worked, straight out of the box!

But this is not a very good pratice, right?

So.. how should i do this kind of operation?

In which order?

This is how i done it:

this.SuspendLayout();
mainPanel.SuspendLayout();
region.SuspendLayout();

...

region.ResumeLayout(false);
this.mainPanel.ResumeLayout(false);
this.ResumeLayout(false);

?

Nuno


GeneralRe: Problems creating controls dinamicly thru code Pin
Christian Graus22-Mar-07 5:42
protectorChristian Graus22-Mar-07 5:42 
GeneralRe: Problems creating controls dinamicly thru code Pin
sinosoidal22-Mar-07 5:44
sinosoidal22-Mar-07 5:44 
GeneralRe: Problems creating controls dinamicly thru code Pin
Christian Graus22-Mar-07 5:59
protectorChristian Graus22-Mar-07 5:59 
Questionwindows service to server Pin
arkiboys22-Mar-07 5:04
arkiboys22-Mar-07 5:04 
AnswerRe: windows service to server Pin
Corinna John22-Mar-07 6:05
Corinna John22-Mar-07 6:05 
GeneralRe: windows service to server Pin
arkiboys22-Mar-07 6:50
arkiboys22-Mar-07 6:50 
GeneralRe: windows service to server Pin
Dave Kreskowiak22-Mar-07 7:05
mveDave Kreskowiak22-Mar-07 7:05 
QuestionLocking windows desktop Pin
motojojo22-Mar-07 4:44
motojojo22-Mar-07 4:44 
AnswerRe: Locking windows desktop Pin
Christian Graus22-Mar-07 4:49
protectorChristian Graus22-Mar-07 4:49 
GeneralRe: Locking windows desktop Pin
motojojo22-Mar-07 4:53
motojojo22-Mar-07 4:53 
GeneralRe: Locking windows desktop Pin
Not Active22-Mar-07 5:01
mentorNot Active22-Mar-07 5:01 
GeneralRe: Locking windows desktop Pin
KaineDunno22-Mar-07 5:02
KaineDunno22-Mar-07 5:02 
GeneralRe: Locking windows desktop Pin
Christian Graus22-Mar-07 5:03
protectorChristian Graus22-Mar-07 5:03 
AnswerRe: Locking windows desktop Pin
Vasudevan Deepak Kumar22-Mar-07 5:39
Vasudevan Deepak Kumar22-Mar-07 5:39 
AnswerRe: Locking windows desktop Pin
motojojo22-Mar-07 7:17
motojojo22-Mar-07 7:17 
QuestionNHibernate Pin
Jabeerbe22-Mar-07 4:30
Jabeerbe22-Mar-07 4:30 
AnswerRe: NHibernate Pin
Christian Graus22-Mar-07 4:50
protectorChristian Graus22-Mar-07 4:50 

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.