Click here to Skip to main content
15,902,832 members
Home / Discussions / C#
   

C#

 
GeneralRe: Super Lame QOTD (Stripping Paths) Pin
James Simpson30-Oct-03 5:10
James Simpson30-Oct-03 5:10 
GeneralRe: Super Lame QOTD (Stripping Paths) Pin
Nick Parker28-Oct-03 14:27
protectorNick Parker28-Oct-03 14:27 
GeneralRe: Super Lame QOTD (Stripping Paths) Pin
Heath Stewart28-Oct-03 16:42
protectorHeath Stewart28-Oct-03 16:42 
GeneralBlocking move of a form Pin
phimix28-Oct-03 6:54
phimix28-Oct-03 6:54 
GeneralRe: Blocking move of a form Pin
Blake Coverett28-Oct-03 7:45
Blake Coverett28-Oct-03 7:45 
GeneralRe: Blocking move of a form Pin
phimix29-Oct-03 4:40
phimix29-Oct-03 4:40 
GeneralRe: Blocking move of a form Pin
Blake Coverett29-Oct-03 9:21
Blake Coverett29-Oct-03 9:21 
General=Two ImageList and two ImageIndex (and useful source code)= Pin
god4k28-Oct-03 6:46
god4k28-Oct-03 6:46 
Smile | :) Hello, Sir

I have a class that has two ImageList and two ImageIndex property as the code below.
My problem is when set propertyGrid.SelectedObject equal to my class instance
indexA and indexB will show the same list of images on the propertyGrid.
How to make the indexA show list of images in _imagelistA
and make the indexB show list of images in _imagelistB ?

Thank You.
Sorry for bad English.


public ImageList imagelistA
{
get { return _imagelistA;}
set { _imagelistA = 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 indexA
{
get { return _indexA; }
set { _indexA = value; }
}


public ImageList imagelistB
{
get { return _imagelistB;}
set { _imagelistB = 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 indexB
{
get { return _indexB; }
set { _indexB = value; }
}

GeneralRe: =Two ImageList and two ImageIndex (and useful source code)= Pin
Heath Stewart28-Oct-03 16:47
protectorHeath Stewart28-Oct-03 16:47 
GeneralForm.Hide() Form.Show() Problem Pin
mikemilano28-Oct-03 6:43
mikemilano28-Oct-03 6:43 
GeneralRe: Form.Hide() Form.Show() Problem Pin
Corinna John30-Oct-03 20:00
Corinna John30-Oct-03 20:00 
Generalcode Pin
R. Thomas28-Oct-03 6:15
R. Thomas28-Oct-03 6:15 
GeneralRe: code Pin
Blake Coverett28-Oct-03 6:58
Blake Coverett28-Oct-03 6:58 
GeneralRe: code Pin
oOomen28-Oct-03 7:35
oOomen28-Oct-03 7:35 
GeneralRe: code Pin
Blake Coverett28-Oct-03 7:37
Blake Coverett28-Oct-03 7:37 
GeneralRe: code Pin
oOomen28-Oct-03 7:52
oOomen28-Oct-03 7:52 
GeneralRe: code Pin
Blake Coverett28-Oct-03 10:38
Blake Coverett28-Oct-03 10:38 
GeneralRe: code Pin
oOomen28-Oct-03 7:05
oOomen28-Oct-03 7:05 
GeneralFORM SHAPE AND SKIN Pin
_Comet_Keeper_28-Oct-03 3:26
_Comet_Keeper_28-Oct-03 3:26 
GeneralRe: FORM SHAPE AND SKIN Pin
Heath Stewart28-Oct-03 3:34
protectorHeath Stewart28-Oct-03 3:34 
GeneralNew Instance of Internet Explorer Pin
Kenneth Childs28-Oct-03 3:06
Kenneth Childs28-Oct-03 3:06 
GeneralRe: New Instance of Internet Explorer Pin
Heath Stewart28-Oct-03 3:21
protectorHeath Stewart28-Oct-03 3:21 
GeneralAppDomain and singleton pattern Pin
Chris Richner28-Oct-03 0:01
Chris Richner28-Oct-03 0:01 
GeneralRe: AppDomain and singleton pattern Pin
Heath Stewart28-Oct-03 3:17
protectorHeath Stewart28-Oct-03 3:17 
GeneralRe: AppDomain and singleton pattern Pin
Chris Richner29-Oct-03 5:59
Chris Richner29-Oct-03 5:59 

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.