Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy20-Oct-03 14:15
MtnBiknGuy20-Oct-03 14:15 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
leppie21-Oct-03 8:48
leppie21-Oct-03 8:48 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy21-Oct-03 10:08
MtnBiknGuy21-Oct-03 10:08 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
Andy Davey17-Oct-03 10:55
Andy Davey17-Oct-03 10:55 
GeneralRe: Unrolling a loop: why can't .NET add 1 + 2 + 3 + ... Pin
MtnBiknGuy17-Oct-03 16:02
MtnBiknGuy17-Oct-03 16:02 
GeneralXML Complex Types Pin
pahluwalia17-Oct-03 6:27
pahluwalia17-Oct-03 6:27 
Generaladd "user" to "COM+ security role" programmatically Pin
Norman Fung17-Oct-03 6:14
Norman Fung17-Oct-03 6:14 
GeneralURGENT, Help me please !!!!!!!! Pin
god4k17-Oct-03 6:02
god4k17-Oct-03 6:02 
Dear, Sir.
My class has two ImageList and two ImageIndex properties.
How to tell propertyGrid know that LargeImageList is for LargeImageIndex and SmallImageList is for SmallImageIndex?
The code below will display SmallImageList item on dropdown of both LargeImageIndex and SmallImageIndex property.

//LargeImage
public ImageList LargeImageList
{
get { return _largeImageList; }
set { _largeImageList = value; }
}
[TypeConverter(typeof(ImageIndexConverter)), Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design,Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",typeof(System.Drawing.Design.UITypeEditor))]
public int LargeImageIndex
{
get { return _LargeImageIndex; }
set { _LargeImageIndex = value; }
}

//SmallImage
public ImageList SmallImageList
{
get { return _smallImageList; }
set { _smallImageList;} = value; }
}
[TypeConverter(typeof(ImageIndexConverter)), Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design,Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",typeof(System.Drawing.Design.UITypeEditor))]
public int SmallImageIndex
{
get { return _SmallImageIndex; }
set { _SmallImageIndex = value; }
}



Thank You
Sorry for bad English
Generallistview Pin
jphuphilly17-Oct-03 6:00
jphuphilly17-Oct-03 6:00 
GeneralRe: listview Pin
Corinna John20-Oct-03 1:52
Corinna John20-Oct-03 1:52 
Questionwhy can't I get through the "lock (this)"? Pin
yyf17-Oct-03 5:18
yyf17-Oct-03 5:18 
Generalthe components's comment Pin
wangier16-Oct-03 22:45
wangier16-Oct-03 22:45 
GeneralRe: the components's comment Pin
Eric Gunnerson (msft)17-Oct-03 8:53
Eric Gunnerson (msft)17-Oct-03 8:53 
GeneralRe: the components's comment Pin
wangier19-Oct-03 15:19
wangier19-Oct-03 15:19 
GeneralRe: the components's comment Pin
wangier19-Oct-03 15:24
wangier19-Oct-03 15:24 
GeneralRe: the components's comment Pin
Eric Gunnerson (msft)19-Oct-03 16:41
Eric Gunnerson (msft)19-Oct-03 16:41 
GeneralRe: the components's comment Pin
wangier19-Oct-03 18:51
wangier19-Oct-03 18:51 
QuestionHow to set the TypeConverter of a Control? Pin
wangier16-Oct-03 22:33
wangier16-Oct-03 22:33 
AnswerRe: How to set the TypeConverter of a Control? Pin
god4k17-Oct-03 6:15
god4k17-Oct-03 6:15 
GeneralRe: How to set the TypeConverter of a Control? Pin
Bo Hunter17-Oct-03 11:14
Bo Hunter17-Oct-03 11:14 
GeneralRe: How to set the TypeConverter of a Control? Pin
wangier19-Oct-03 15:11
wangier19-Oct-03 15:11 
GeneralIts Vimal Need Clarification Pin
Vimal Tomar16-Oct-03 20:19
sussVimal Tomar16-Oct-03 20:19 
GeneralRe: Its Vimal Need Clarification Pin
leppie17-Oct-03 9:39
leppie17-Oct-03 9:39 
Generalneed some opinions. Pin
sharkfish16-Oct-03 17:46
sharkfish16-Oct-03 17:46 
Generalhelp I'm drowning in something obvious Pin
sharkfish16-Oct-03 16:11
sharkfish16-Oct-03 16:11 

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.