Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

MDI Form issues - Behavior

Posted: Feb/15/2010   By: pankaj   Points:15   Category: .NET  - .NET Framework    Views:157   Vote Up (0)   Vote Down (0)    
I am developing windows application in VS 2005 and I have following issues with MDI form,1) I have following code for opening child form inside MDI form.                                      Dim frmEmployee As New frmEmployeeSearch               frmEmployee.MdiParent = Me               frmEmployee.WindowState = FormWindowState.Maximized               frmEmployee.Show()   The issue is, when form gets maximized in MDI form, the child form icon doesn't show up. The basic form icon shows up at the left hand side in MDI form, instead of my assigned icon.   If I minimize and then maximize then it shows the correct icon. Why?2) When I open a child form inside MDI form, some forms needs to be maximized and some should be shown as small forms inside the MDI form. Now If I open first form as maximized form, all forms opened after it becomes maximized. Can I have some forms maximized and some shown as smll forms (without maximizing it)?3) I have a list in child form (at the bottom) for employees. User can select employee in the list and he can view details of that employee above the list in the child form. So when user selects employee its employee number is shown in forms text, I mean title bar of form (frmEmployee.text) like "Employee: John Smith (0001234)". By default it selects first employee in the list and its name is shown in the title bar of form.    You also know that when child form gets opened in MDI form, its name is shown in the MDI forms "Windows" Menu at the bottom. I want to update the forms name every time I

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Concurrency: Tools And Techniques to Identify Concurrency Issues

  
Efficient parallel applications aren't born by merely running an old app on a parallel processor machine. Tuning needs to be done if you're to gain maximum benefit.Rahul V. Patil and Boby GeorgeMSDN Magazine June 2008

Form Filler: Build Workflows to Capture Data and Create Documents

  
Learn how to create a workflow that uses InfoPath forms and other office documents for passing data to targeted activities and for use in Office documents.Rick SpiewakMSDN Magazine June 2008

CLR Inside Out: Investigating Memory Issues

  
Memory issues can manifest in a wide variety of ways. This column shows you how to collect the data you need to determine what types of mem¬ory issues you are experiencing.Claudio Caldato and Maoni StephensMSDN Magazine November 2006

InfoPath 2007: Designing Form Templates With The New Features Of InfoPath

  
InfoPath 2007 is an XML forms designer and editor, and a fully featured and integrated member of the Office family. This article takes a sneak peek at some of its new features.Scott Roberts and Hagen GreenMSDN Magazine August 2006

C++ at Work: Form Validation with Regular Expressions in MFC

  
I thought I'd use this month's column to describe an interesting app I built using the RegexWrap library described in my article "Wrappers: Use Our ManWrap Library to Get the Best of . NET in Native C++ Code" in this issue. Paul DiLasciaMSDN Magazine April 2005

Stress Testing: Custom LoadGenerator Tool Identifies the Issues Your Application Faces Under Stress

  
It's easy to postpone stress testing when developing an application, and it's easy to forgo it altogether. Having an easy-to-use framework at your fingertips to conduct these tests can make the task far less painful. This article walks you through an application that eases the task of generating load for a variety of layers within an application.Brian OttoMSDN Magazine April 2004

Editor's Note: 200+ Issues Later

  
Joshua TrupinMSDN Magazine March 2004

Cutting Edge: Form-based Programming in ASP.NET

  
One of the most common snags that ASP developers encounter when they first approach ASP.NET is that managed Web applications must be written according to a single-form interface model. Find out how it works.Dino EspositoMSDN Magazine May 2003

Command Management: Use Design Patterns to Simplify the Relationship Between Menus and Form Elements

  
In Windows Forms applications, similar commands, such as those in a menu and their counterparts on a toolbar, are not automatically related. They don't fire the same event or run the same handler routine. Yet code that allows the same or similar user commands to fire the same code simplifies development.This article describes the principles of command management and why it's important to have functional commands that are not exclusive to any one UI element. In order to provide an MFC-like command management infrastructure, a design pattern is developed and applied as a series of C# classes.Michael Foster and Gilberto ArayaMSDN Magazine October 2002

Commerce with ASP.NET: Leverage the Authentication and Form Validation Features of ASP.NET to Bolste

  
If you're planning to build an e-commerce site, you'll be pleased to see that ASP.NET makes it easier than ever. Existing controls can be used and extended to add a great deal more functionality than you might expect. In this article, forms-based authentication is used to verify the identity of users and make certain areas of the site, such as the check-out page, inaccessible to unauthorized users. The power and flexibility of validation controls are demonstrated using the CustomValidator control to connect to a Web Service that verifies addresses. A shopping cart is then implemented in ASP.NET using the DataGrid, and finally, credit card authorization and billing are performed.Jason Lefebvre and Robert LairMSDN Magazine August 2002
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge