Click here to Skip to main content
16,004,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Stack Overflow Pin
Nagy Vilmos19-May-09 22:05
professionalNagy Vilmos19-May-09 22:05 
AnswerRe: Stack Overflow Pin
Guffa19-May-09 22:06
Guffa19-May-09 22:06 
GeneralRe: Stack Overflow Pin
Denis J. González20-May-09 3:50
Denis J. González20-May-09 3:50 
AnswerRe: Stack Overflow Pin
Guffa22-May-09 13:02
Guffa22-May-09 13:02 
AnswerRe: Stack Overflow Pin
0x3c019-May-09 22:18
0x3c019-May-09 22:18 
GeneralRe: Stack Overflow Pin
Denis J. González20-May-09 3:48
Denis J. González20-May-09 3:48 
Questiondisabiling of menustrip in a child form i Pin
reddineni19-May-09 20:48
reddineni19-May-09 20:48 
AnswerRe: disabiling of menustrip in a child form i Pin
musefan19-May-09 22:55
musefan19-May-09 22:55 
how are you calling your child form?

something like FormChild.ShowDialog() ?

If so then you can simply do...

if(FormChild.ShowDialog() == DialogResult.OK)//Which should be set when you click confirm on child form
{
    this.menuStrip.Enabled = true;//enable your menu strip
}


Need it in one line?

this.menuStrip.Enabled = FormChild.ShowDialog() == DialogResult.OK;//this will re-disable the menustrip if the child control is ever opened again and 'cancel' is clicked.


Life goes very fast. Tomorrow, today is already yesterday.

QuestionUsing Digital Pen (or Optical Pen) in C#. Pin
hdv21219-May-09 18:42
hdv21219-May-09 18:42 
AnswerRe: Using Digital Pen (or Optical Pen) in C#. Pin
Member 39903293-Sep-09 20:59
Member 39903293-Sep-09 20:59 
GeneralRe: Using Digital Pen (or Optical Pen) in C#. Pin
hdv2125-Sep-09 7:57
hdv2125-Sep-09 7:57 
AnswerRe: Using Digital Pen (or Optical Pen) in C#. Pin
barankamali19-Jan-19 18:00
barankamali19-Jan-19 18:00 
Questionwhat are the dependencies or settings required for browser for supporting ManagementObject ? Pin
svt gdwl19-May-09 18:39
svt gdwl19-May-09 18:39 
QuestionAsyncCallback and multi threading Pin
yesu prakash19-May-09 18:39
yesu prakash19-May-09 18:39 
GeneralRe: AsyncCallback and multi threading Pin
harold aptroot19-May-09 23:32
harold aptroot19-May-09 23:32 
GeneralRe: AsyncCallback and multi threading Pin
yesu prakash20-May-09 0:44
yesu prakash20-May-09 0:44 
GeneralRe: AsyncCallback and multi threading Pin
harold aptroot20-May-09 1:09
harold aptroot20-May-09 1:09 
AnswerRe: AsyncCallback and multi threading Pin
Luc Pattyn20-May-09 2:47
sitebuilderLuc Pattyn20-May-09 2:47 
GeneralRe: AsyncCallback and multi threading Pin
yesu prakash20-May-09 3:25
yesu prakash20-May-09 3:25 
GeneralRe: AsyncCallback and multi threading Pin
Luc Pattyn20-May-09 3:45
sitebuilderLuc Pattyn20-May-09 3:45 
QuestionC# and Microsoft OutLook Express 6.0 Pin
nidi26119-May-09 18:10
nidi26119-May-09 18:10 
AnswerRe: C# and Microsoft OutLook Express 6.0 Pin
rakesh_aravindrsa19-May-09 18:38
rakesh_aravindrsa19-May-09 18:38 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Mycroft Holmes19-May-09 19:07
professionalMycroft Holmes19-May-09 19:07 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Roger Wright19-May-09 22:04
professionalRoger Wright19-May-09 22:04 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Mycroft Holmes19-May-09 23:15
professionalMycroft Holmes19-May-09 23:15 

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.