Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: How to print the content of richtextbox control... Pin
Furty11-Feb-03 21:57
Furty11-Feb-03 21:57 
GeneralPlease introduce me some samplecodes or tutorialls about... Pin
zhoujun11-Feb-03 20:21
zhoujun11-Feb-03 20:21 
GeneralRe: Please introduce me some samplecodes or tutorialls about... Pin
567890123412-Feb-03 3:02
567890123412-Feb-03 3:02 
QuestionCan crystal reports in visual studio .net... Pin
zhoujun11-Feb-03 20:14
zhoujun11-Feb-03 20:14 
Generalwhats a easy way to change the color of Specific word in rtf field Pin
jtmtv1811-Feb-03 19:18
jtmtv1811-Feb-03 19:18 
QuestionHow to pass values to crystal reports viewer's parameterfield? Pin
zhoujun11-Feb-03 16:17
zhoujun11-Feb-03 16:17 
GeneralRe: Implementing Carlos Perez's C# Enhanced Progress Bar Control Pin
leppie11-Feb-03 9:52
leppie11-Feb-03 9:52 
GeneralRe: Implementing Carlos Perez's C# Enhanced Progress Bar Control Pin
Ray Cassick11-Feb-03 10:03
Ray Cassick11-Feb-03 10:03 
GeneralTabControl Pin
monrobot1311-Feb-03 9:41
monrobot1311-Feb-03 9:41 
GeneralRe: TabControl Pin
leppie11-Feb-03 9:47
leppie11-Feb-03 9:47 

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.