Using Stratframe with a custom form object not part of Stratframe


Author
Message
John Frankewicz
John Frankewicz
StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)
Group: Forum Members
Posts: 36, Visits: 65
We have put considerable time into using Microsoft's UIAP which requires that you derive from a class that is derived from a Form class. This provides a MODEL-VIEW-CONTROLLER model for the GUI and very flexible navagation graph capability.

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? 

Replies
John Frankewicz
John Frankewicz
StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)
Group: Forum Members
Posts: 36, Visits: 65
Sounds like a great solution and I will work on it and post back the results to inform others who may want to do this.

Thanks for your responsive feedback.

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Aye, let me know how it works.
John Frankewicz
John Frankewicz
StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)
Group: Forum Members
Posts: 36, Visits: 65
I wanted to give you the results of my changing the UIPA to derive from the Standard form.

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?

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
This message doesn't matter unless you are planning on using some COM+ interaction.  The message will not cause you any problems. To remove the message, add the following tag to your AssemblyInfo.cs file.

[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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
John Frankewicz - 20 Years Ago
StrataFrame Team - 20 Years Ago
John Frankewicz - 20 Years Ago
StrataFrame Team - 20 Years Ago
John Frankewicz - 20 Years Ago
                         Aye, let me know how it works.
StrataFrame Team - 20 Years Ago
                             I wanted to give you the results of my changing the UIPA to derive...
John Frankewicz - 20 Years Ago
                                 This message doesn't matter unless you are planning on using some COM+...
Trent L. Taylor - 20 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search