Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: form at the top Pin
mikone5-Sep-06 1:46
mikone5-Sep-06 1:46 
AnswerRe: form at the top Pin
Nader Elshehabi4-Sep-06 6:09
Nader Elshehabi4-Sep-06 6:09 
QuestionOpportunistic File locks (OpLocks) Pin
dlaw14894-Sep-06 5:31
dlaw14894-Sep-06 5:31 
Questionhandle animated GIF Pin
TAREQ F ABUZUHRI4-Sep-06 5:27
TAREQ F ABUZUHRI4-Sep-06 5:27 
AnswerRe: handle animated GIF Pin
Nader Elshehabi4-Sep-06 6:06
Nader Elshehabi4-Sep-06 6:06 
GeneralRe: handle animated GIF Pin
Guffa4-Sep-06 8:25
Guffa4-Sep-06 8:25 
GeneralRe: handle animated GIF Pin
Guffa4-Sep-06 8:29
Guffa4-Sep-06 8:29 
Questionglobal settings Pin
e_LA4-Sep-06 4:43
e_LA4-Sep-06 4:43 
Hi
I have a big solution which contains many projects.
I created a class

public class MySettingClass:ApplicationSettingsBase

which contains a few settings.
I would like to have an access to these variables from almost all projects.
How to do that in the most efficient way?

When I want to use any setting variable I create an object

public MySettingClass mySettings = new MySettingClass();

how to make it visible in all projects in solution? I do not want to pass any parameters (there would be too many changes).

Do I have to create an object in each project? No sense.

Thanks for help


Ela
AnswerRe: global settings Pin
Colin Angus Mackay4-Sep-06 4:50
Colin Angus Mackay4-Sep-06 4:50 
GeneralRe: global settings Pin
e_LA4-Sep-06 5:02
e_LA4-Sep-06 5:02 
GeneralRe: global settings Pin
Colin Angus Mackay4-Sep-06 9:19
Colin Angus Mackay4-Sep-06 9:19 
GeneralRe: global settings Pin
e_LA4-Sep-06 22:06
e_LA4-Sep-06 22:06 
GeneralRe: global settings Pin
e_LA4-Sep-06 23:09
e_LA4-Sep-06 23:09 
GeneralRe: global settings Pin
Colin Angus Mackay7-Sep-06 9:25
Colin Angus Mackay7-Sep-06 9:25 
GeneralRe: global settings Pin
e_LA5-Sep-06 0:13
e_LA5-Sep-06 0:13 
GeneralRe: global settings Pin
Colin Angus Mackay7-Sep-06 9:26
Colin Angus Mackay7-Sep-06 9:26 
GeneralRe: global settings Pin
e_LA5-Sep-06 4:01
e_LA5-Sep-06 4:01 
GeneralRe: global settings Pin
Colin Angus Mackay7-Sep-06 9:29
Colin Angus Mackay7-Sep-06 9:29 
GeneralRe: global settings Pin
e_LA6-Sep-06 0:13
e_LA6-Sep-06 0:13 
GeneralRe: global settings Pin
Colin Angus Mackay7-Sep-06 9:32
Colin Angus Mackay7-Sep-06 9:32 
GeneralRe: global settings Pin
e_LA7-Sep-06 23:20
e_LA7-Sep-06 23:20 
QuestionHow I can get control's id property via api ? Pin
Marco22504-Sep-06 3:28
Marco22504-Sep-06 3:28 
Questionform showdialog problem ? help please ... Pin
cmpeng344-Sep-06 3:05
cmpeng344-Sep-06 3:05 
AnswerRe: form showdialog problem ? help please ... [modified] Pin
Martin#4-Sep-06 3:08
Martin#4-Sep-06 3:08 
QuestionC-C# Interop problem Pin
Utkarshraj Atmaram4-Sep-06 2:40
Utkarshraj Atmaram4-Sep-06 2:40 

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.