Click here to Skip to main content
15,916,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# and problems working with Excel2000 Pin
Marix18-Feb-03 1:57
Marix18-Feb-03 1:57 
GeneralRe: C# and problems working with Excel2000 Pin
Alexander Kojevnikov19-Feb-03 6:43
Alexander Kojevnikov19-Feb-03 6:43 
GeneralRe: C# and problems working with Excel2000 Pin
Alexander Kojevnikov19-Feb-03 6:48
Alexander Kojevnikov19-Feb-03 6:48 
GeneralRe: C# and problems working with Excel2000 Pin
Marix20-Feb-03 2:21
Marix20-Feb-03 2:21 
QuestionAny example of TAPI Programming in C#? Pin
xdavidx17-Feb-03 19:14
xdavidx17-Feb-03 19:14 
AnswerRe: Any example of TAPI Programming in C#? Pin
Michael P Butler17-Feb-03 20:21
Michael P Butler17-Feb-03 20:21 
AnswerRe: Any example of TAPI Programming in C#? Pin
Richard Deeming18-Feb-03 1:06
mveRichard Deeming18-Feb-03 1:06 
GeneralProperty returns Collection Pin
Member 1697717-Feb-03 18:08
Member 1697717-Feb-03 18:08 
Hi,All

I am writting UserControl ,which has property that returns my own collection.
Property looks like this

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content),Description("Get/Set Properties of each Cell")]
public ColumnsCollection AddColumns
{
get{ return clmCollection;}
set{ clmCollection = value;}
}

ColumnsCollection class is derived from CollectionBase(contains collection of ChbColumns objects) which looks like:

public class ColumnsCollection : System.Collections.CollectionBase
{
public ChbColumns this[int index]
{
get{return (ChbColumns)this.InnerList[index];}
set{this.InnerList[index] = value;}
}
public ColumnsCollection()
{
}
public int Add(ChbColumns info)
{
this.InnerList.Add(info);
}
}

ChbColumns class is simple class which contains bool value:


public class ChbColumns
{
private bool m_ShowCheckBox;
public ChbColumns()
{
m_ShowCheckBox = false;
}
public bool ShowCheckBox
{
get{return m_ShowCheckBox;}
set{m_ShowCheckBox = value;}
}
}

Now at design time when i click AddColumns property Collection Editor opens when i add values in it and say ok it doesn't go in set part!(at run time it works)
where should i collect the changes made to this collection(From Collection Editor) at design time?

Thanks and Regards
Tushar.

GeneralWindows Form and Command Line Pin
Braincrash17-Feb-03 16:47
Braincrash17-Feb-03 16:47 
GeneralRe: Windows Form and Command Line Pin
jtmtv1817-Feb-03 19:33
jtmtv1817-Feb-03 19:33 
GeneralRe: Windows Form and Command Line Pin
Braincrash18-Feb-03 7:02
Braincrash18-Feb-03 7:02 
GeneralRe: Windows Form and Command Line Pin
jtmtv1818-Feb-03 11:28
jtmtv1818-Feb-03 11:28 
GeneralRe: Windows Form and Command Line Pin
Braincrash18-Feb-03 13:59
Braincrash18-Feb-03 13:59 
Generalchanging encryption password size Pin
jtmtv1817-Feb-03 15:22
jtmtv1817-Feb-03 15:22 
GeneralRe: changing encryption password size Pin
Furty17-Feb-03 17:01
Furty17-Feb-03 17:01 
GeneralRe: changing encryption password size Pin
jtmtv1817-Feb-03 19:31
jtmtv1817-Feb-03 19:31 
GeneralRe: changing encryption password size Pin
Furty18-Feb-03 9:40
Furty18-Feb-03 9:40 
GeneralRe: changing encryption password size Pin
jtmtv1818-Feb-03 12:10
jtmtv1818-Feb-03 12:10 
GeneralSecurity question Pin
Omega50117-Feb-03 13:30
Omega50117-Feb-03 13:30 
GeneralRe: Security question Pin
jtmtv1817-Feb-03 13:46
jtmtv1817-Feb-03 13:46 
GeneralRe: Security question Pin
Omega50117-Feb-03 14:07
Omega50117-Feb-03 14:07 
GeneralRe: Security question Pin
jtmtv1817-Feb-03 14:16
jtmtv1817-Feb-03 14:16 
GeneralRe: Security question Pin
Omega50117-Feb-03 15:21
Omega50117-Feb-03 15:21 
GeneralRe: Security question Pin
Furty17-Feb-03 16:55
Furty17-Feb-03 16:55 
GeneralReading Files From Offset Pin
afronaut17-Feb-03 13:19
afronaut17-Feb-03 13:19 

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.