Multiform app?

  • Thread starter Thread starter Wapiti
  • Start date Start date
W

Wapiti

Are there any examples of building multiform apps, in VB.net?

I want to build a start form, then I have 4 functions to perform, accessible
from this start screen (inventory, adjustments, issues, receipts). I would
like them to be on separate forms.

Used to do this easily in VB6, but I'm so new to VB.net and compact
framework - can anyone give me a jump start? source examples on the web?
Books? something?

I've searched through the microsoft examples, but none really are that
greatly helpful. Or am I missing something?

Thanks!

Mike
 
In c#

form1 = new Form1();
form1.Show();

You should try using VS 2003, and try to check out the library before asking
questions here.

Kenneth
 
I am using vs2003.

The library?? MSDN?

I've lived in the MSDN - for many years in fact. I've been reading for the
past month about this stuff. And have been finding several differing ways
to do what I want to do, in msdn even - and as I've learned from a multitude
of years worth of vb and C development - most aren't always the correct nor
most efficient way. I'm sure you've found that too. I typically don't ask
unless my head is too bruised to bang again. AND have always been on the
boards to help others when I'm up to speed in the technology.

Maybe there is a better library to which you are referring?

I appreciate your help,

Mike
 
Well it kind of depends on how your app flows, but it's simply going to be a
process of creating and hiding/destroying forms. If it has some linearity,
a Form stack works well (article in MSDN as well as at www.opennetcf.org),
but in your case it sounds like a "star" pattern with a menu-type screen at
the center, so you'll simply generate forms as needed.


-Chris
 
I have a star pattern and have used the form stack mainly for the
performance it offers. The first time a form loads is slow the rest are
quick.
 
Great! I hadn't really considered the pattern when I wrote the article, but
I guess there's no reason it wouldn't work. You probably don't need a full
stack implementation if you never use "back" but simply the cache of loaded
Forms.

-Chris
 
Wouldn't you use back on in a star pattern?

Chris Tacke said:
Great! I hadn't really considered the pattern when I wrote the article, but
I guess there's no reason it wouldn't work. You probably don't need a full
stack implementation if you never use "back" but simply the cache of loaded
Forms.

-Chris


to
 
Back
Top