<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : DevForce and Caliburn micro</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : DevForce and Caliburn micro</description>
  <pubDate>Mon, 13 Apr 2026 15:28:40 -700</pubDate>
  <lastBuildDate>Mon, 23 Jan 2012 13:15:50 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3188</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>DevForce and Caliburn micro :   Hard to tell with the information...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12528#12528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3188<br /><strong>Posted:</strong> 23-Jan-2012 at 1:15pm<br /><br />Hard to tell with the information I have. One reason that could happen is&nbsp;if the query got cancelled for some reason. Are you saying the e =&gt; error = e isn't called, either? result =&gt; {} would only be called if the query was actually succesfull.]]>
   </description>
   <pubDate>Mon, 23 Jan 2012 13:15:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12528#12528</guid>
  </item> 
  <item>
   <title>DevForce and Caliburn micro : Hello Marcel,I&amp;#039;ve got a small...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12526#12526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3188<br /><strong>Posted:</strong> 23-Jan-2012 at 11:39am<br /><br />Hello Marcel,<br>I've got a small iussue with the code you provided me...<br>In a ViewModel that calls the LoadData as it's loaded the IsBusy remains in true status and no call to result=&gt; {} is made...why this happen?<br>Thanks<br><br>I can provide code tomorrow here it's 21PM and I'm out of office..<br>Thanks<br>]]>
   </description>
   <pubDate>Mon, 23 Jan 2012 11:39:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12526#12526</guid>
  </item> 
  <item>
   <title>DevForce and Caliburn micro :   Never mind. I read your question...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12352#12352</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3188<br /><strong>Posted:</strong> 30-Dec-2011 at 9:37pm<br /><br />Never mind. I read your question again and it looks like you are already using DAF. Based on the SimplePopup I put together a sample that I think demostrates what you are asking:<div></div><div><pre style=": white; color: black; font-family: C&#111;nsolas;">        <span style="color: blue;">public</span> <span style="color: rgb43, 145, 175;">IEnumerable</span>&lt;<span style="color: rgb43, 145, 175;">IResult</span>&gt; LoadData()        {            <span style="color: rgb43, 145, 175;">Exception</span> error = <span style="color: blue;">null</span>;             <span style="color: green;">// IsBusy = true;</span>             <span style="color: blue;">yield</span> <span style="color: blue;">return</span> <span style="color: rgb43, 145, 175;">CoroutineFns</span>.AsResult(                () =&gt; _repository.LoadData(result =&gt;                                               {                                                   <span style="color: green;">/* do something useful with the result */</span>                                               },                                           e =&gt; error = e));             <span style="color: green;">// IsBusy = false;</span>             <span style="color: blue;">if</span> (error != <span style="color: blue;">null</span>)                <span style="color: blue;">yield</span> <span style="color: blue;">return</span> <span style="color: blue;">new</span> <span style="color: rgb43, 145, 175;">ShowMessageResult</span>(<span style="color: rgb163, 21, 21;">"Error"</span>, error.Message);        }</pre></div><div> </div><div>You can download the entire sample from my SkyDrive. Just copy it into the DAF Samples folder if you want to build it.</div><div> </div><div><a href="https://skydrive.live.com/redir.aspx?cid=b37183c914f0fbe8&amp;resid=B37183C914F0FBE8!198&amp;parid=B37183C914F0FBE8!192&amp;authkey=!AGZXml8oH_Rhs4s" target="_blank">https://skydrive.live.com/redir.aspx?cid=b37183c914f0fbe8&amp;resid=B37183C914F0FBE8!198&amp;parid=B37183C914F0FBE8!192&amp;authkey=!AGZXml8oH_Rhs4s</a></div>]]>
   </description>
   <pubDate>Fri, 30 Dec 2011 21:37:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12352#12352</guid>
  </item> 
  <item>
   <title>DevForce and Caliburn micro :   Paolo,I&amp;#039;m not entirely...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12351#12351</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3188<br /><strong>Posted:</strong> 30-Dec-2011 at 6:02pm<br /><br />Paolo,<div>I'm not entirely sure about your question, but I think I know what you are asking. Are you familiar with the DevForce Application Framework? It's an open source framework that we make available to our customers. It integrates Caliburn Mirco with DevForce and provides the glue in between. I'm the primary author of the framework. I think you'll find your answers there. In particular check out the write-up on the recommended approach for repositories, I believe it answers your question about what to return. </div><div> </div><div><span style='color: rgb31, 73, 125; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA;'><a href="http://devforcecaliburn.codeplex.com/wikipage?title=The%20Data%20Repository&amp;referringTitle=&#068;ocumentati&#111;n" target="_blank">http://devforcecaliburn.codeplex.com/wikipage?title=The%20Data%20Repository&amp;referringTitle=Documentation</a></span></div><div><span style='color: rgb31, 73, 125; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA;'></span> </div><div><span style='color: rgb31, 73, 125; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA;'>If you download the framework, you'll also find a sample called SimplePopup in the Samples folder, which demonstrates how to do dialogs. I'm not familiar with Kevin Mees' implementation, but it migth be very similar.</span></div><div><span style='color: rgb31, 73, 125; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA;'></span> </div><div><span style='color: rgb31, 73, 125; font-family: "Calibri","sans-serif"; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA;'>Marcel</span></div>]]>
   </description>
   <pubDate>Fri, 30 Dec 2011 18:02:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12351#12351</guid>
  </item> 
  <item>
   <title>DevForce and Caliburn micro : Hello,refactoring my code I&amp;#039;ve...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12346#12346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3188<br /><strong>Posted:</strong> 30-Dec-2011 at 8:33am<br /><br />Hello,<br>refactoring my code I've seen that in some point I use MessageBoxes to show exceptions...<br><br>Here's an example <br><br><!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:TrackMoves/>  <w:Trackatting/>  <w:Hyphenati&#111;nZ&#111;ne>14</w:Hyphenati&#111;nZ&#111;ne>  <w:Punctuati&#111;nKerning/>  <w:ValidateAgainstSchemas/>  <w:SaveIfInvalid>false</w:SaveIfInvalid>  <w:IgnoreMixed>false</w:IgnoreMixed>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:D&#111;notPromoteQF/>  <w:LidThemeOther>IT</w:LidThemeOther>  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>  <w:LidThemeComplex>X-NONE</w:LidThemeComplex>  <w:Compatibility>   <w:BreakWrappedTables/>   <w:SnapToGridInCell/>   <w:WrapTextWithPunct/>   <w:UseAsianBreakRules/>   <w:D&#111;ntGrowAutofit/>   <w:SplitPgBreakAndark/>   <w:EnableKerning/>   <w:D&#111;ntFlipMirrorIndents/>   <w:OverrideTableStyleHps/>  </w:Compatibility>  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  <m:mathPr>   <m:mathFont m:val="Cambria Math"/>   <m:brkBin m:val="before"/>   <m:brkBinSub m:val="&amp;#45;-"/>   <m:smallFrac m:val="off"/>   <m:dispDef/>   <m:lMargin m:val="0"/>   <m:rMargin m:val="0"/>   <m:defJc m:val="centerGroup"/>   <m:wrapIndent m:val="1440"/>   <m:intLim m:val="subSup"/>   <m:naryLim m:val="undOvr"/>  </m:mathPr></w:Word><!--><!--if gte mso 9> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"    DefSemi="true" DefQat="false" DefPriority="99"    LatentStyleCount="267">  <w:LsdExcepti&#111;n Locked="false" Priority="0" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Normal"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="ing 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="35" Qat="true" Name="capti&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="10" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Name="Default Paragraph Font"/>  <w:LsdExcepti&#111;n Locked="false" Priority="11" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtitle"/>  <w:LsdExcepti&#111;n Locked="false" Priority="22" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Str&#111;ng"/>  <w:LsdExcepti&#111;n Locked="false" Priority="20" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="59" Semi="false"     UnhideWhenUsed="false" Name="Table Grid"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="No Spacing"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Revisi&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="34" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="List Paragraph"/>  <w:LsdExcepti&#111;n Locked="false" Priority="29" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="30" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="19" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="21" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="31" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="32" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="33" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Book Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="37" Name="Bibliography"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Qat="true" Name="TOC ing"/> </w:LatentStyles><!--><!--if gte mso 10> /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Tabella normale";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;	mso-para-margin:0cm;	mso-para-margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:10.0pt;	font-family:"Times New Roman","serif";}<!--><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:blue;mso-ansi-:EN-US" lang="EN-US">public</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US"> </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:blue;mso-ansi-:EN-US" lang="EN-US">void</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US"> LoadData()</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp; {</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; IsBusy = </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:blue;mso-ansi-:  EN-US" lang="EN-US">true</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:black;mso-ansi-:EN-US" lang="EN-US">;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; _repository.LoadData(idUser</span><span style="font-size:10.0pt;  font-family:C&#111;nsolas;color:black;mso-ansi-:EN-US" lang="EN-US">,Date,</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; results =&gt;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; {</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; DataItems = </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:blue;mso-ansi-:  EN-US" lang="EN-US">new</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:black;mso-ansi-:EN-US" lang="EN-US"> </span><span style="font-size:  10.0pt;font-family:C&#111;nsolas;color:#2B91AF;mso-ansi-:EN-US" lang="EN-US">BindableCollection</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&lt;myObj</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:#2B91AF;mso-ansi-:EN-US" lang="EN-US"></span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&gt;(results.Cast&lt;</span><span style="font-size:10.0pt;  font-family:C&#111;nsolas;color:#2B91AF;mso-ansi-:EN-US" lang="EN-US">MarginCCSnapShotResult</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&gt;());</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; CanPrintExport =</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:blue;mso-ansi-:EN-US" lang="EN-US">true</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; IsBusy = </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:blue;mso-ansi-:  EN-US" lang="EN-US">false</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:black;mso-ansi-:EN-US" lang="EN-US">;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; },</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; e =&gt;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CanPrintExport = </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:blue;mso-ansi-:  EN-US" lang="EN-US">false</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:black;mso-ansi-:EN-US" lang="EN-US">;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IsBusy = </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:blue;mso-ansi-:  EN-US" lang="EN-US">false</span><span style="font-size:10.0pt;font-family:C&#111;nsolas;  color:black;mso-ansi-:EN-US" lang="EN-US">;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:#2B91AF;  mso-ansi-:EN-US" lang="EN-US">MessageBox</span><span style="font-size:  10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:EN-US" lang="EN-US">.Show(e.Message);</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black;mso-ansi-:  EN-US" lang="EN-US">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;  font-family:C&#111;nsolas;color:black">});</span></p><p style="margin:0cm;margin-bottom:.0001pt;:white"><span style="font-size:10.0pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp; }</span></p><p ="Ms&#111;normal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb31, 73, 125;" lang="EN-US">&nbsp;I've decided to use the Kevin Mees implementation of Dialogs handling... but I don't knwo how to return the type since the Coorutine Error returns a IEnumerable&lt;IResult&gt;.</span></p><p ="Ms&#111;normal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  color:#1F497D;mso-ansi-:EN-US" lang="EN-US">I tried yield return forerror.AsResult() but it says “</span><span style="" lang="EN-US">The yield statement cannot be used inside an anonymous method or lambdaexpression”</span></p><p ="Ms&#111;normal"><br><span style="" lang="EN-US"></span></p><p ="Ms&#111;normal"><span style="mso-ansi-:  EN-US" lang="EN-US">the other problem would be what type should I return instead of the void?<br></span></p><p ="Ms&#111;normal"><span style="mso-ansi-:EN-US" lang="EN-US">Thanks</span></p><p ="Ms&#111;normal"><span style="mso-ansi-:EN-US" lang="EN-US"><br></span></p><p ="Ms&#111;normal"><span style="mso-ansi-:EN-US" lang="EN-US">Paolo</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;  color:#1F497D;mso-ansi-:EN-US" lang="EN-US"></span></p><br><br>]]>
   </description>
   <pubDate>Fri, 30 Dec 2011 08:33:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3188&amp;PID=12346#12346</guid>
  </item> 
 </channel>
</rss>