Click here to Skip to main content
15,891,375 members
Home / Discussions / C#
   

C#

 
QuestionDate Issue Pin
bhushanvinay114-Sep-05 7:52
bhushanvinay114-Sep-05 7:52 
AnswerRe: Date Issue Pin
Guffa14-Sep-05 9:46
Guffa14-Sep-05 9:46 
GeneralRe: Date Issue Pin
bhushanvinay14-Sep-05 10:01
bhushanvinay14-Sep-05 10:01 
GeneralRe: Date Issue Pin
Guffa15-Sep-05 2:04
Guffa15-Sep-05 2:04 
QuestionChange Colour of Rows in DataGrid Pin
zaboboa14-Sep-05 6:33
zaboboa14-Sep-05 6:33 
Questionhow do i deploy an application that uses crystal reports? Pin
AfzalHassen14-Sep-05 4:30
AfzalHassen14-Sep-05 4:30 
AnswerRe: how do i deploy an application that uses crystal reports? Pin
Mark0614-Sep-05 11:40
Mark0614-Sep-05 11:40 
QuestionUserControl not marked as serializable Pin
edvler14-Sep-05 3:11
edvler14-Sep-05 3:11 
Hi there,

I'm creating a Windows Forms Application that primarly uses User and other derived Controls in order to extend their properties.

One of the property is a collection - the type is derived from System.Collections.CollectionBase. The type of the elements is a class which only contains some data elements.

To have a user friendly selection in the property grid of Visual Studio a type converter class is implemented for both - the collection and the elements class. The Serializable-Attribute is set too, and the ToString-Method is overriden for the elements class.

The controls using the classes described above works fine in the Forms Designer except cut or copy an element into the clipboard produces a message box with the text

The type MyApplication.Controls.MyControl in Assembly ... is not marked as serializable.

FYI: The collection and item class is defined in a sepparate Assembly and the Controls are also in a different Assembly.

Any suggestions are welcome

Thanks in advance

Horst
QuestionHow to collapse an array? Pin
Yannielsen14-Sep-05 3:09
Yannielsen14-Sep-05 3:09 
AnswerRe: How to collapse an array? Pin
Dan Neely14-Sep-05 4:08
Dan Neely14-Sep-05 4:08 
AnswerRe: How to collapse an array? Pin
esjq14-Sep-05 4:30
esjq14-Sep-05 4:30 
QuestionXML serialization Pin
Yoyosch14-Sep-05 2:46
Yoyosch14-Sep-05 2:46 
Questionhow to handle locations of innet control of a user control Pin
arusmemon14-Sep-05 2:37
arusmemon14-Sep-05 2:37 
Questioncreating control array in runtime Pin
liqnit14-Sep-05 2:33
liqnit14-Sep-05 2:33 
AnswerRe: creating control array in runtime Pin
Dave Kreskowiak14-Sep-05 4:51
mveDave Kreskowiak14-Sep-05 4:51 
GeneralRe: creating control array in runtime Pin
liqnit17-Sep-05 19:44
liqnit17-Sep-05 19:44 
Questionhow to find type of Dll Pin
Anonymous14-Sep-05 2:02
Anonymous14-Sep-05 2:02 
AnswerRe: how to find type of Dll Pin
miah alom14-Sep-05 4:19
miah alom14-Sep-05 4:19 
QuestionCan you change the protected statusof a file? Pin
Anonymous14-Sep-05 1:46
Anonymous14-Sep-05 1:46 
AnswerRe: Can you change the protected statusof a file? Pin
Dave Kreskowiak14-Sep-05 4:46
mveDave Kreskowiak14-Sep-05 4:46 
QuestionExcel macro from c# Pin
Lailinha14-Sep-05 1:43
Lailinha14-Sep-05 1:43 
AnswerRe: Excel macro from c# Pin
tekken2214-Sep-05 8:15
tekken2214-Sep-05 8:15 
GeneralRe: Excel macro from c# Pin
Lailinha14-Sep-05 8:29
Lailinha14-Sep-05 8:29 
QuestionHow do set another folder than \bin for my assemblies when "Local Copy"... Pin
MaWeRic14-Sep-05 1:28
MaWeRic14-Sep-05 1:28 
QuestionC# from Excel Pin
Lailinha13-Sep-05 23:56
Lailinha13-Sep-05 23:56 

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.