Click here to Skip to main content
15,868,016 members
Home / Discussions / C#
   

C#

 
GeneralRe: hi Pin
Martin#3-Apr-07 1:42
Martin#3-Apr-07 1:42 
JokeRe: hi Pin
joon vh.3-Apr-07 1:27
joon vh.3-Apr-07 1:27 
GeneralRe: hi Pin
originSH3-Apr-07 2:47
originSH3-Apr-07 2:47 
QuestionHow can I determine total day size of a specific month? Pin
memix2-Apr-07 23:38
memix2-Apr-07 23:38 
AnswerRe: How can I determine total day size of a specific month? Pin
Christian Graus2-Apr-07 23:45
protectorChristian Graus2-Apr-07 23:45 
GeneralDateTime.DaysInMonth() is enough for me. Pin
memix3-Apr-07 0:13
memix3-Apr-07 0:13 
QuestionRemove row from tablelayoutpanel Pin
waddie12-Apr-07 23:20
waddie12-Apr-07 23:20 
AnswerRe: Remove row from tablelayoutpanel Pin
joon vh.2-Apr-07 23:33
joon vh.2-Apr-07 23:33 
found this solution on the Scripts, by Losweg

Hi,

I was struggling with the same problem today.
In the first column of my TableLayoutPanel, I'm showing a checkbox.
When the user is checking it, a new row needs to be created.
When the user is unchecking it, the row containing the checkbox should be
removed.

Logically to remove a row in the TableLayoutPanel, I would think to do
something like this:
tableLayoutPanel.RowStyles.RemoveAt(index);

But I found out this is not enough.
You need to clear the controls for that given row as well!
tableLayoutPanel.Controls.RemoveAt(...);
tableLayoutPanel.Controls.RemoveAt(...);

Once the controls in the Controls-collection are gone, the Event that
redraws your tableLayoutPanel doesn't draw them again.

Hopes this is working for you as well...




Visual Studio can't evaluate this, can you?
public object moo<br />
        {<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}

GeneralRe: Remove row from tablelayoutpanel Pin
waddie13-Apr-07 0:09
waddie13-Apr-07 0:09 
Questionuser control properties given serialization error Pin
topcatalpha2-Apr-07 23:13
topcatalpha2-Apr-07 23:13 
QuestionHide Folder Pin
Ollie19862-Apr-07 22:45
Ollie19862-Apr-07 22:45 
AnswerRe: Hide Folder Pin
joon vh.2-Apr-07 23:13
joon vh.2-Apr-07 23:13 
GeneralRe: Hide Folder Pin
Ollie19863-Apr-07 1:45
Ollie19863-Apr-07 1:45 
Question[solved] Event problem Pin
User 26989672-Apr-07 22:26
User 26989672-Apr-07 22:26 
AnswerRe: Event problem Pin
WillemM3-Apr-07 1:13
WillemM3-Apr-07 1:13 
QuestionHelp here...allow the files display randomly Pin
Missy Glory2-Apr-07 22:20
Missy Glory2-Apr-07 22:20 
AnswerRe: Help here...allow the files display randomly Pin
Tamimi - Code2-Apr-07 22:34
Tamimi - Code2-Apr-07 22:34 
GeneralRe: Help here...allow the files display randomly Pin
Missy Glory2-Apr-07 23:02
Missy Glory2-Apr-07 23:02 
GeneralRe: Help here...allow the files display randomly Pin
joon vh.2-Apr-07 23:23
joon vh.2-Apr-07 23:23 
GeneralRe: Help here...allow the files display randomly Pin
Stefan Troschuetz3-Apr-07 0:00
Stefan Troschuetz3-Apr-07 0:00 
GeneralRe: Help here...allow the files display randomly Pin
joon vh.3-Apr-07 0:02
joon vh.3-Apr-07 0:02 
QuestionUpload multiple *.txt to remote server Pin
lygine ng lee chuang2-Apr-07 22:06
lygine ng lee chuang2-Apr-07 22:06 
AnswerRe: Upload multiple *.txt to remote server Pin
lygine ng lee chuang2-Apr-07 22:14
lygine ng lee chuang2-Apr-07 22:14 
AnswerRe: Upload multiple *.txt to remote server Pin
blackjack21502-Apr-07 22:45
blackjack21502-Apr-07 22:45 
GeneralRe: Upload multiple *.txt to remote server Pin
lygine ng lee chuang2-Apr-07 22:54
lygine ng lee chuang2-Apr-07 22:54 

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.