Click here to Skip to main content
15,917,473 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: EventSetter error ? Pin
Mohammad Dayyan19-Jan-09 19:17
Mohammad Dayyan19-Jan-09 19:17 
GeneralRe: EventSetter error ? Pin
User 27100920-Jan-09 3:18
User 27100920-Jan-09 3:18 
QuestionShared memory Pin
hirenkshah19-Jan-09 2:05
hirenkshah19-Jan-09 2:05 
AnswerRe: Shared memory Pin
Pete O'Hanlon19-Jan-09 2:17
mvePete O'Hanlon19-Jan-09 2:17 
QuestionRotating Image in 3 directional.. Pin
ravi.vellanky19-Jan-09 1:08
ravi.vellanky19-Jan-09 1:08 
AnswerRe: Rotating Image in 3 directional.. Pin
Pete O'Hanlon19-Jan-09 2:13
mvePete O'Hanlon19-Jan-09 2:13 
AnswerRe: Rotating Image in 3 directional.. Pin
Mohammad Dayyan19-Jan-09 16:39
Mohammad Dayyan19-Jan-09 16:39 
QuestionTo Change Date Color in calendar control Pin
priyagee18-Jan-09 23:41
priyagee18-Jan-09 23:41 
AnswerRe: To Change Date Color in calendar control Pin
Michael Sync29-Jan-09 2:27
Michael Sync29-Jan-09 2:27 
GeneralRe: To Change Date Color in calendar control Pin
nidjain12-Apr-09 21:10
nidjain12-Apr-09 21:10 
QuestionConfig Error Pin
Tauseef A18-Jan-09 23:13
Tauseef A18-Jan-09 23:13 
AnswerRe: Config Error Pin
Michael Sync29-Jan-09 2:28
Michael Sync29-Jan-09 2:28 
QuestionUsing Report Viewer Control in WPF Pin
Naks8318-Jan-09 20:28
Naks8318-Jan-09 20:28 
AnswerRe: Using Report Viewer Control in WPF Pin
User 27100919-Jan-09 2:46
User 27100919-Jan-09 2:46 
GeneralViewModel musings Pin
ColinM12318-Jan-09 12:38
ColinM12318-Jan-09 12:38 
GeneralRe: ViewModel musings Pin
User 27100919-Jan-09 2:52
User 27100919-Jan-09 2:52 
GeneralRe: ViewModel musings Pin
Pete O'Hanlon19-Jan-09 3:29
mvePete O'Hanlon19-Jan-09 3:29 
GeneralRe: ViewModel musings Pin
ColinM12319-Jan-09 18:14
ColinM12319-Jan-09 18:14 
QuestionWCF reference in class library Pin
Michael Ulmann17-Jan-09 21:52
Michael Ulmann17-Jan-09 21:52 
AnswerRe: WCF reference in class library Pin
Michael Ulmann17-Jan-09 22:05
Michael Ulmann17-Jan-09 22:05 
GeneralRe: WCF reference in class library Pin
Snufflufugus18-Jan-09 7:25
Snufflufugus18-Jan-09 7:25 
I often use an app.config file in class libraries. This allows the class library to be responsible for its own resources, as well as allowing the classes in the library to access those resources in a strongly typed manner.

To make the resources available to the executing assembly that references such a class library, I add a line to the executing assembly's app.config <configsections> element, creating a section to hold the class library's settings. Of course, you must then recreate the class library's sections within the executing assembly's app.config, and keep them synchronized whenever changes are made.

Obviously, this is not optimal because you must maintain the settings in two different files, but I am not sure of a better way to do it if you want to access those resources within the class library (in a strongly typed manner).

I would love to hear how other Devs out there handle this scenario.

Keith
GeneralRe: WCF reference in class library Pin
Pete O'Hanlon18-Jan-09 8:15
mvePete O'Hanlon18-Jan-09 8:15 
AnswerRe: WCF reference in class library Pin
Ramya Jes4-Mar-10 8:41
Ramya Jes4-Mar-10 8:41 
Questionhow to upload a silverlight website.???? Pin
mayankkothari17-Jan-09 17:02
mayankkothari17-Jan-09 17:02 
AnswerRe: how to upload a silverlight website.???? Pin
Michael Sync29-Jan-09 2:29
Michael Sync29-Jan-09 2: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.