We have forms that we have developed that we would like to take advantage of your GUI approach to the business objects and data access.
It appears that your StandardForm must derive from a Form class also?
Is there a way to get this all to work?
Thanks for your responsive feedback.
It looks like this:
public class WindowsFormView : StandardForm, IView
It builds, but I get two warnings:
base type MicroFour.Strataframe.UI.Windows.Forms.BaseForm is not CLS compliant.
Any idea on the severity of this?
Also I added three references to Microfour base, business and UI from the GAC. When your using standard form what are the minimum references you need?
[assembly: System.CLSCompliant(false)]
This will prevent the message from appearing. Just for a reference, most any CLS compliance is for a cross-platform type of functionality on data types. The reason you get this message is because there are certain methods that return a specific data type that is not a primitive data type. If you are creating CLS compliant COM+ DLLs, this still will not cause you any issues, because these internal methods will not be called externally anyway.
Hope this helps.