<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>any-programming</author_name>
  <author_url>https://blog.hatena.ne.jp/any-programming/</author_url>
  <blog_title>何でもプログラミング</blog_title>
  <blog_url>https://any-programming.hatenablog.com/</blog_url>
  <categories>
    <anon>F#</anon>
    <anon>WPF</anon>
  </categories>
  <description>WPFのWindowをmain関数内で表示する場合は、下記のような書き方になる。 [&lt;STAThread&gt;] [&lt;EntryPoint&gt;] let main argv = Application().Run(Window()) |&gt; ignore 別スレッドでWindowを表示したい場合は下記のようになる。 let startApp() = Application().Run(Window()) |&gt; ignore let thread = Thread(startApp) thread.SetApartmentState(ApartmentState.STA) thread.Start() …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fany-programming.hatenablog.com%2Fentry%2F2018%2F09%2F04%2F150054&quot; title=&quot;メインスレッド以外でWPFを利用する - 何でもプログラミング&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-04 15:00:54</published>
  <title>メインスレッド以外でWPFを利用する</title>
  <type>rich</type>
  <url>https://any-programming.hatenablog.com/entry/2018/09/04/150054</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
