﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » What are the main difference between SF Standard Form and Maintenance Form</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 08:01:19 GMT</lastBuildDate><ttl>20</ttl><item><title>What are the main difference between SF Standard Form and Maintenance Form</title><link>http://forum.strataframe.net/FindPost760.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;What are the main difference between SF Standard Form and Maintenance Form? That is, can I get the same functionality that the Maintenance Form has by just dropping the maintenance form toolstrip on the SF Standardform.&lt;/P&gt;&lt;P&gt;Extract from the documentation: "The maintenance form toolstrip is a pre-engineered StrataFrame toolstrip that interacts with a StrataFrame form. &amp;nbsp;By simply dropping this toolstrip on to the form, add, edit, delete, and navigation features will automatically be implemented."&lt;/P&gt;&lt;P&gt;Or does the Maintenance Form have some other features that could be handy to have?&lt;/P&gt;&lt;P&gt;What I would like to do is to have a inhertitance as described in the picture. several areas each &lt;IMG src="http://forum.strataframe.net/Uploads/Images/d81082a9-1a32-4ddc-b0e7-0ad8.gif"&gt;&lt;/P&gt;&lt;P&gt;The idea is that&amp;nbsp;the application has&amp;nbsp;one&amp;nbsp;form (w_app_common). From that form each area in the application inherits a common form for that area (w_area1_common, w_area2_common etc)&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "area common form" (w_area2_common) would be the base for two other forms.&lt;/P&gt;&lt;P&gt;The other (w_area_common_list) is&amp;nbsp;used&amp;nbsp;to display lists (no edit possibility) and &lt;BR&gt;the other&amp;nbsp;(w_area_common_crud) to show details and have the possibility to edit data.&lt;/P&gt;&lt;P&gt;Don't quite know if this type of approach is good in VB.Net... Comments are welcomed&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Kari</description><pubDate>Mon, 03 Apr 2006 15:50:51 GMT</pubDate><dc:creator>Kari Paukku</dc:creator></item><item><title>RE: What are the main difference between SF Standard Form and Maintenance Form</title><link>http://forum.strataframe.net/FindPost761.aspx</link><description>Kari,&lt;/P&gt;&lt;P&gt;&amp;gt; What are the main difference between SF Standard Form and Maintenance Form? That is, can I get the same functionality that the Maintenance Form has by just dropping the maintenance form toolstrip on the SF Standardform.&lt;/P&gt;&lt;P&gt;Yes, the only difference between the StandardForm and the MaintenanceForm is the Toolstrip (and the GradientFormHeader that's been dropped on there as well).&amp;nbsp; In fact, the MaintenanceForm is only a template, not a separate class.&lt;/P&gt;&lt;P&gt;&amp;gt; Or does the Maintenance Form have some other features that could be handy to have?&lt;/P&gt;&lt;P&gt;All of the real functionality is built into the StandardForm itself.&amp;nbsp; When you click a button on the MaintenanceFormToolstrip, it just turns around and calls a method on the form (clicking "New" just calls Add() on the form).&amp;nbsp; The only thing you would be lacking is the Browse button, which is not part of the form itself, but you can easily create a button that calls ShowDialog on the BrowseDialog you dropped on the form.&lt;/P&gt;&lt;P&gt;&amp;gt; Don't quite know if this type of approach is good in VB.Net... Comments are welcomed&lt;/P&gt;&lt;P&gt;.NET is perfect for the inheritance you're trying to accomplish.&amp;nbsp; In fact, any time you can subclass rather than duplicate code, you're always better off.&amp;nbsp; Any control you put on the base form will also be on the subclassed form.&amp;nbsp; To go from the CRUD form to the List form, you can just add a method after InitializeComponent that changes the visibility of some of the toolstrip buttons to False.</description><pubDate>Mon, 03 Apr 2006 15:50:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>