Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create a property to get a list on which it'd be impossible to add, replace or remove items ? Pin
Alvaro Mendez27-Aug-03 10:47
Alvaro Mendez27-Aug-03 10:47 
GeneralRe: How to create a property to get a list on which it'd be impossible to add, replace or remove items ? Pin
Anonymous27-Aug-03 23:52
Anonymous27-Aug-03 23:52 
GeneralC# applect param pass problem Pin
aw1ay26-Aug-03 20:34
aw1ay26-Aug-03 20:34 
GeneralGPRS communication - PocketPC-SmartPhone.. Pin
ZippyBubbleHead26-Aug-03 20:14
ZippyBubbleHead26-Aug-03 20:14 
Generalhelp option... Pin
Member 52474026-Aug-03 20:05
Member 52474026-Aug-03 20:05 
GeneralRe: help option... Pin
Kannan Kalyanaraman27-Aug-03 23:19
Kannan Kalyanaraman27-Aug-03 23:19 
Generalchecking items in a ListView Pin
Member 50926226-Aug-03 20:02
Member 50926226-Aug-03 20:02 
GeneralRe: checking items in a ListView Pin
ZippyBubbleHead26-Aug-03 20:38
ZippyBubbleHead26-Aug-03 20:38 
Try writing ur code in the handler for SelectedValueChanged event.
The ItemCheck event is triggered just BEFORE an item is about to be checked...and the value is updated only AFTER this event completes...that explains the "lag" u xperienced!

private void listview_SelectedValueChanged(object sender, System.EventArgs e)
{

System.Text.StringBuilder newText = new System.Text.StringBuilder();
System.Windows.Forms.CheckedListBox.CheckedItemCollection col = clv.CheckedItems;

foreach (Object obj in col)
{
//
newText.Append(obj.ToString() + ", ");
}
t1.Text = newText.ToString();
if (t1.Text.EndsWith(", "))
{
t1.Text = t1.Text.Substring(0, t1.Text.Length-2);
}
}

Zippy
GeneralRe: checking items in a ListView Pin
Member 50926226-Aug-03 21:55
Member 50926226-Aug-03 21:55 
General#include "wincrypt" Pin
devvvy26-Aug-03 19:06
devvvy26-Aug-03 19:06 
GeneralRe: #include "wincrypt" Pin
David Stone26-Aug-03 19:40
sitebuilderDavid Stone26-Aug-03 19:40 
GeneralRe: #include "wincrypt" Pin
devvvy26-Aug-03 19:54
devvvy26-Aug-03 19:54 
GeneralGetting an intersect of a color Pin
Ista26-Aug-03 16:01
Ista26-Aug-03 16:01 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:11
protectorChristian Graus26-Aug-03 16:11 
GeneralRe: Getting an intersect of a color Pin
Ista26-Aug-03 16:12
Ista26-Aug-03 16:12 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:14
protectorChristian Graus26-Aug-03 16:14 
GeneralRe: Getting an intersect of a color Pin
Ista26-Aug-03 16:17
Ista26-Aug-03 16:17 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:20
protectorChristian Graus26-Aug-03 16:20 
GeneralRe: Getting an intersect of a color Pin
Ista26-Aug-03 16:22
Ista26-Aug-03 16:22 
GeneralRe: Getting an intersect of a color Pin
Christian Graus26-Aug-03 16:23
protectorChristian Graus26-Aug-03 16:23 
GeneralRe: Getting an intersect of a color Pin
Philip Fitzsimons27-Aug-03 2:45
Philip Fitzsimons27-Aug-03 2:45 
GeneralRe: Getting an intersect of a color Pin
Ista27-Aug-03 3:37
Ista27-Aug-03 3:37 
GeneralRe: Getting an intersect of a color Pin
Philip Fitzsimons27-Aug-03 3:54
Philip Fitzsimons27-Aug-03 3:54 
GeneralRe: Getting an intersect of a color Pin
Rein Hillmann27-Aug-03 7:59
Rein Hillmann27-Aug-03 7:59 
GeneralRe: Getting an intersect of a color Pin
Ista27-Aug-03 11:03
Ista27-Aug-03 11:03 

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.