Originally posted by: Noobsa44
Another example would be a installer with a text field, a picture box and a next button, where the panel updates every time you press next, but it isn't a new form.
Originally posted by: mlm
The thing that really gets me is how is the designer window possibly going to be manageable with all the overlapping controls you can add to it? 😕
Originally posted by: mlm
The problem with tabs is I wouldn't want the "tab" portion to be visible, and I need to restrict the access order.
I've got it working in a manageable way so far with panels after fiddling with the underlying code. I'll have to look up the MDI thing though, I've never heard of it.
Originally posted by: mlm
The thing that really gets me is how is the designer window possibly going to be manageable with all the overlapping controls you can add to it? 😕
Originally posted by: mlm
Originally posted by: Noobsa44
Another example would be a installer with a text field, a picture box and a next button, where the panel updates every time you press next, but it isn't a new form.
I think this is what I'm looking for. An installer is probably the best thing I can think of. Would that involve putting the appropriate controls on each panel, and toggling the visible setting for each panel as you go along?
Originally posted by: sao123
Originally posted by: mlm
Originally posted by: Noobsa44
Another example would be a installer with a text field, a picture box and a next button, where the panel updates every time you press next, but it isn't a new form.
I think this is what I'm looking for. An installer is probably the best thing I can think of. Would that involve putting the appropriate controls on each panel, and toggling the visible setting for each panel as you go along?
why cant you just use a button on form 1 to (close form 1, open form 2)...
that was my understanding of how this is done.
Originally posted by: Markbnj
Originally posted by: mlm
The problem with tabs is I wouldn't want the "tab" portion to be visible, and I need to restrict the access order.
I've got it working in a manageable way so far with panels after fiddling with the underlying code. I'll have to look up the MDI thing though, I've never heard of it.
Yeah, this is a workflow, which is different from the event-driven nature of most of what a desktop app does. Whether you call it a wizard or not, that's essentially the paradigm you're operating in. MDI is not what you're after.
Most applications that do this only need a couple of steps. For example, maybe a main dialog to make changes then a confirmation dialog, or something like that. Shallow workflows are manageable using any of the techniques described here, such as turning containers on and off, or using separate dialogs. If the workflow is longer than a couple of steps I would stop and think it through carefully. Long workflows have an annoying habit of changing in the middle.
.Net 3.0 has support in the WPF for paged workflows. I think you have to cobble it together from panels in 2.0.
Originally posted by: mlm
Originally posted by: Markbnj
Originally posted by: mlm
The problem with tabs is I wouldn't want the "tab" portion to be visible, and I need to restrict the access order.
I've got it working in a manageable way so far with panels after fiddling with the underlying code. I'll have to look up the MDI thing though, I've never heard of it.
Yeah, this is a workflow, which is different from the event-driven nature of most of what a desktop app does. Whether you call it a wizard or not, that's essentially the paradigm you're operating in. MDI is not what you're after.
Most applications that do this only need a couple of steps. For example, maybe a main dialog to make changes then a confirmation dialog, or something like that. Shallow workflows are manageable using any of the techniques described here, such as turning containers on and off, or using separate dialogs. If the workflow is longer than a couple of steps I would stop and think it through carefully. Long workflows have an annoying habit of changing in the middle.
.Net 3.0 has support in the WPF for paged workflows. I think you have to cobble it together from panels in 2.0.
At this time I don't think the workflow would be too convoluted. Basically right now it's:
Login/Select Action screen (select action) -> Action screen -> Select Action screen -> etc. You never go more than one screen deep except for one action that uses a second window for data entry.
All of the actions are almost exactly the same except for a few fields, so it works to use the same panel for all of them while hiding the irrelevant parts. If I ever have to implement something that's completely different (which I'm pretty sure I will), I would put it on another panel.