Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
QuestionStrange behaviour Pin
sinosoidal21-Mar-07 6:17
sinosoidal21-Mar-07 6:17 
AnswerRe: Strange behaviour Pin
Stefan Troschuetz21-Mar-07 6:49
Stefan Troschuetz21-Mar-07 6:49 
GeneralRe: Strange behaviour Pin
sinosoidal21-Mar-07 6:50
sinosoidal21-Mar-07 6:50 
GeneralRe: Strange behaviour Pin
sinosoidal21-Mar-07 6:53
sinosoidal21-Mar-07 6:53 
GeneralRe: Strange behaviour Pin
Stefan Troschuetz21-Mar-07 6:58
Stefan Troschuetz21-Mar-07 6:58 
GeneralRe: Strange behaviour Pin
sinosoidal21-Mar-07 7:39
sinosoidal21-Mar-07 7:39 
AnswerRe: Strange behaviour Pin
Edmundisme21-Mar-07 7:05
Edmundisme21-Mar-07 7:05 
GeneralRe: Strange behaviour Pin
sinosoidal21-Mar-07 7:33
sinosoidal21-Mar-07 7:33 
Hi,

I have conscience of what you have just told me but i need to have the freedom to add as many splitContainers inside another splitContainer, recursively.

I don't know how am i gonna do that yet. I'm thinking in keep a structure, like a binary tree to keep track of the info of each splitContainer.

The first will be the root of the tree. If i then want another splitContainer inside the panel2 of the first splitContainer, i'll need to add a new node to the tree at the root's right. And if then i want another split container, inside the seconde split container, etc...

But, for now, i'm just testing the first level, with the most basic example.

My problem right now is with the form refresh.

As i said, the body, of the method, if executed inside the Form1_Load(..) will create a splitContainer soon as the program is executed.

However, if i call the code inside the AddNewRegion(..) method, it is not drawn.

Accidentally i found that, once executed the application, and pressed the button that executes code (which seems not to draw a thing), if i minimize and then restore the window, i can see the splitContainer drawn.

Did you understand me now?

Now i have sure that this is a refresh problem, but i still don't know how to solve it.

Any tips?

Thx,

Nuno


GeneralRe: Strange behaviour Pin
Edmundisme21-Mar-07 7:42
Edmundisme21-Mar-07 7:42 
GeneralRe: Strange behaviour Pin
sinosoidal21-Mar-07 7:51
sinosoidal21-Mar-07 7:51 
GeneralRe: Strange behaviour Pin
Edmundisme21-Mar-07 8:23
Edmundisme21-Mar-07 8:23 
GeneralRe: Strange behaviour Pin
sinosoidal22-Mar-07 0:13
sinosoidal22-Mar-07 0:13 
GeneralRe: Strange behaviour Pin
sinosoidal22-Mar-07 0:45
sinosoidal22-Mar-07 0:45 
GeneralRe: Strange behaviour Pin
Edmundisme22-Mar-07 6:07
Edmundisme22-Mar-07 6:07 
GeneralRe: Strange behaviour Pin
sinosoidal22-Mar-07 6:28
sinosoidal22-Mar-07 6:28 
AnswerRe: Strange behaviour Pin
Edmundisme21-Mar-07 7:10
Edmundisme21-Mar-07 7:10 
AnswerRe: Strange behaviour Pin
Muammar©21-Mar-07 8:22
Muammar©21-Mar-07 8:22 
QuestionDatabase to Dataset to DataTable then Another table using query Pin
Sarfaraj Ahmed21-Mar-07 6:12
Sarfaraj Ahmed21-Mar-07 6:12 
Questiontwo problems in windows form Pin
ahmad al-omar21-Mar-07 5:59
ahmad al-omar21-Mar-07 5:59 
AnswerRe: two problems in windows form Pin
Shy Agam21-Mar-07 7:42
Shy Agam21-Mar-07 7:42 
GeneralRe: two problems in windows form Pin
ahmad al-omar21-Mar-07 8:51
ahmad al-omar21-Mar-07 8:51 
GeneralRe: two problems in windows form Pin
Shy Agam21-Mar-07 9:36
Shy Agam21-Mar-07 9:36 
GeneralRe: two problems in windows form Pin
Sautin.net22-Mar-07 8:49
Sautin.net22-Mar-07 8:49 
QuestionPHP IDE Pin
abalfazl21-Mar-07 4:25
abalfazl21-Mar-07 4:25 
AnswerRe: PHP IDE Pin
joon vh.21-Mar-07 5:06
joon vh.21-Mar-07 5:06 

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.