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

C#

 
QuestionRe: Threads and WinForms Pin
Programm3r16-Oct-08 3:05
Programm3r16-Oct-08 3:05 
AnswerRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 3:19
mentorGiorgi Dalakishvili16-Oct-08 3:19 
GeneralRe: Threads and WinForms Pin
Programm3r16-Oct-08 3:25
Programm3r16-Oct-08 3:25 
GeneralRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 3:31
mentorGiorgi Dalakishvili16-Oct-08 3:31 
GeneralRe: Threads and WinForms Pin
Programm3r16-Oct-08 3:39
Programm3r16-Oct-08 3:39 
GeneralRe: Threads and WinForms Pin
Giorgi Dalakishvili16-Oct-08 5:44
mentorGiorgi Dalakishvili16-Oct-08 5:44 
QuestionHow to change the height property of panel dynamically Pin
mharoonkhan16-Oct-08 1:04
mharoonkhan16-Oct-08 1:04 
AnswerRe: How to change the height property of panel dynamically Pin
EliottA16-Oct-08 2:08
EliottA16-Oct-08 2:08 
From what I understand you are trying to do, you are trying to set the size of your panel to be equal to that of the contents inside of it?

You can loop for that

int i = 0;
int max = panel1.controls.items.count -1;
panel1.height = 0;
while i <= max
{
panel1.size += panel1.controls.items.i.height;
i++;
}

'edit
you can suspend your layout so you don't see it resize
QuestionC# Print DataGridView Pin
Socheat.Net15-Oct-08 23:42
Socheat.Net15-Oct-08 23:42 
AnswerRe: C# Print DataGridView Pin
Giorgi Dalakishvili15-Oct-08 23:53
mentorGiorgi Dalakishvili15-Oct-08 23:53 
RantRe: C# Print DataGridView Pin
Nagy Vilmos16-Oct-08 3:11
professionalNagy Vilmos16-Oct-08 3:11 
AnswerRe: C# Print DataGridView Pin
Dave Kreskowiak16-Oct-08 3:45
mveDave Kreskowiak16-Oct-08 3:45 
QuestionC# Help Pin
boiDev15-Oct-08 23:36
boiDev15-Oct-08 23:36 
AnswerRe: C# Help Pin
Pete O'Hanlon15-Oct-08 23:57
mvePete O'Hanlon15-Oct-08 23:57 
AnswerRe: C# Help Pin
Ashfield16-Oct-08 0:33
Ashfield16-Oct-08 0:33 
QuestionDoes Any one Know how to link a treeview to a listview? Pin
boiDev15-Oct-08 22:30
boiDev15-Oct-08 22:30 
AnswerRe: Does Any one Know how to link a treeview to a listview? Pin
Pete O'Hanlon15-Oct-08 22:41
mvePete O'Hanlon15-Oct-08 22:41 
GeneralRe: Does Any one Know how to link a treeview to a listview? Pin
boiDev15-Oct-08 22:43
boiDev15-Oct-08 22:43 
GeneralRe: Does Any one Know how to link a treeview to a listview? Pin
Pete O'Hanlon16-Oct-08 0:30
mvePete O'Hanlon16-Oct-08 0:30 
AnswerRe: Does Any one Know how to link a treeview to a listview? Pin
SeMartens15-Oct-08 22:43
SeMartens15-Oct-08 22:43 
GeneralRe: Does Any one Know how to link a treeview to a listview? Pin
boiDev15-Oct-08 22:44
boiDev15-Oct-08 22:44 
AnswerRe: Does Any one Know how to link a treeview to a listview? Pin
#realJSOP16-Oct-08 1:07
mve#realJSOP16-Oct-08 1:07 
QuestionWpf Pin
Mogaambo15-Oct-08 21:37
Mogaambo15-Oct-08 21:37 
AnswerRe: Wpf Pin
blackjack215015-Oct-08 22:35
blackjack215015-Oct-08 22:35 
AnswerRe: Wpf Pin
Pete O'Hanlon15-Oct-08 22:40
mvePete O'Hanlon15-Oct-08 22:40 

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.