473,224 Members | 1,499 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,224 software developers and data experts.

Multiple screens in the same application:

I've got an application that has several distinct purposes. I'd like to
make these available as different screens that the user can switch between
within a single form, using commands from the main Menu. (The "primary"
form serves only as a container for the Menu and the other screens.)

In VB 6, I was able to get a nice expression of this by using always-
maximized MDI children inside an MDI parent. Unfortunately, I don't seem to
have the same level of control over MDI children in .NET; they're
occasionally reverting to Normal status rather than Maximized no matter
what I do. Google didn't suggest any easy fixes here.

I am experimenting with UserControls instead. Using a UserControl with
..Dock = DockStyle.Fill seems to give an OK effect. I'm a little worried
that I'm going to give up important functionality with this approach that I
won't realize until later, though.

I can't be the only one who wants to switch the user view from one screen to
another inside a parent-type form. Is there a preferred approach to doing
this in .NET?

Suggestions appreciated.

Matt
Nov 21 '05 #1
5 1663
Matt,

Real strange that you did not find something on Google.
http://groups-beta.google.com/group/...d66101d43e80e3

I thought that this was one of those I have done as answer for your problem.

I hope this helps,

Cor
Nov 21 '05 #2
"Cor Ligthert" <no************@planet.nl> wrote in
news:ec**************@TK2MSFTNGP09.phx.gbl:
Matt,

Real strange that you did not find something on Google.
http://groups-beta.google.com/group/...t.languages.vb
/msg/e8d66101d43e80e3

I thought that this was one of those I have done as answer for your
problem.

I hope this helps,


I was shying away from solutions involving repeated resettings of
..Maximized, because I had seen others complain about slow responsiveness and
screen flicker. But I should probably give it a chance and see for myself.

At any rate, I appreciate the suggestion. Thanks.

Matt
Nov 21 '05 #3
An alternative might be to use a panel on the main form as the
container and then use regular forms for each "screen".

You would instantiate the form, set the TopLevel property to False and
then set their parent property to the panel.

I used a form with no border or caption and then called it's Show
method. It is then visible inside the panel.

Perhaps this simple method will be of use to you?

Chris

Nov 21 '05 #4
"Chris Dunaway" <du******@gmail.com> wrote in news:1111430947.311355.295150
@l41g2000cwc.googlegroups.com:
An alternative might be to use a panel on the main form as the
container and then use regular forms for each "screen".

You would instantiate the form, set the TopLevel property to False and
then set their parent property to the panel.

I used a form with no border or caption and then called it's Show
method. It is then visible inside the panel.

Perhaps this simple method will be of use to you?


Sounds promising, at any rate. Simple is best, as long as it works.

I'll try it out. Thanks for the suggestion.

Matt
Nov 21 '05 #5
"Chris Dunaway" <du******@gmail.com> wrote in news:1111430947.311355.295150
@l41g2000cwc.googlegroups.com:
An alternative might be to use a panel on the main form as the
container and then use regular forms for each "screen".

You would instantiate the form, set the TopLevel property to False and
then set their parent property to the panel.

I used a form with no border or caption and then called it's Show
method. It is then visible inside the panel.

Perhaps this simple method will be of use to you?


I played around with this approach today and it is working nicely. Thanks
again for the suggestion.

Also, inherited forms are way cool. That is all.

Matt
Nov 21 '05 #6

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

Similar topics

1
by: Daniel | last post by:
He's my situation, i work in a (big)room that has 3 projectors. I want to develop an application that can control all 3 screens displaying different live data, from a computer that has a video card...
0
by: Saravanan Subramanian | last post by:
Hi Folks I am looking for some articles on developing Multiple monitor applications using C#. The stuff on MSDN unfortunately is very rudimentary, and not really helpful. Anybody else has ideas...
3
by: Lizim | last post by:
Does anybody know if it is possible to write software that works across multiple monitors? and if so, is it possible to program one so it is private to the user / administrator and the other...
3
by: Martin | last post by:
Just wondered if you could give me some advice! At the moment we code out systems in COBOL and we are just starting to move everything to VB.net. Just wondering how you all manage when...
9
by: Quina | last post by:
Hi. Is there someone that can tell me how can I have multiple screens on the the same form, displaying only on at the time? Thank you all for any replys. Joćo Carias
3
by: Steve Marshall | last post by:
I'm looking at developing an application which would benefit from being able to work with 2 display monitors. But how do I work with multiple displays? I'd like to be able to control which...
8
by: Ed Dror | last post by:
Hi there ASP.NET 2.0 VB & SQL Express Lest take Northwind Categories Products as example I create a table that hold these two together and I create a stored procedure like select ProductID,...
0
Shashi Sadasivan
by: Shashi Sadasivan | last post by:
Hi All, i Have an application functionaluty which has 4 forms which are needed to interact by the user by dragging data from these forms to one another the main form is located in the MDI Parent...
0
by: veerusrahul | last post by:
I am new to dotnet. I have Baseform (Windows form) with some controls & PictureBox are top right corner which is used to display the status of network. I have an application with one login...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.