473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

How move between forms in Windows app?

What's the best way to move between forms in a Windows app?

I'm wanting to build an Outlook-style app. So I'm thinking of having a base
form that all others inherit from (that includes menu bar, status bar,
Outlook-style list bar). Then each form will pick those up but then be able
to do its own thing.

So do I open the new form and then close the current one? Would that look
transparent to the user? If so, how would I code that?

I looked into that Microsoft Composite UI Application Block stuff but it
seems way too heady for what we're trying to do.

Any suggestions would be appreciated.

Thanks,
Ron
Feb 8 '07 #1
2 1486
On Feb 8, 2:10 pm, "Ronald S. Cook" <r...@westinis.comwrote:
What's the best way to move between forms in a Windows app?

I'm wanting to build an Outlook-style app. So I'm thinking of having a base
form that all others inherit from (that includes menu bar, status bar,
Outlook-style list bar). Then each form will pick those up but then be able
to do its own thing.

So do I open the new form and then close the current one? Would that look
transparent to the user? If so, how would I code that?

I looked into that Microsoft Composite UI Application Block stuff but it
seems way too heady for what we're trying to do.

Any suggestions would be appreciated.

Thanks,
Ron
Why not use user controls loaded into panels?

Thanks,

Seth Rowe

Feb 8 '07 #2
I created a MDI form with a Docked panel.

The MDI form loads the children forms inside it- and the menu options are
within the panels. Accessible by all.

Miro

"Ronald S. Cook" <rc***@westinis.comwrote in message
news:eE*************@TK2MSFTNGP04.phx.gbl...
What's the best way to move between forms in a Windows app?

I'm wanting to build an Outlook-style app. So I'm thinking of having a
base form that all others inherit from (that includes menu bar, status
bar, Outlook-style list bar). Then each form will pick those up but then
be able to do its own thing.

So do I open the new form and then close the current one? Would that look
transparent to the user? If so, how would I code that?

I looked into that Microsoft Composite UI Application Block stuff but it
seems way too heady for what we're trying to do.

Any suggestions would be appreciated.

Thanks,
Ron


Feb 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anand Ganesh | last post by:
Hi All, How to Implement Move Next, Move Previous, Last Record and First Record in a DataGrid Control ? Is there any standard tool available in the tool box button? Thanks for your time. ...
7
by: Seash | last post by:
Hi friends , here is the sample code private void txtbox_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if(e.KeyChar == 13) //enter { txtbox2.Focus(); }
6
by: Sakharam Phapale | last post by:
Hi All, How to move the CommandButton control using mouse from one position to other? Is it possible using Drag, Drop events or I have to write my own code for that? I have set the...
4
by: Mark Gaeth | last post by:
Greetings, I was lucky one time to have someone provide me a little code that would allow the user to move a control at runtime. However, I lost that code snippet when my hard drive failed and...
8
by: tranky | last post by:
i hope you can help me! It's possible create a moveable panel in vb.net? Click with mouse over it and move it everywhere!?!? It's possible? thank u!
10
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web...
5
by: Nick | last post by:
Hey guys, I have 2 events on a windows forms datagrid, the mouse move as well as the double click events. What's happening is that when I double click on a row in the grid, the mouse move event...
2
by: johnmmcparland | last post by:
I recently came across some code to help play .wav; http://www.codeguru.com/Csharp/Csharp/cs_graphics/sound/article.php/c6143/ and while I got this to work in a stand-alone application, I have...
1
by: cql90 | last post by:
Hi All Pro, First, thanks you all in advance for your kindest help, I am very appreciated. I did have two event on the form, which are: Form1_MouseDown(...) and Form1_MouseMove. The problem is:...
0
by: JaimeM26 | last post by:
Does anyone know how to detect and move/resize the Taskbar in VB.NET? I am able to determine if it is on the top or bottom by comparing the following 2 items. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.