﻿<?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?)  » BackgroundWorker</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 23 Sep 2026 23:27:18 GMT</lastBuildDate><ttl>20</ttl><item><title>BackgroundWorker</title><link>http://forum.strataframe.net/FindPost7607.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I'm trying StrataFrame and&amp;nbsp;want to know how can&amp;nbsp;I manage the Load and Save with the backgroundworker object, or if there is another easier way to continue working in one form while loading another form, for instance.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;&lt;P&gt;P.S. excuse my english :)</description><pubDate>Wed, 21 Mar 2007 14:20:05 GMT</pubDate><dc:creator>Roger Davalos</dc:creator></item><item><title>RE: BackgroundWorker</title><link>http://forum.strataframe.net/FindPost7648.aspx</link><description>If you are referring to dragging the fields from a BO to a form at design-time, then this functionality does not natively exist...at least at the moment :)&amp;nbsp; However, you can dynamically add fields at runtime by just creating a control and adding to the form collecion:&lt;/P&gt;&lt;P&gt;[codesnippet]Dim loControl As New MicroFour.StrataFrame.UI.Windows.Forms.TextBox()&lt;/P&gt;&lt;P&gt;'-- Set any properties here like position or binding values&lt;/P&gt;&lt;P&gt;'-- Add the control to the form collection&lt;BR&gt;Me.Controls.Add(loControl)[/codesnippet]</description><pubDate>Wed, 21 Mar 2007 14:20:05 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BackgroundWorker</title><link>http://forum.strataframe.net/FindPost7647.aspx</link><description>Great, thanks for answering.&lt;/P&gt;&lt;P&gt;Another question, how can automaticaly generate the fields in the forms, for instance, textboxes, comboboxes, etc?</description><pubDate>Wed, 21 Mar 2007 14:12:17 GMT</pubDate><dc:creator>Roger Davalos</dc:creator></item><item><title>RE: BackgroundWorker</title><link>http://forum.strataframe.net/FindPost7608.aspx</link><description>Hey Roy,&lt;P&gt;Your English is just fine!&amp;nbsp; You can definitley save on threads as we do this ourselves quite often.&amp;nbsp; In fact, the business object already has a property called DataLayerSavingThreads which allows you to increase the number of threads that will be used when saving records.&lt;/P&gt;&lt;P&gt;Loading just requires that you create a thread (or a backgroundworker thread) and call a Fill method on the BO.</description><pubDate>Tue, 20 Mar 2007 14:19:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>