Click here to Skip to main content
15,908,775 members
Home / Discussions / C#
   

C#

 
QuestionC# Trasnparrnt Control Pin
C.CoderCreator25-Sep-10 21:58
C.CoderCreator25-Sep-10 21:58 
AnswerRe: C# Trasnparrnt Control Pin
OriginalGriff25-Sep-10 22:46
mveOriginalGriff25-Sep-10 22:46 
GeneralRe: C# Trasnparrnt Control Pin
C.CoderCreator25-Sep-10 22:55
C.CoderCreator25-Sep-10 22:55 
GeneralRe: C# Trasnparrnt Control Pin
OriginalGriff25-Sep-10 22:59
mveOriginalGriff25-Sep-10 22:59 
GeneralRe: C# Trasnparrnt Control Pin
C.CoderCreator25-Sep-10 23:01
C.CoderCreator25-Sep-10 23:01 
GeneralRe: C# Trasnparrnt Control Pin
OriginalGriff25-Sep-10 23:08
mveOriginalGriff25-Sep-10 23:08 
QuestionHow to set alignments of form controls dynamically. Pin
priyamtheone25-Sep-10 20:02
priyamtheone25-Sep-10 20:02 
AnswerRe: How to set alignments of form controls dynamically. Pin
Mycroft Holmes25-Sep-10 23:46
professionalMycroft Holmes25-Sep-10 23:46 
AnswerRe: How to set alignments of form controls dynamically. Pin
priyamtheone29-Sep-10 3:26
priyamtheone29-Sep-10 3:26 
Questioncustom control problem in design time Pin
reza assar24-Sep-10 23:27
reza assar24-Sep-10 23:27 
AnswerRe: custom control problem in design time Pin
reza assar25-Sep-10 2:24
reza assar25-Sep-10 2:24 
AnswerRe: custom control problem in design time Pin
Gonzalo Cao26-Sep-10 22:36
Gonzalo Cao26-Sep-10 22:36 
GeneralRe: custom control problem in design time Pin
reza assar28-Sep-10 22:59
reza assar28-Sep-10 22:59 
QuestionLinkedIn using C# Pin
Jassim Rahma24-Sep-10 13:31
Jassim Rahma24-Sep-10 13:31 
AnswerRe: LinkedIn using C# Pin
Mycroft Holmes24-Sep-10 15:35
professionalMycroft Holmes24-Sep-10 15:35 
QuestionWebService not returning Color Pin
Luc Pattyn24-Sep-10 10:26
sitebuilderLuc Pattyn24-Sep-10 10:26 
AnswerRe: WebService not returning Color Pin
PIEBALDconsult24-Sep-10 12:19
mvePIEBALDconsult24-Sep-10 12:19 
GeneralRe: WebService not returning Color [modified] Pin
Luc Pattyn24-Sep-10 12:32
sitebuilderLuc Pattyn24-Sep-10 12:32 
GeneralRe: WebService not returning Color Pin
PIEBALDconsult24-Sep-10 13:28
mvePIEBALDconsult24-Sep-10 13:28 
GeneralRe: WebService not returning Color Pin
Luc Pattyn24-Sep-10 14:27
sitebuilderLuc Pattyn24-Sep-10 14:27 
GeneralRe: WebService not returning Color Pin
PIEBALDconsult24-Sep-10 22:07
mvePIEBALDconsult24-Sep-10 22:07 
GeneralRe: WebService not returning Color Pin
Luc Pattyn25-Sep-10 4:55
sitebuilderLuc Pattyn25-Sep-10 4:55 
GeneralRe: WebService not returning Color Pin
Keith Barrow25-Sep-10 1:34
professionalKeith Barrow25-Sep-10 1:34 
The XML you transfer in web service calls are pretty much just bags of data that allow you to populate objects at either end. Unfortunately this is hidden from the outset in the .net framework tools. For example, you can create a "proper" object with methods, but these are lost on the client side if you just use the generated proxy classes the messages are deserialized into (at least not without extra developer jiggery-pokery).

Web services should theoretically be interoperable (e.g. a Java/ C++ clients should be able to call a .net web-service) if the Color object was directly serializable across the web service it would break this pattern as it is specific to .net. You have two [easy] ways to handle your problem: send the hex colour value as a string or (better) convert it to an integer. Obviously this will involve a little work to re-create the System.Color value.

GeneralRe: WebService not returning Color [modified] Pin
PIEBALDconsult25-Sep-10 4:19
mvePIEBALDconsult25-Sep-10 4:19 
GeneralRe: WebService not returning Color Pin
Luc Pattyn25-Sep-10 4:49
sitebuilderLuc Pattyn25-Sep-10 4:49 

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.