Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2008 > BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4
|
BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4
This is the forum to discuss the Wrox book Beginning Microsoft Visual C# 2008 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, Eric White; ISBN: 9780470191354
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 12th, 2010, 02:35 AM
Registered User
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how can i enable back newToolStripMenuItem to true if the form2 to is closed

my main form is form1.

<code>

private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
newToolStripMenuItem.Enabled = false;

Form2 frm2 = new Form2();
frm2.Owner = this;
frm2.Show();


</code>

how can i enable back newToolStripMenuItem to true if the form2 to is closed i tried to create if form2 close event but
i can't get the intelisense of newToolStripMenuItem
Rate this post





Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh combobox in form1 after form2 is closed miscafe C# 2005 5 January 14th, 2010 03:37 AM
Show Form2, only then run Routine1 peterasimpson VB How-To 5 April 29th, 2008 06:47 AM
How to make enable true for menuItem in C# akumarp2p C# 1 December 15th, 2006 05:32 AM
Enable Update and Enable Delete check boxes don't mihabib ASP.NET 2.0 Basics 2 December 7th, 2006 11:44 AM
Show text from Form3 Textbox1 to Form2 Textbox1 peterasimpson VB How-To 5 December 19th, 2005 06:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.