Click here to Skip to main content
15,885,757 members
Home / Discussions / C#
   

C#

 
Questionhow to use a macro in c# Pin
Ajithevn22-Sep-09 0:58
Ajithevn22-Sep-09 0:58 
AnswerRe: how to use a macro in c# Pin
Programm3r22-Sep-09 1:39
Programm3r22-Sep-09 1:39 
GeneralRe: how to use a macro in c# Pin
Ajithevn22-Sep-09 2:29
Ajithevn22-Sep-09 2:29 
GeneralRe: how to use a macro in c# Pin
Programm3r22-Sep-09 2:50
Programm3r22-Sep-09 2:50 
GeneralRe: how to use a macro in c# Pin
Programm3r22-Sep-09 2:53
Programm3r22-Sep-09 2:53 
GeneralRe: how to use a macro in c# Pin
thecodedemon23-Sep-09 13:30
thecodedemon23-Sep-09 13:30 
AnswerRe: how to use a macro in c# Pin
Programm3r22-Sep-09 2:57
Programm3r22-Sep-09 2:57 
QuestionPlaying with Enumerations Pin
ezazazel22-Sep-09 0:45
ezazazel22-Sep-09 0:45 
Hi guys!

Maybe someone can help me with this:

I have a library C which controls a device and it's methods take enumerations as parameters.
Then I have a library B which references C and "wraps" the complex commands from library C in something useful and maintainable.
The last thing I have is an assembly A which does the UI stuff. It references ONLY library B.
Nevertheless B needs the values of the enumerations of C to control the device (and to fill comboboxes with the enum-Values)

I need a way to pass the information, which value of an enumeration is needed from A to B.
I do not want to reference C in A (that's how I would get the enumerations as well).

Which would be a good approach to solve this problem.

Help would really be appreciated!
AnswerRe: Playing with Enumerations Pin
harold aptroot22-Sep-09 0:54
harold aptroot22-Sep-09 0:54 
AnswerRe: Playing with Enumerations Pin
Gideon Engelberth22-Sep-09 2:51
Gideon Engelberth22-Sep-09 2:51 
GeneralRe: Playing with Enumerations Pin
ezazazel22-Sep-09 6:49
ezazazel22-Sep-09 6:49 
AnswerRe: Playing with Enumerations Pin
PIEBALDconsult22-Sep-09 4:07
mvePIEBALDconsult22-Sep-09 4:07 
GeneralRe: Playing with Enumerations Pin
ezazazel22-Sep-09 6:47
ezazazel22-Sep-09 6:47 
GeneralRe: Playing with Enumerations Pin
PIEBALDconsult22-Sep-09 13:52
mvePIEBALDconsult22-Sep-09 13:52 
QuestionGetting data from a Listbox controlled by WPF and XML Pin
reg.orton22-Sep-09 0:24
reg.orton22-Sep-09 0:24 
AnswerRe: Getting data from a Listbox controlled by WPF and XML Pin
vivasaayi22-Sep-09 19:37
vivasaayi22-Sep-09 19:37 
GeneralRe: Getting data from a Listbox controlled by WPF and XML Pin
reg.orton23-Sep-09 3:37
reg.orton23-Sep-09 3:37 
QuestionHow to insert javascript funtion dynamically ? Pin
Jacobb Michael21-Sep-09 23:38
Jacobb Michael21-Sep-09 23:38 
AnswerRe: How to insert javascript funtion dynamically ? Pin
Amit Patel198521-Sep-09 23:49
Amit Patel198521-Sep-09 23:49 
GeneralRe: How to insert javascript funtion dynamically ? Pin
Jacobb Michael21-Sep-09 23:52
Jacobb Michael21-Sep-09 23:52 
AnswerRe: How to insert javascript funtion dynamically ? Pin
Amit Patel198522-Sep-09 0:03
Amit Patel198522-Sep-09 0:03 
GeneralRe: How to insert javascript funtion dynamically ? Pin
Jacobb Michael22-Sep-09 0:10
Jacobb Michael22-Sep-09 0:10 
Questionhow to Collect selected text in the richtextbox Pin
amir-haghighi21-Sep-09 22:40
amir-haghighi21-Sep-09 22:40 
AnswerRe: how to Collect selected text in the richtextbox Pin
SummerBulb21-Sep-09 23:18
SummerBulb21-Sep-09 23:18 
AnswerRe: how to Collect selected text in the richtextbox Pin
OriginalGriff21-Sep-09 23:29
mveOriginalGriff21-Sep-09 23:29 

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.