Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Runtime.Remoting.Channels.Tcp Pin
TeraCoder13-Feb-03 1:35
TeraCoder13-Feb-03 1:35 
GeneralNet cafe application problem Pin
Mahmoud Nasr12-Feb-03 5:12
Mahmoud Nasr12-Feb-03 5:12 
GeneralRe: Net cafe application problem Pin
Vasudevan Deepak Kumar12-Feb-03 20:50
Vasudevan Deepak Kumar12-Feb-03 20:50 
GeneralRe: Net cafe application problem Pin
Vasudevan Deepak Kumar12-Feb-03 20:54
Vasudevan Deepak Kumar12-Feb-03 20:54 
GeneralAbout the "paint" event Pin
clarkwuzhe12-Feb-03 4:01
clarkwuzhe12-Feb-03 4:01 
Questionhow to open DialogBox for selecting files (WebForm)... Pin
Thomas W12-Feb-03 3:50
Thomas W12-Feb-03 3:50 
Questionhow to add combo boc control to a list view Pin
chito12-Feb-03 2:50
chito12-Feb-03 2:50 
AnswerRe: how to add combo boc control to a list view Pin
Furty12-Feb-03 18:50
Furty12-Feb-03 18:50 
GeneralPassing Properties as paramaters Pin
mgarwood12-Feb-03 2:28
mgarwood12-Feb-03 2:28 
GeneralRe: Passing Properties as paramaters Pin
Diego Mijelshon12-Feb-03 2:46
Diego Mijelshon12-Feb-03 2:46 
GeneralRe: Passing Properties as paramaters Pin
leppie12-Feb-03 7:13
leppie12-Feb-03 7:13 
GeneralProblem with a Very Large Bitmap Pin
Mohammad Siahatgar12-Feb-03 2:07
Mohammad Siahatgar12-Feb-03 2:07 
GeneralRe: Problem with a Very Large Bitmap Pin
leppie12-Feb-03 7:52
leppie12-Feb-03 7:52 
GeneralRe: Problem with a Very Large Bitmap Pin
Mohammad Siahatgar14-Feb-03 0:43
Mohammad Siahatgar14-Feb-03 0:43 
GeneralRe: Problem with a Very Large Bitmap Pin
Danny2814-Feb-03 2:55
Danny2814-Feb-03 2:55 
GeneralControl in C# Pin
Member 1697711-Feb-03 22:57
Member 1697711-Feb-03 22:57 
GeneralRe: Control in C# Pin
Nnamdi Onyeyiri12-Feb-03 5:32
Nnamdi Onyeyiri12-Feb-03 5:32 
GeneralRe: Control in C# Pin
Member 1697712-Feb-03 22:33
Member 1697712-Feb-03 22:33 
Hi,
Thanks for replying but i am still confused!

Now i Will return CellsCollection instead of Arraylist.

so there are two classes derived from CollectionBase.
CellsCollection and CellInfoCollection.
CellsCollection is like Collection of Collection(CellInfoCollection representing each row)

public class CellInfoCollection : System.Collections.CollectionBase
{
public CellInfo this[int index]
{
get { return (CellInfo)this.InnerList[index];}
set { this.InnerList[index] = value; }
}
public CellInfoCollection()
{

}
public void Add(CellInfo info)
{
this.InnerList.Add(info);
//this.List.Add(info);
}
}
public class CellsCollection : System.Collections.CollectionBase
{
public CellsCollection this[int index]
{
get { return (CellsCollection)this.InnerList[index];}
set { this.InnerList[index] = value; }
}
public CellsCollection()
{

}
public void Add(CellInfoCollection info)
{
this.InnerList.Add(info);
//this.List.Add(info);
}

}

i populate the values of each cell like :

CellsCollection lst = new CellsCollection();
for(int i= 0;i < m_Rows; i++)
{
lst.Add (new CellInfoCollection());
}
for(int row = 0 ; row < m_Rows; row++)
{
CellInfoCollection innercells = new CellInfoCollection();
for(int col= 0 ;col < m_Columns; col++)
{
innercells.Add(new CellInfo());
}
lst.Add(innercells);
}

and property now looks like:

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content),Description("Get/Set Properties of each Cell")]
public CellsCollection CellsInfo
{
get {return this.lst;}
}

But in properties window if i click CellsInfo it shows me collections equal to no. of rows.Inside each collection there is another collection,if i click on that it gives me error

"Forms that are already visible cannot be displayed as modal Dialog. Set the forms visible property to false before calling ShowDialog"

For inner Collection Seperate dialog should popup!
How should i inform him that he should popup seperate dialog!

Thanks in Advance
Tushar.
GeneralRe: Control in C# Pin
Nnamdi Onyeyiri13-Feb-03 4:57
Nnamdi Onyeyiri13-Feb-03 4:57 
GeneralBorder style of combo box Pin
chito11-Feb-03 22:10
chito11-Feb-03 22:10 
GeneralRe: Border style of combo box Pin
Furty12-Feb-03 18:52
Furty12-Feb-03 18:52 
QuestionControl Library, .net BUG ? Pin
Braulio Dez11-Feb-03 22:04
Braulio Dez11-Feb-03 22:04 
Generaltest desktop bob Pin
caoxiongkun11-Feb-03 21:10
caoxiongkun11-Feb-03 21:10 
GeneralCOM+! Pin
sss_dr11-Feb-03 20:45
sss_dr11-Feb-03 20:45 
QuestionHow to print the content of richtextbox control... Pin
zhoujun11-Feb-03 20:35
zhoujun11-Feb-03 20:35 

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.