{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.peyarogu.com%2Fentry%2F2015%2F12%2F09%2F002419\" title=\"\u3014C#\u3015\u3014WPF\u3015\u9589\u3058\u308b\u6642\u306b\u884c\u3046\u51e6\u7406\u3092MVVM\u3067\u8ffd\u52a0\u3059\u308b - \u307a\u3084\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["C#","WPF","\u6280\u8853","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"width":"100%","author_name":"peyangu485","version":"1.0","provider_name":"Hatena Blog","title":"\u3014C#\u3015\u3014WPF\u3015\u9589\u3058\u308b\u6642\u306b\u884c\u3046\u51e6\u7406\u3092MVVM\u3067\u8ffd\u52a0\u3059\u308b","blog_url":"https://www.peyarogu.com/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/peyangu485/","url":"https://www.peyarogu.com/entry/2015/12/09/002419","height":"190","blog_title":"\u307a\u3084\u308d\u3050","type":"rich","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peyangu485/20010409/20010409042430.jpg","published":"2015-12-09 00:24:19","description":"\u300c\u3053\u3053\u304c\u8a70\u307e\u3063\u305f\u3088\uff01\uff37\uff30\uff26\u300d\u30b7\u30ea\u30fc\u30ba\u3068\u3044\u3046\u3053\u3068\u3067\u7b2c1\u5f3e\u306f\u9589\u3058\u308b\u6642\u306b\u884c\u3046\u51e6\u7406\u306e\u8ffd\u52a0\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u7b2c\u4f55\u5f3e\u307e\u3067\u3084\u308b\u306e\u304b\u306f\u672a\u5b9a\u3067\u3059\u3002 \u76ee\u7684 \u30b3\u30fc\u30c9\u30d3\u30cf\u30a4\u30f3\u30c9\u5074\u3067\u8a00\u3046\u3068\u3053\u308d\u306e\u300cOnClosing()\u300d\u30e1\u30bd\u30c3\u30c9\u306b\u51e6\u7406\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092MVVM\u3067\u5b9f\u88c5\u3059\u308b\u3002 \u7d4c\u7def \u9589\u3058\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u4f55\u304b\u3057\u305f\u3044\u3068\u304d\u3063\u3066OnClosing\u306b\u8a18\u8ff0\u3059\u308c\u3070\u57fa\u672c\u7684\u306bOK\u306a\u3093\u3067\u3059\u304c protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); // \u4f55\u304b\u51e6\u7406\u8ffd\u52a0 } MVVM\u7684\u306b\u306f\u3053\u308c\u306f\u3088\u308d\u3057\u304f\u306a\u3044\u3002(\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002)\u305d\u3053\u3067\u3001\u3069\u3046\u3057\u3088\u3046\u304b\u3068\u8003\u3048\u305f\u2026"}