Click here to Skip to main content
15,921,694 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGrid Update Problem Pin
Syed Shahid Hussain11-Sep-06 7:40
Syed Shahid Hussain11-Sep-06 7:40 
QuestionHow to change "ReadOnly" value with Controls[] Pin
N3croman11-Sep-06 6:03
N3croman11-Sep-06 6:03 
AnswerRe: How to change "ReadOnly" value with Controls[] Pin
Nader Elshehabi11-Sep-06 6:15
Nader Elshehabi11-Sep-06 6:15 
GeneralRe: How to change "ReadOnly" value with Controls[] Pin
N3croman11-Sep-06 6:23
N3croman11-Sep-06 6:23 
GeneralRe: How to change "ReadOnly" value with Controls[] Pin
Judah Gabriel Himango11-Sep-06 7:09
sponsorJudah Gabriel Himango11-Sep-06 7:09 
Question"This assembly does not allow partially trusted callers" when program executed from network drive Pin
Nigor11-Sep-06 6:01
Nigor11-Sep-06 6:01 
AnswerRe: "This assembly does not allow partially trusted callers" when program executed from network drive Pin
Judah Gabriel Himango11-Sep-06 7:02
sponsorJudah Gabriel Himango11-Sep-06 7:02 
QuestionGlobally accessible properties Pin
WetRivrRat11-Sep-06 5:47
WetRivrRat11-Sep-06 5:47 
hey all, i'm sure this is a dumb question:
but...
How do I create / access / modify properties that are available to all classes of my solution?
iow, I have a main namespace, and multiple forms that are all separate classes/.dlls.
I need to beable to access the properties of the main form throughout the rest of the application, regardless of whether or not the sub classes are instaniated yet.

So..
ClassA(mainFrm) calls ClassB(subUsrCrtl1) which does some work then calls ClassC(subUsrCtrl2) which displays extended info from the work done in ClassB. Then ClassA can call ClassD(E,F,G,etc)(subUsrCrtl3(,4,5,6,etc)) who make other information available based on the work done in ClassB. Many of the classes that are available are not used everytime, so they aren't instantiated yet.
I need to beable to retrieve data from the work that is completed in ClassB and use that data throughout all available classes.

Currently I'm only able to access that data in a class to class relationship where I end up with either old or null values becuase i'm having to instantiate the required class again from the current class...(i.e. ClassA calls ClassD, ClassD needs data from ClassB, so ClassD instantiates new ClassB but that returns null data...)

hope this make sense, cause i'm lost....

ehlp.... wait i can't even spell help...


string Beautiful;
Beautiful = "ignorant";
label1.Text = "The world is full of " + Beautiful +" people.";


Why is common sense such an un-common comodity?

AnswerRe: Globally accessible properties Pin
Bijesh11-Sep-06 6:39
Bijesh11-Sep-06 6:39 
QuestionCompile with specified version of .NET framework Pin
dobrzan11-Sep-06 5:37
dobrzan11-Sep-06 5:37 
AnswerRe: Compile with specified version of .NET framework Pin
Insincere Dave11-Sep-06 6:00
Insincere Dave11-Sep-06 6:00 
AnswerRe: Compile with specified version of .NET framework Pin
WetRivrRat11-Sep-06 6:05
WetRivrRat11-Sep-06 6:05 
QuestionXML reader problem Pin
Scalee11-Sep-06 4:11
Scalee11-Sep-06 4:11 
AnswerRe: XML reader problem Pin
Not Active11-Sep-06 4:35
mentorNot Active11-Sep-06 4:35 
GeneralRe: XML reader problem Pin
Scalee11-Sep-06 5:58
Scalee11-Sep-06 5:58 
GeneralRe: XML reader problem Pin
Not Active11-Sep-06 6:36
mentorNot Active11-Sep-06 6:36 
GeneralRe: XML reader problem Pin
Scalee11-Sep-06 8:06
Scalee11-Sep-06 8:06 
Questionhow to send letters like é § è ç to the serial com port? Pin
faladrim11-Sep-06 3:39
faladrim11-Sep-06 3:39 
AnswerRe: how to send letters like é § è ç to the serial com port? Pin
Nader Elshehabi11-Sep-06 6:09
Nader Elshehabi11-Sep-06 6:09 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim11-Sep-06 20:45
faladrim11-Sep-06 20:45 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
Nader Elshehabi11-Sep-06 21:23
Nader Elshehabi11-Sep-06 21:23 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim11-Sep-06 22:04
faladrim11-Sep-06 22:04 
AnswerRe: how to send letters like é § è ç to the serial com port? Pin
Nader Elshehabi12-Sep-06 3:45
Nader Elshehabi12-Sep-06 3:45 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim12-Sep-06 20:59
faladrim12-Sep-06 20:59 
GeneralRe: how to send letters like é § è ç to the serial com port? Pin
faladrim12-Sep-06 22:06
faladrim12-Sep-06 22:06 

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.