﻿<?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?)  » Winform Designer question</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 15 Sep 2026 18:26:27 GMT</lastBuildDate><ttl>20</ttl><item><title>Winform Designer question</title><link>http://forum.strataframe.net/FindPost7310.aspx</link><description>This might be a dumb question but I am using the Ultraschedule component which when placed on a form along with a BBS and BO will build before the BO,BBS in the designer. Of course I keep getting an error because the component will attempt to call the BO columns before the BO has had a chance to be declared. I can mannully fix this but it reverts back once I move something on the form. &lt;/P&gt;&lt;P&gt;How do I make the following code display above the schedule component??&lt;/P&gt;&lt;FONT color=#008000 size=2&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;'BBSScheduleCenter&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BBSScheduleCenter.BusinessObject = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BOScheduleCenter&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BBSScheduleCenter.ParentForm = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'BOScheduleCenter&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BOScheduleCenter.ChildAutoFilterOption = MicroFour.StrataFrame.Business.AutoChildFilterOptions.MatchCurrentRow&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BOScheduleCenter.ParentBusinessObject = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BoSite&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BOScheduleCenter.ParentContainer = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BOScheduleCenter.SynchronizingObject = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'BBSChangeControl&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 06 Mar 2007 11:00:52 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Winform Designer question</title><link>http://forum.strataframe.net/FindPost7330.aspx</link><description>Glad you got it figured out.</description><pubDate>Tue, 06 Mar 2007 11:00:52 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Winform Designer question</title><link>http://forum.strataframe.net/FindPost7326.aspx</link><description>Ok,&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;What happened was that I had set the datasource through the gui and the BindingContextControl to the mainform. The schedule control was on a tabcontrol. When VB serialized the controls it placed the BBS and BO code below the Schedule control code. So I got the errors stating that the configuration columns did not exist.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: Verdana"&gt;So it appears that the schedule control is behaving differently. The final fix was to manually configure it.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Although performance is awful, this seems to have solved it. &lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Me&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;.CalendarInfo.DataBindingsForAppointments.DataSource = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;.BOScheduleCenter &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'(Me.scheduleData, "Owners")&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' Set the BindingContextControl so the component will use the same(context)&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' that the grid and any other controls on the form are using. &lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.BindingContextControl = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;' Basic Schedule properties&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;'CalendarInfo&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.DataKeyMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ID"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.DataSource = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.BBSScheduleCenter&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.DescriptionMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"Description"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.EndDateTimeMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"EndDateTime"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.OriginalStartDateTimeMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"OriginalStartDateTime"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.OwnerKeyMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"OwnerIndex"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.RecurrenceIdMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"RecurrenceId"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.RecurrenceMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"Recurrence"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.ReminderEnabledMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ReminderEnabled"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.ReminderIntervalMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ReminderInterval"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.ReminderUnitsMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ReminderUnits"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.StartDateTimeMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"StartDateTime"&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CalendarInfo.DataBindingsForAppointments.SubjectMember = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"Subject"&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 06 Mar 2007 09:53:52 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Winform Designer question</title><link>http://forum.strataframe.net/FindPost7320.aspx</link><description>If the UltraSchedule component works anything like their UltraGrid, it doesn't touch the data source until it hits the ISupportInitialize.EndInit() method (which always gets called at the end of the designer-generated code.&amp;nbsp; So, it shouldn't be trying to grab columns from the BBS's ITypedList interface until the end of the InitializeComponent method, when the BBS &amp;amp; BO have been configured.</description><pubDate>Tue, 06 Mar 2007 08:52:59 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Winform Designer question</title><link>http://forum.strataframe.net/FindPost7316.aspx</link><description>No.&amp;nbsp; You will have to inherit their control, and then add this interface.&amp;nbsp; Then drop YOUR control on the form.</description><pubDate>Mon, 05 Mar 2007 15:09:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Winform Designer question</title><link>http://forum.strataframe.net/FindPost7314.aspx</link><description>But I do not think the the Ultraschedule control supports this?</description><pubDate>Mon, 05 Mar 2007 15:08:01 GMT</pubDate><dc:creator>Michael Reese</dc:creator></item><item><title>RE: Winform Designer question</title><link>http://forum.strataframe.net/FindPost7311.aspx</link><description>You can't control the order of how the form designer serializes the items in the partial class.&amp;nbsp; This is why we created the IInitOnFormLoad interface.&amp;nbsp; You can implement this interface and then control the loading order through the ParentFormLoading event.&amp;nbsp; You can see an example of this and how to implement it on the BusinessLayer or ComboBox in the source code.&amp;nbsp; There are a number of other controls that implement this as well, but the combo would probably be an easy one to look at to get an idea of how to implement the interface.</description><pubDate>Mon, 05 Mar 2007 14:46:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>