Click here to Skip to main content
15,928,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: "Shutting down a remote PC? Pin
Salman Taseer`31-Aug-04 7:13
Salman Taseer`31-Aug-04 7:13 
GeneralPreserving what is drawn to Controls Pin
Member 94235530-Aug-04 15:05
Member 94235530-Aug-04 15:05 
GeneralRe: Preserving what is drawn to Controls Pin
Christian Graus30-Aug-04 15:09
protectorChristian Graus30-Aug-04 15:09 
GeneralRe: Preserving what is drawn to Controls Pin
Joel Lucsy30-Aug-04 17:02
Joel Lucsy30-Aug-04 17:02 
GeneralRe: Preserving what is drawn to Controls Pin
Member 94235531-Aug-04 4:38
Member 94235531-Aug-04 4:38 
GeneralRe: Preserving what is drawn to Controls Pin
Joel Lucsy31-Aug-04 4:46
Joel Lucsy31-Aug-04 4:46 
GeneralRe: Preserving what is drawn to Controls Pin
Member 9423552-Sep-04 0:32
Member 9423552-Sep-04 0:32 
GeneralWhy selected items in a checkedListBox don't show in order Pin
abhishk2001@yahoo.com30-Aug-04 14:50
abhishk2001@yahoo.com30-Aug-04 14:50 
Hi,

I have 5 CheckedListBox controls on a winForm. I am appending the selected items in a stringBuilder on a buttonClick Event. my question is,
say,

I have checkedListBox named as A, B, C, D and E. after selecting the items from each CheckedListBox, it first shows me the selected values from E,D,C,B and A. why does it shows the selection in reverse, when i am adding the selected values immediately to the StringBuilder. my code is given below.
Thanks, for ur help. I am actually using the selected items to form a dynamic query.

StringBuffer sb=new StringBuffer();
CheckedListBox clb = null;
foreach(Control c in groupBox1.Controls)
{
if(c is CheckedListBox)
{
clb = c as CheckedListBox;
if(clb.CheckedItems.Count !=0)
{
for(int i=0; i<=clb.CheckedItems.Count -1; i++)
{
sb.Append(clb.CheckedItems[i].ToString());
sb.Append(", ");

}

}

}
MessageBox.Show(sb.ToString());


abhi
GeneralRe: Why selected items in a checkedListBox don't show in order Pin
Bill Dean30-Aug-04 16:24
Bill Dean30-Aug-04 16:24 
GeneralRe: Why selected items in a checkedListBox don't show in order Pin
S Sansanwal30-Aug-04 16:57
S Sansanwal30-Aug-04 16:57 
QuestionError: Failed to delay load library mscorlib.dll ? Pin
Cyric7430-Aug-04 14:18
Cyric7430-Aug-04 14:18 
AnswerRe: Error: Failed to delay load library mscorlib.dll ? Pin
Christian Graus30-Aug-04 15:08
protectorChristian Graus30-Aug-04 15:08 
GeneralRe: Error: Failed to delay load library mscorlib.dll ? Pin
Cyric7430-Aug-04 18:33
Cyric7430-Aug-04 18:33 
GeneralRe: Error: Failed to delay load library mscorlib.dll ? Pin
Christian Graus31-Aug-04 10:23
protectorChristian Graus31-Aug-04 10:23 
QuestionSetting the icon for a program ? Pin
Christian Graus30-Aug-04 12:02
protectorChristian Graus30-Aug-04 12:02 
AnswerRe: Setting the icon for a program ? Pin
Heath Stewart30-Aug-04 12:33
protectorHeath Stewart30-Aug-04 12:33 
GeneralRe: Setting the icon for a program ? Pin
Christian Graus30-Aug-04 12:43
protectorChristian Graus30-Aug-04 12:43 
AnswerRe: Setting the icon for a program ? Pin
Christian Graus30-Aug-04 12:41
protectorChristian Graus30-Aug-04 12:41 
GeneralRestoring a previous instance. Pin
Dionne30-Aug-04 9:40
Dionne30-Aug-04 9:40 
GeneralRe: Restoring a previous instance. Pin
Heath Stewart30-Aug-04 9:51
protectorHeath Stewart30-Aug-04 9:51 
GeneralRe: Restoring a previous instance. Pin
Dionne30-Aug-04 9:54
Dionne30-Aug-04 9:54 
GeneralRe: Restoring a previous instance. Pin
Heath Stewart30-Aug-04 10:54
protectorHeath Stewart30-Aug-04 10:54 
GeneralRe: Restoring a previous instance. Pin
Nick Parker30-Aug-04 9:53
protectorNick Parker30-Aug-04 9:53 
GeneralRe: Restoring a previous instance. Pin
Dionne30-Aug-04 10:06
Dionne30-Aug-04 10:06 
GeneralRe: Restoring a previous instance. Pin
Nick Parker30-Aug-04 10:30
protectorNick Parker30-Aug-04 10:30 

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.