<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>VisualC#</anon>
  </categories>
  <description>WPFアプリを作るサンプルソースを読んでいると次のようなソースを見ることがあるかと思います。 private void Window_Loaded private void MainWindow_Loaded 関数名から、Windowを読み込んだ際に実行するという意味で書かれていると推測できます。 しかし、単純にcsファイルにスクリプトを書いても実行されません。 原因 Window_Loadedにしろ、MainWindow_Loadedにしろ、VisualC#が用意している関数ではありません。 そのため、関数だけ用意しても呼ばれることはありません。 修正方法 既に、「Window_Loaded…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2018%2F08%2F17%2F173233&quot; title=&quot;【VisualC#】「WIndow_Loaded」を実行する方法 - websandbag ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nakahashi_h/20180817/20180817172539.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-17 17:32:33</published>
  <title>【VisualC#】「WIndow_Loaded」を実行する方法</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2018/08/17/173233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
