Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
Questionmp3 stream Pin
neurobion27-Feb-07 10:05
neurobion27-Feb-07 10:05 
AnswerRe: mp3 stream Pin
Niiiissssshhhhhuuuuu27-Feb-07 17:04
Niiiissssshhhhhuuuuu27-Feb-07 17:04 
GeneralRe: mp3 stream Pin
neurobion27-Feb-07 22:11
neurobion27-Feb-07 22:11 
QuestionAccess IE's document's parentWindow Pin
yjoo931727-Feb-07 9:18
yjoo931727-Feb-07 9:18 
AnswerRe: Access IE's document's parentWindow Pin
Mark T.27-Feb-07 11:49
Mark T.27-Feb-07 11:49 
QuestionHow do I route events to a container class instead of main form? Pin
DPRoberts27-Feb-07 8:59
DPRoberts27-Feb-07 8:59 
AnswerRe: How do I route events to a container class instead of main form? Pin
Ennis Ray Lynch, Jr.27-Feb-07 9:47
Ennis Ray Lynch, Jr.27-Feb-07 9:47 
AnswerRe: How do I route events to a container class instead of main form? Pin
mike montagne27-Feb-07 10:13
mike montagne27-Feb-07 10:13 
imho, your suggestion is very logical, but implementing it (in my experience) and other associated functionality is far beyond the practical limits of project development. It's a library development issue, and certainly not a lightweight one. I'm working on both C# and C++ library implementations which will accommodate you, but not for a few months down the road.

Nonetheless, in the current IDE implementation, indeed the pages are separate classes. The reason they are owned by the form is so that they may be supported by the form's designer. This is essential to the current serialization scheme.

Your "standard way" of doing this requires revising this whole system for some ostensible class design advantage. But your real complaint (if I understand you correctly) is the cluttered implementation of your conventional page control. Indeed, it has critical limitations, not just because it wastes space, or even because it may not internally manage resources as efficiently as a scheme might... but because your project may require so many pages that the navigation system (the tabs) would require all the available interface real estate.

OK. Some people will immediately scoff, "That would be a crazy application design."

But no, with a good design and underlying architecture provided by the underlying control, you can do this very efficiently and build applications which (through further shared resources) get much more accomplished than MDI implementations for instance can on the same footprint.

One thing I can suggest for you to save some interface real estate is to nest page controls. Build an outer page control which branches to several categories of interfaces, and navigate through branches to destinations.

This of course imposes extra clicks on navigation of your application. Solve the extra click issue by building shortcuts from within your pages to destination pages -- focusing the necessary outer page controls to do so. Wherever possible, also focus intended data. In other words, if you have a Property record which references an owner field, don't just provide a shortcut that focuses the owner page, leaving the lookup to the operator. Make your shortcut focus the necessary Owner record as well.

This will make your users happy for the while. Better solutions yet are just down the road.
GeneralRe: How do I route events to a container class instead of main form? Pin
DPRoberts27-Feb-07 10:51
DPRoberts27-Feb-07 10:51 
GeneralRe: How do I route events to a container class instead of main form? Pin
mike montagne27-Feb-07 13:29
mike montagne27-Feb-07 13:29 
Questionhow to call window application A into Window Application B Pin
Khoramdin27-Feb-07 8:16
Khoramdin27-Feb-07 8:16 
AnswerRe: how to call window application A into Window Application B Pin
Dave Kreskowiak27-Feb-07 8:31
mveDave Kreskowiak27-Feb-07 8:31 
AnswerRe: how to call window application A into Window Application B Pin
kubben27-Feb-07 8:39
kubben27-Feb-07 8:39 
AnswerRe: how to call window application A into Window Application B Pin
mike montagne27-Feb-07 10:23
mike montagne27-Feb-07 10:23 
QuestionAny one know a good tool Pin
Ennis Ray Lynch, Jr.27-Feb-07 8:03
Ennis Ray Lynch, Jr.27-Feb-07 8:03 
Questiontransactionscope and filesystem/sending emails Pin
::smithy::27-Feb-07 7:55
::smithy::27-Feb-07 7:55 
AnswerRe: transactionscope and filesystem/sending emails Pin
Dave Kreskowiak27-Feb-07 8:29
mveDave Kreskowiak27-Feb-07 8:29 
GeneralRe: transactionscope and filesystem/sending emails Pin
::smithy::27-Feb-07 11:06
::smithy::27-Feb-07 11:06 
QuestionHelp with my class using Serial Port Class Pin
laura131627-Feb-07 7:50
laura131627-Feb-07 7:50 
AnswerRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 12:59
Squeaker27-Feb-07 12:59 
GeneralRe: Help with my class using Serial Port Class Pin
laura131627-Feb-07 16:21
laura131627-Feb-07 16:21 
GeneralRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 17:16
Squeaker27-Feb-07 17:16 
GeneralRe: Help with my class using Serial Port Class Pin
laura131627-Feb-07 17:26
laura131627-Feb-07 17:26 
GeneralRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 18:00
Squeaker27-Feb-07 18:00 
GeneralRe: Help with my class using Serial Port Class Pin
pbraun4-Mar-07 4:44
pbraun4-Mar-07 4:44 

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.