Click here to Skip to main content
15,901,373 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: timer problem Pin
Navneet Hegde25-Feb-08 23:36
Navneet Hegde25-Feb-08 23:36 
GeneralParsing problem string to int Pin
RanaSohail15-Feb-08 5:00
RanaSohail15-Feb-08 5:00 
GeneralRe: Parsing problem string to int Pin
Colin Angus Mackay15-Feb-08 5:15
Colin Angus Mackay15-Feb-08 5:15 
GeneralRe: Parsing problem string to int Pin
Luc Pattyn15-Feb-08 7:56
sitebuilderLuc Pattyn15-Feb-08 7:56 
GeneralRe: Parsing problem string to int Pin
RanaSohail15-Feb-08 20:06
RanaSohail15-Feb-08 20:06 
GeneralRe: Parsing problem string to int Pin
Luc Pattyn16-Feb-08 1:53
sitebuilderLuc Pattyn16-Feb-08 1:53 
General[Message Deleted] Pin
Miss Maheshwari15-Feb-08 1:18
Miss Maheshwari15-Feb-08 1:18 
GeneralRe: not showing the form on mdi parent form Pin
Dave Kreskowiak15-Feb-08 6:11
mveDave Kreskowiak15-Feb-08 6:11 
Neetu Maheshwari wrote:
AdminInfo ad = new AdminInfo();
ad.MdiParent = this;
ad.Height = this.Height;
ad.Width = this.Width;
ad.Show();
updateProfileIsUp = true;


Assuming updateProfileIsUp is false, this should work. Everything appears to be good. The only question I have is why are you setting the height and width of the new child form to the same height and width as the parent form?? This would make the chiold form bigger than the MdiClient area of the parent form.

Is this handler being called at all?? Test it. Put a MsgBox line in the code to see if it pops up when you click the menu item. If not, the menu item Click event handler hasn't been wired up, or wired up improperly.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




Generaldatabase problem Pin
Naresh12345678914-Feb-08 23:38
Naresh12345678914-Feb-08 23:38 
GeneralRe: database problem Pin
Colin Angus Mackay15-Feb-08 1:52
Colin Angus Mackay15-Feb-08 1:52 
GeneralRe: database problem Pin
Naresh1234567896-Mar-08 1:18
Naresh1234567896-Mar-08 1:18 
GeneralRe: database problem Pin
Colin Angus Mackay6-Mar-08 1:26
Colin Angus Mackay6-Mar-08 1:26 
GeneralBest practices winforms projects in C# Pin
SimonH7614-Feb-08 22:39
SimonH7614-Feb-08 22:39 
GeneralRe: Best practices winforms projects in C# Pin
Colin Angus Mackay15-Feb-08 1:55
Colin Angus Mackay15-Feb-08 1:55 
GeneralRe: Best practices winforms projects in C# Pin
Giorgi Dalakishvili15-Feb-08 2:16
mentorGiorgi Dalakishvili15-Feb-08 2:16 
GeneralRe: Best practices winforms projects in C# Pin
SimonH7615-Feb-08 16:39
SimonH7615-Feb-08 16:39 
GeneralRe: Best practices winforms projects in C# Pin
Giorgi Dalakishvili16-Feb-08 4:56
mentorGiorgi Dalakishvili16-Feb-08 4:56 
QuestionAbt changing the settings of default keys In Win CE 6.0 Pin
Pankaj Kothawade14-Feb-08 19:29
Pankaj Kothawade14-Feb-08 19:29 
GeneralAdvice of TableLayoutPanel Pin
Brady Kelly14-Feb-08 18:05
Brady Kelly14-Feb-08 18:05 
GeneralRe: Advice of TableLayoutPanel Pin
Dave Kreskowiak15-Feb-08 6:20
mveDave Kreskowiak15-Feb-08 6:20 
Question"Program Not Responding" Pin
nathan2240513-Feb-08 10:15
nathan2240513-Feb-08 10:15 
GeneralRe: "Program Not Responding" Pin
led mike13-Feb-08 10:34
led mike13-Feb-08 10:34 
GeneralRe: "Program Not Responding" Pin
nathan2240513-Feb-08 10:45
nathan2240513-Feb-08 10:45 
GeneralRe: "Program Not Responding" Pin
led mike13-Feb-08 11:07
led mike13-Feb-08 11:07 
GeneralRe: "Program Not Responding" Pin
nathan2240513-Feb-08 11:52
nathan2240513-Feb-08 11:52 

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.