• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

Theoretical Question: Which is the better interface - MDI or SDI?

I am about to embark on a software project that involves Windows Forms. I have approximately 10 forms that will maintain the data and another that will allow for reporting. I have a relatively novice set of users in this department.
Which would be the better path to travel given the number of forms and the skill level of the user base?
  • 2
2 Solutions
I am not sure I understand your question.  Do you have several paths to choose from?  What are the options?  The way the question is phrased, it is very broad in scope.  What do you mean by the "best" path?  People write books on the best way to write applications.  Thanks.
Personally I would go with MDI for a couple of reasons:

1) It makes it easier for the user to switch between windows
2) Allows all forms to communicate with each other / share data

Make sure your novice users try to avoid coupling the forms. By decoupling each form it provides better maintainability. Ie, In a managed code environment developers can work on each form without affecting the others.
Sorry, didn't read the original question to begin with.  My fault.  :(  To choose between MDI and SDI really depends on the nature of the application.  I have seen both used well and both done completely wrong.  I like MDI if truly, each child represents a "document" in some way.  With beginners, modal dialogs work fine because it makes them finish their thought before moving on.  Modal dialogs (SDI) is easier to control what happens when.  With MDI, if there is ANY interrelation between the documents, you can get yourself into a coordination nightmare (i.e. update one screen which might cause another to be invalid.)  As for user level, there are many very common applications that use MDI, for example, the suite of Office products are mostly MDI.  I don't think that will throw anyone.  Just make sure that the model fits the nature of the application.
Euless_TechAuthor Commented:
Thanks for the input. Being a somewhat beginner to intermediate developer in C#, I will probably go with SDI since it's easier to control.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now