Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
GeneralRe: I'm looking for ideas or examples on programmatically reading the contents inside of a remote desktop window Pin
turbosupramk321-Dec-10 16:24
turbosupramk321-Dec-10 16:24 
GeneralRe: I'm looking for ideas or examples on programmatically reading the contents inside of a remote desktop window Pin
turbosupramk321-Dec-10 16:31
turbosupramk321-Dec-10 16:31 
QuestionASP.NET C# set GridView Column htmlencode to false from C# Pin
al3xutzu0021-Dec-10 9:29
al3xutzu0021-Dec-10 9:29 
Questionc# and sql recursive data query Pin
peropata21-Dec-10 5:45
peropata21-Dec-10 5:45 
AnswerRe: c# and sql recursive data query Pin
J4amieC21-Dec-10 6:01
J4amieC21-Dec-10 6:01 
AnswerRe: c# and sql recursive data query Pin
Not Active21-Dec-10 8:21
mentorNot Active21-Dec-10 8:21 
AnswerRe: c# and sql recursive data query Pin
PIEBALDconsult21-Dec-10 8:58
mvePIEBALDconsult21-Dec-10 8:58 
GeneralRe: c# and sql recursive data query Pin
peropata21-Dec-10 9:19
peropata21-Dec-10 9:19 
GeneralRe: c# and sql recursive data query Pin
PIEBALDconsult21-Dec-10 10:10
mvePIEBALDconsult21-Dec-10 10:10 
AnswerRe: c# and sql recursive data query Pin
Mycroft Holmes21-Dec-10 12:05
professionalMycroft Holmes21-Dec-10 12:05 
GeneralRe: c# and sql recursive data query Pin
peropata21-Dec-10 22:08
peropata21-Dec-10 22:08 
Questiondesable a menustrip item Pin
mabrahao21-Dec-10 4:11
mabrahao21-Dec-10 4:11 
AnswerRe: desable a menustrip item Pin
fjdiewornncalwe21-Dec-10 4:16
professionalfjdiewornncalwe21-Dec-10 4:16 
GeneralRe: desable a menustrip item Pin
mabrahao21-Dec-10 4:37
mabrahao21-Dec-10 4:37 
GeneralRe: desable a menustrip item Pin
fjdiewornncalwe21-Dec-10 5:07
professionalfjdiewornncalwe21-Dec-10 5:07 
GeneralRe: desable a menustrip item Pin
mabrahao21-Dec-10 6:07
mabrahao21-Dec-10 6:07 
AnswerRe: desable a menustrip item Pin
phil.o21-Dec-10 4:52
professionalphil.o21-Dec-10 4:52 
GeneralRe: desable a menustrip item Pin
mabrahao21-Dec-10 4:57
mabrahao21-Dec-10 4:57 
GeneralRe: desable a menustrip item Pin
phil.o21-Dec-10 5:02
professionalphil.o21-Dec-10 5:02 
GeneralRe: desable a menustrip item Pin
fjdiewornncalwe21-Dec-10 5:10
professionalfjdiewornncalwe21-Dec-10 5:10 
GeneralRe: desable a menustrip item Pin
OriginalGriff21-Dec-10 5:26
mveOriginalGriff21-Dec-10 5:26 
GeneralRe: desable a menustrip item [modified] Pin
phil.o21-Dec-10 6:07
professionalphil.o21-Dec-10 6:07 
GeneralRe: desable a menustrip item Pin
fjdiewornncalwe21-Dec-10 9:59
professionalfjdiewornncalwe21-Dec-10 9:59 
GeneralRe: desable a menustrip item Pin
phil.o21-Dec-10 21:28
professionalphil.o21-Dec-10 21:28 
GeneralRe: desable a menustrip item Pin
musefan21-Dec-10 6:31
musefan21-Dec-10 6:31 
I do not see how this solution is any different from your static class. Sure, your not communicating directly with Form1 with your static class but you are still referencing properties used by Form1.

Plus if you call a function in form1 from form2 you get instant result (without need for focus) - you could also create an event in Form2 that form1 responds to.

I don't claim to have a better solution, just wanted to see if you could justify why the static class is a better option?
return 5;

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.