Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
GeneralRe: [Howto] C# and DVR media port programming Pin
Benjie Fallar III7-Nov-14 19:42
Benjie Fallar III7-Nov-14 19:42 
GeneralRe: [Howto] C# and DVR media port programming Pin
Eddy Vluggen8-Nov-14 3:27
professionalEddy Vluggen8-Nov-14 3:27 
Questionapplication register queries in sql file or in xml files. Pin
Ibrahim.elh6-Nov-14 23:50
Ibrahim.elh6-Nov-14 23:50 
QuestionRe: application register queries in sql file or in xml files. Pin
Eddy Vluggen7-Nov-14 0:26
professionalEddy Vluggen7-Nov-14 0:26 
AnswerRe: application register queries in sql file or in xml files. Pin
Ibrahim.elh7-Nov-14 1:52
Ibrahim.elh7-Nov-14 1:52 
QuestionRe: application register queries in sql file or in xml files. Pin
Eddy Vluggen7-Nov-14 2:58
professionalEddy Vluggen7-Nov-14 2:58 
AnswerRe: application register queries in sql file or in xml files. Pin
Ibrahim.elh7-Nov-14 3:29
Ibrahim.elh7-Nov-14 3:29 
GeneralRe: application register queries in sql file or in xml files. Pin
Eddy Vluggen7-Nov-14 7:27
professionalEddy Vluggen7-Nov-14 7:27 
AnswerRe: application register queries in sql file or in xml files. Pin
PIEBALDconsult7-Nov-14 18:06
mvePIEBALDconsult7-Nov-14 18:06 
GeneralRe: application register queries in sql file or in xml files. Pin
Ibrahim.elh7-Nov-14 21:26
Ibrahim.elh7-Nov-14 21:26 
GeneralRe: application register queries in sql file or in xml files. Pin
Mycroft Holmes7-Nov-14 22:51
professionalMycroft Holmes7-Nov-14 22:51 
QuestionCan we only store Hours and minutes in DateTime Pin
bhausahebshedbale6-Nov-14 16:16
bhausahebshedbale6-Nov-14 16:16 
AnswerRe: Can we only store Hours and minutes in DateTime Pin
Garth J Lancaster6-Nov-14 16:30
professionalGarth J Lancaster6-Nov-14 16:30 
GeneralRe: Can we only store Hours and minutes in DateTime Pin
bhausahebshedbale6-Nov-14 17:39
bhausahebshedbale6-Nov-14 17:39 
AnswerRe: Can we only store Hours and minutes in DateTime Pin
Praneet Nadkar6-Nov-14 17:01
Praneet Nadkar6-Nov-14 17:01 
GeneralRe: Can we only store Hours and minutes in DateTime Pin
bhausahebshedbale6-Nov-14 17:36
bhausahebshedbale6-Nov-14 17:36 
GeneralRe: Can we only store Hours and minutes in DateTime Pin
Garth J Lancaster6-Nov-14 17:47
professionalGarth J Lancaster6-Nov-14 17:47 
AnswerRe: Can we only store Hours and minutes in DateTime Pin
OriginalGriff6-Nov-14 22:44
mveOriginalGriff6-Nov-14 22:44 
GeneralRe: Can we only store Hours and minutes in DateTime Pin
Garth J Lancaster6-Nov-14 22:58
professionalGarth J Lancaster6-Nov-14 22:58 
GeneralRe: Can we only store Hours and minutes in DateTime Pin
OriginalGriff6-Nov-14 23:30
mveOriginalGriff6-Nov-14 23:30 
AnswerRe: Can we only store Hours and minutes in DateTime Pin
OriginalGriff6-Nov-14 22:48
mveOriginalGriff6-Nov-14 22:48 
AnswerRe: Can we only store Hours and minutes in DateTime Pin
V.6-Nov-14 23:00
professionalV.6-Nov-14 23:00 
AnswerRe: Can we only store Hours and minutes in DateTime Pin
jschell7-Nov-14 12:43
jschell7-Nov-14 12:43 
QuestionChange TypeDescriptor of property in runtime Pin
Mc_Topaz6-Nov-14 3:49
Mc_Topaz6-Nov-14 3:49 
AnswerRe: Change TypeDescriptor of property in runtime Pin
Eddy Vluggen6-Nov-14 9:45
professionalEddy Vluggen6-Nov-14 9:45 
Theoretically, you cannot change the value of the attribute during runtime; it is compiled. Hence, recompile and it would work. That would require unloading of the type, which is a little bit overkill.

Alternatively, you create a TypeConverter that works as a proxy, using either the implementation of NameList or SentenceList as the actual implementation.

Alternatively, you create two exact the same classes (different names though), decorate each with its own converter, and create a converter to kick the data from object1(class1) to object2(class2).
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

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.