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

C#

 
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;

GeneralRe: desable a menustrip item Pin
fjdiewornncalwe21-Dec-10 9:51
professionalfjdiewornncalwe21-Dec-10 9:51 
GeneralRe: desable a menustrip item Pin
musefan22-Dec-10 2:29
musefan22-Dec-10 2:29 
GeneralRe: desable a menustrip item Pin
fjdiewornncalwe22-Dec-10 3:35
professionalfjdiewornncalwe22-Dec-10 3:35 
GeneralRe: desable a menustrip item Pin
musefan22-Dec-10 4:06
musefan22-Dec-10 4:06 
AnswerRe: desable a menustrip item Pin
AussieLew21-Dec-10 13:08
AussieLew21-Dec-10 13:08 
QuestionSTUN/NAT Traversal -> Connecting Problem Pin
softwarejaeger21-Dec-10 2:08
softwarejaeger21-Dec-10 2:08 
AnswerRe: STUN/NAT Traversal -> Connecting Problem Pin
Pete O'Hanlon21-Dec-10 3:05
mvePete O'Hanlon21-Dec-10 3:05 
Questionshowing more than one row in a single cell in datagridview Pin
Erdinc2720-Dec-10 23:35
Erdinc2720-Dec-10 23:35 
AnswerRe: showing more than one row in a single cell in datagridview Pin
Eddy Vluggen21-Dec-10 7:56
professionalEddy Vluggen21-Dec-10 7:56 
GeneralRe: showing more than one row in a single cell in datagridview Pin
Erdinc2721-Dec-10 22:16
Erdinc2721-Dec-10 22:16 
GeneralRe: showing more than one row in a single cell in datagridview Pin
Eddy Vluggen22-Dec-10 0:38
professionalEddy Vluggen22-Dec-10 0:38 
GeneralRe: showing more than one row in a single cell in datagridview [modified] Pin
Erdinc2722-Dec-10 21:35
Erdinc2722-Dec-10 21:35 
GeneralRe: showing more than one row in a single cell in datagridview Pin
Eddy Vluggen23-Dec-10 22:37
professionalEddy Vluggen23-Dec-10 22:37 
QuestionToolStripControlHost Info? [modified] Pin
Rafone20-Dec-10 13:40
Rafone20-Dec-10 13:40 
AnswerRe: ToolStripControlHost Info? Pin
Abhinav S20-Dec-10 17:19
Abhinav S20-Dec-10 17:19 
AnswerRe: ToolStripControlHost Info? Pin
RaviRanjanKr20-Dec-10 18:41
professionalRaviRanjanKr20-Dec-10 18:41 
Newstell me Pin
mohammed alshaweesh20-Dec-10 12:17
mohammed alshaweesh20-Dec-10 12:17 

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.