{"id":479,"date":"2016-07-10T16:51:37","date_gmt":"2016-07-10T07:51:37","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2016\/07\/10\/wpf_window\/"},"modified":"2016-07-10T16:51:37","modified_gmt":"2016-07-10T07:51:37","slug":"wpf_window","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2016\/07\/10\/wpf_window\/","title":{"rendered":"WPF Window\u6700\u5c0f\u5316\u30dc\u30bf\u30f3\u51e6\u7406\u306e\u30d5\u30c3\u30af"},"content":{"rendered":"<p>[<a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=WPF+Tips\"><u>WPF Tips<\/u><\/a>]<\/p>\n<p><a href=\"http:\/\/typea.info\/products\/shikalog.html\">WPF \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210\u3067\u5f97\u305fTips\u3092\u30e1\u30e2<\/a>\u3002<\/p>\n<p> <a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798114200\/ref=as_li_ss_il?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798114200&amp;linkCode=as2&amp;tag=typea09-22\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4798114200&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798114200\" width=\"1\" height=\"1\" \/>   <\/p>\n<h2>1.\u72b6\u6cc1<\/h2>\n<p>\u30e2\u30fc\u30c0\u30eb\u30c0\u30a4\u30a2\u30ed\u30b0\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4f5c\u6210\u3057\u3001\u6642\u9593\u306e\u304b\u304b\u308b\u51e6\u7406\u306e\u72b6\u6cc1\u3092\u8868\u793a\u3055\u305b\u308b\u306e\u3060\u304c\u3001\u6700\u5c0f\u5316\u3057\u3066\u3082\u30c0\u30a4\u30a2\u30ed\u30b0\u3060\u3051\u6700\u5c0f\u5316\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u547c\u3073\u51fa\u3057\u5074\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3082\u4f75\u305b\u3066\u6700\u5c0f\u5316\u3055\u305b\u305f\u3044\u3002<\/p>\n<h2>2.\u5bfe\u5fdc<\/h2>\n<p>\u30e2\u30fc\u30c0\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u8868\u793a\u6642\u306b\u3001Owner\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30e1\u30a4\u30f3\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u30bb\u30c3\u30c8\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30b9\u30c6\u30fc\u30c8\u5909\u66f4\u3092\u30d5\u30c3\u30af\u3057\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u6700\u5c0f\u5316\u3055\u308c\u305f\u5834\u5408\u3001Owner\u3082\u6700\u5c0f\u5316\u3059\u308b\u3002<\/p>\n<h2>3.\u53c2\u8003<\/h2>\n<ul>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/926758\/window-statechanging-event-in-wpf\">Window StateChanging event in WPF<\/a> <\/li>\n<\/ul>\n<h2>4.\u30b5\u30f3\u30d7\u30eb<\/h2>\n<pre class=\"prettyprint linenums\">public partial class ProgressDialog : Window\r\n{\r\n    public ProgressDialog()\r\n    {\r\n        InitializeComponent();\r\n        this.StateChanged += new EventHandler(Window_StateChanged);\r\n    }\r\n\r\n    void Window_StateChanged(object sender, EventArgs e)\r\n    {\r\n        if (this.WindowState == WindowState.Minimized)\r\n        {\r\n            if (this.Owner != null)\r\n            {\r\n                this.Owner.WindowState = WindowState.Minimized;\r\n            }\r\n        }\r\n    }\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>[WPF Tips] WPF \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210\u3067\u5f97\u305fTips\u3092\u30e1\u30e2\u3002 1.\u72b6\u6cc1 \u30e2\u30fc\u30c0\u30eb\u30c0\u30a4\u30a2\u30ed\u30b0\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4f5c\u6210\u3057\u3001\u6642\u9593\u306e\u304b\u304b\u308b\u51e6\u7406\u306e\u72b6\u6cc1\u3092\u8868\u793a\u3055\u305b\u308b\u306e\u3060\u304c\u3001\u6700\u5c0f\u5316\u3057\u3066\u3082\u30c0\u30a4\u30a2\u30ed\u30b0\u3060\u3051\u6700\u5c0f\u5316\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u547c\u3073\u51fa\u3057\u5074 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[93],"tags":[],"class_list":["post-479","post","type-post","status-publish","format-standard","hentry","category-wpf"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/479\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}