{"id":10160,"date":"2019-05-10T09:17:30","date_gmt":"2019-05-10T00:17:30","guid":{"rendered":"https:\/\/elleneast.com\/?p=10160"},"modified":"2019-05-17T20:19:21","modified_gmt":"2019-05-17T11:19:21","slug":"%e3%80%90vb-net%e3%80%91%e3%80%90wpf%e3%80%91%e9%80%9a%e7%9f%a5%e9%a0%98%e5%9f%9f%ef%bc%88%e3%82%bf%e3%82%b9%e3%82%af%e3%83%88%e3%83%ac%e3%82%a4%ef%bc%89%e3%82%92%e4%bd%bf%e3%81%86%ef%bd%9e-wpf-notify","status":"publish","type":"post","link":"https:\/\/elleneast.com\/?p=10160","title":{"rendered":"\u3010VB.NET\u3011\u3010WPF\u3011\u901a\u77e5\u9818\u57df\uff08\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\uff09\u3092\u4f7f\u3046\uff5e WPF NotifyIcon"},"content":{"rendered":"<\/p>\n<div class=\"memo \">\n<div class=\"memo_ttl dfont\"> MEMO<\/div>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u300c<a href=\"https:\/\/www.codeproject.com\/Articles\/36468\/WPF-NotifyIcon-2\" target=\"_blank\" rel=\"noopener noreferrer\">Code Project \u306e WPF NotifyIcon \u306e\u8a18\u4e8b<\/a>\u300d\u306e\u591a\u304f\u306e\u90e8\u5206\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u307e\u3059\uff08\u5168\u3066\u306f\u7db2\u7f85\u3057\u3066\u307e\u305b\u3093\uff09\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u300c<a href=\"https:\/\/www.codeproject.com\/Articles\/36468\/WPF-NotifyIcon-2\" target=\"_blank\" rel=\"noopener noreferrer\">Code Project \u306e WPF NotifyIcon \u306e\u8a18\u4e8b<\/a>\u300d\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/p>\n<\/div>\n<p>\u30a2\u30d7\u30ea\u3092\u901a\u77e5\u9818\u57df\uff08\u65e7\u540d\uff1a\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\uff09\u306b\u5165\u308c\u308b\u6a5f\u80fd\u304c WPF \u306e\u6a19\u6e96\u6a5f\u80fd\u306b\u306f\u7121\u3044\u3089\u3057\u3044\uff08\u306a\u306c\u3063\uff01\uff1f\uff09\u3002<\/p>\n<p>\u3067\u3001\u8abf\u3079\u3066\u307f\u308b\u3068\u3001Forms \u306e NotifyIcon \u30af\u30e9\u30b9\u3092\u5f15\u3063\u5f35\u3063\u3066\u304d\u3066\u30a2\u30ec\u30b3\u30ec\u3084\u308b\u65b9\u6cd5\u304c\u30d2\u30c3\u30c8\u3059\u308b\u3051\u308c\u3069\u3001Forms \u306e\u529b\u3092\u501f\u308a\u308b\u306e\u304c\u306a\u3093\u3068\u306a\u304f\u6c17\u6301\u3061\u60aa\u3044\u3002<\/p>\n<p>\u3082\u3046\u5c11\u3057\u30b9\u30c3\u30ad\u30ea\u3057\u305f\u6c17\u5206\u3067\u51fa\u6765\u308b\u65b9\u6cd5\u306f\u7121\u3044\u3082\u306e\u304b\u3068\u63a2\u3057\u3066\u898b\u3064\u3051\u305f\u306e\u304c WPF NotifyIcon\uff08Hardcodet.NotifyIcon.Wpf\u3001by Philipp Sumi\uff09\u3067\u3059\u3002WPF NotifyIcon \u306a\u3089\u3001WPF \u306e\u7279\u6027\u3092\u751f\u304b\u3057\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\" >\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/elleneast.com\/?p=10160\/#Hello_World\" >Hello, World<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E3%82%B3%E3%83%BC%E3%83%89%E7%89%88\" >\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u7248<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/elleneast.com\/?p=10160\/#XAML_%E7%89%88\" >XAML \u7248<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3%E3%82%92%E6%B6%88%E3%81%99\" >\u30a2\u30a4\u30b3\u30f3\u3092\u6d88\u3059<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97\" >\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97%EF%BC%91%EF%BC%9A%E3%82%A4%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E5%AE%A3%E8%A8%80\" >\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff11\uff1a\u30a4\u30f3\u30e9\u30a4\u30f3\u5ba3\u8a00<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97%EF%BC%92%EF%BC%9A%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%B3%E3%83%B3%E3%83%88%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%AE%E4%BD%BF%E7%94%A8\" >\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff12\uff1a\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u4f7f\u7528<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97%EF%BC%93%EF%BC%9A%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%81%AB%E3%83%AA%E3%83%B3%E3%82%AF\" >\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff13\uff1a\u30ea\u30bd\u30fc\u30b9\u306b\u30ea\u30f3\u30af<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%9D%E3%83%83%E3%83%97%E3%82%A2%E3%83%83%E3%83%97\" >\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%83%A1%E3%83%8B%E3%83%A5%E3%83%BC\" >\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%83%90%E3%83%AB%E3%83%BC%E3%83%B3%E3%83%81%E3%83%83%E3%83%97%EF%BC%88%E9%80%9A%E7%9F%A5%E3%83%90%E3%83%8A%E3%83%BC%EF%BC%89\" >\u30d0\u30eb\u30fc\u30f3\u30c1\u30c3\u30d7\uff08\u901a\u77e5\u30d0\u30ca\u30fc\uff09<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E6%A8%99%E6%BA%96%E3%81%AE%E3%83%90%E3%83%AB%E3%83%BC%E3%83%B3%E3%83%81%E3%83%83%E3%83%97%EF%BC%88%E9%80%9A%E7%9F%A5%E3%83%90%E3%83%8A%E3%83%BC%EF%BC%89\" >\u6a19\u6e96\u306e\u30d0\u30eb\u30fc\u30f3\u30c1\u30c3\u30d7\uff08\u901a\u77e5\u30d0\u30ca\u30fc\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%81%AE%E3%83%90%E3%83%AB%E3%83%BC%E3%83%B3%E3%83%81%E3%83%83%E3%83%97%EF%BC%88%E9%80%9A%E7%9F%A5%E3%83%90%E3%83%8A%E3%83%BC%EF%BC%89\" >\u30ab\u30b9\u30bf\u30e0\u306e\u30d0\u30eb\u30fc\u30f3\u30c1\u30c3\u30d7\uff08\u901a\u77e5\u30d0\u30ca\u30fc\uff09<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%EF%BC%88ICommand%EF%BC%89\" >\u30b3\u30de\u30f3\u30c9\uff08ICommand\uff09<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E5%AE%9A%E7%BE%A9\" >\u30b3\u30de\u30f3\u30c9\u5b9a\u7fa9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E5%89%B2%E3%82%8A%E5%BD%93%E3%81%A6%E6%96%B9%E6%B3%95%EF%BC%91%EF%BC%9AXAML_%E3%81%A7%E3%83%90%E3%82%A4%E3%83%B3%E3%83%89\" >\u5272\u308a\u5f53\u3066\u65b9\u6cd5\uff11\uff1aXAML \u3067\u30d0\u30a4\u30f3\u30c9<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E3%81%AF%E3%81%BE%E3%82%8A%E3%82%84%E3%81%99%E3%81%84%E7%82%B9\" >\u306f\u307e\u308a\u3084\u3059\u3044\u70b9<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/elleneast.com\/?p=10160\/#%E5%89%B2%E3%82%8A%E5%BD%93%E3%81%A6%E6%96%B9%E6%B3%95%EF%BC%92%EF%BC%9A%E3%82%B3%E3%83%BC%E3%83%89%E3%83%93%E3%83%8F%E3%82%A4%E3%83%B3%E3%83%89\" >\u5272\u308a\u5f53\u3066\u65b9\u6cd5\uff12\uff1a\u30b3\u30fc\u30c9\u30d3\u30cf\u30a4\u30f3\u30c9<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/elleneast.com\/?p=10160\/#WindowShowInTaskbar\" >Window.ShowInTaskbar<\/a><\/li><\/ul><\/nav><\/div>\n<h2 id=\"i-0\"><span class=\"ez-toc-section\" id=\"%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB\"><\/span>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\uff3b\u30c4\u30fc\u30eb\uff3d\uff1e\uff3bNuGet \u30d1\u30c3\u30b1\u30fc\u30b8 \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\uff3d\uff1e\uff3b\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e NuGet \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u7ba1\u7406\uff3d\u3092\u9078\u629e\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10312 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_0.png\" alt=\"\" width=\"683\" height=\"298\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_0.png 683w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_0-300x131.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\"><\/a><\/p>\n<p>\uff3bNuGet \u2013 \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\uff3d\u30bf\u30d6\u3067\uff3b\u53c2\u7167\uff3d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u691c\u7d22\u30dc\u30c3\u30af\u30b9\u306b\u300cHardcodet.NotifyIcon.Wpf\u300d\uff08\u307e\u305f\u306f\u300cNotifyIcon\u300d\u306a\u3069\uff09\u3068\u5165\u529b\u3002\u300cHardcodet.NotifyIcon.Wpf\u300d\u304c\u898b\u3064\u304b\u3063\u305f\u3089\u9078\u629e\u3057\u3066\u3001\u53f3\u5074\u306e\u30da\u30a4\u30f3\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\uff3b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff3d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10311 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_1.png\" alt=\"\" width=\"745\" height=\"546\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_1.png 745w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_1-300x220.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\"><\/a><\/p>\n<p>\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u51fa\u305f\u3089\uff3bOK\uff3d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10316 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_2.png\" alt=\"\" width=\"486\" height=\"493\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_2.png 486w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_2-296x300.png 296w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\"><\/a><\/p>\n<p>\uff3b\u51fa\u529b\uff3d\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u72b6\u6cc1\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10313 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_3.png\" alt=\"\" width=\"763\" height=\"213\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_3.png 763w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_3-300x84.png 300w\" sizes=\"auto, (max-width: 763px) 100vw, 763px\"><\/a><\/p>\n<h2 id=\"i-1\"><span class=\"ez-toc-section\" id=\"Hello_World\"><\/span>Hello, World<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 id=\"i-2\"><span class=\"ez-toc-section\" id=\"%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%A0%E3%82%B3%E3%83%BC%E3%83%89%E7%89%88\"><\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u7248<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Wpf NotifyIcon \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u201dHello, World\u201d \u3092\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u72ec\u81ea\u306e\u30a2\u30a4\u30b3\u30f3\u30d5\u30a1\u30a4\u30eb\uff08.ico\uff09\u3092\u7528\u610f\u3057\u3066\u3001Visual Studio \u306e\uff3b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff3d\uff1e\uff3b<em>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d<\/em> \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\uff3d\u3092\u9078\u629e\u3002<\/p>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u30bf\u30d6\u3067\uff3b\u30ea\u30bd\u30fc\u30b9\uff3d\u3092\u9078\u629e\u3057\u3066\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u7a2e\u985e\u3068\u3057\u3066\uff3b\u30a2\u30a4\u30b3\u30f3\uff3d\u3092\u9078\u629e\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10329 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_6.png\" alt=\"\" width=\"368\" height=\"271\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_6.png 368w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_6-300x221.png 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\"><\/a><\/p>\n<p>\u30a2\u30a4\u30b3\u30f3\u30d5\u30a1\u30a4\u30eb\uff08\u3053\u3053\u3067\u306f conditioner.ico \u3068\u3057\u307e\u3059\uff09\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u8ffd\u52a0\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10328 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_7.png\" alt=\"\" width=\"378\" height=\"234\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_7.png 378w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_7-300x186.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\"><\/a><\/p>\n<p>\u305d\u3057\u3066\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30fb\u30fb\u30fb<\/p>\n<pre class=\"lang:vbnet decode:true\">'Imports Hardcodet.Wpf.TaskbarNotification\n'\u3068\u3066\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u30b7\u30ca\u30ea\u30aa\u3067\u306a\u3044\u9650\u308a XAML \u3067\u884c\u3046\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\nDim tbi As New TaskbarIcon\ntbi.Icon = My.Resources.conditioner '\u7528\u610f\u3057\u305f\u30a2\u30a4\u30b3\u30f3\u3092\u6307\u5b9a\ntbi.ToolTipText = \"hello world\"\n<\/pre>\n<p>\u901a\u77e5\u30a8\u30ea\u30a2\u306b\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002\u30a2\u30a4\u30b3\u30f3\u306e\u4e0a\u306b\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u91cd\u306d\u308b\u3068\u30c6\u30ad\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10327 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_8.png\" alt=\"\" width=\"247\" height=\"86\"><\/a><\/p>\n<h3 id=\"i-3\"><span class=\"ez-toc-section\" id=\"XAML_%E7%89%88\"><\/span>XAML \u7248<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u524d\u8ff0\u306e\u3053\u3068\u3092 xaml \u3067\u3084\u308b\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a xaml \u306e\u30d8\u30c3\u30c0\u30fc\u306b\u6b21\u306e\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u5ba3\u8a00\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>xmlns:tb=\u201dhttp:\/\/www.hardcodet.net\/taskbar<\/p>\n<p>\u305d\u3057\u3066 &lt;tb:TaskbarIcon IconSource=\u201d\/conditioner.ico\u201d ToolTipText=\u201dhello world\u201d \/&gt; \u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\uff08conditioner.ico \u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u5834\u6240\u306b\u7f6e\u3044\u3066\u3042\u308b\u3068\u3044\u3046\u524d\u63d0\uff09\u3002<\/p>\n<p>xaml \u5168\u4f53\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u3002<\/p>\n<pre class=\"lang:xhtml mark:9,12 decode:true \">&lt;Window x:Class=\"MainWindow\"\n        xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"\n        xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"\n        xmlns:d=\"http:\/\/schemas.microsoft.com\/expression\/blend\/2008\"\n        xmlns:mc=\"http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006\"\n        xmlns:local=\"clr-namespace:WpfApp1\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"450\" Width=\"800\" \n        xmlns:tb=\"http:\/\/www.hardcodet.net\/taskbar\"&gt;\n\n    &lt;Grid&gt;\n        &lt;tb:TaskbarIcon IconSource=\"\/conditioner.ico\" ToolTipText=\"hello world\" \/&gt;\n    &lt;\/Grid&gt;\n&lt;\/Window&gt;<\/pre>\n<p>\u3053\u308c\u3060\u3051\u3067\u3001\u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3059\u308b\u3068\u901a\u77e5\u9818\u57df\u306b\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30a2\u30a4\u30b3\u30f3\u306e\u4e0a\u306b\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u91cd\u306d\u308b\u3068\u30c6\u30ad\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10327 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_8.png\" alt=\"\" width=\"247\" height=\"86\"><\/a><\/p>\n<h2 id=\"i-4\"><span class=\"ez-toc-section\" id=\"%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3%E3%82%92%E6%B6%88%E3%81%99\"><\/span>\u30a2\u30a4\u30b3\u30f3\u3092\u6d88\u3059<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30b3\u30fc\u30c9\u3067\u30a2\u30a4\u30b3\u30f3\u3092\u6d88\u3059\u3068\u304d\u306f\u3053\u3046\uff08\u524d\u8ff0\u306e\u901a\u308a\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 tbi \u3092\u4f5c\u6210\u6e08\u307f\u3068\u60f3\u5b9a\uff09\u3002<\/p>\n<pre lang=\"cs\" id=\"pre811560\" class=\"notranslate\">tbi.Visibility = Visibility.Collapsed<\/pre>\n<p>xaml \u3067\u30a2\u30a4\u30b3\u30f3\u3092\u6d88\u3059\u3068\u304d\u306f\u3053\u3046\u3002<\/p>\n<pre class=\"lang:xhtml decode:true\">&lt;tb:TaskbarIcon IconSource=\"\/conditioner.ico\" Visibility=\"Collapsed\" \/&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u30a2\u30a4\u30b3\u30f3\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u7d42\u4e86\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u6d88\u3048\u308b\u306e\u3067\u3042\u307e\u308a\u795e\u7d4c\u4f7f\u3046\u5fc5\u8981\u306f\u306a\u3044\u304c\u3001\u5b9f\u884c\u6642\u306b\u5b8c\u5168\u306b\u53d6\u308a\u9664\u304d\u305f\u3044\u3068\u304d\u306f TaskbarIcon \u30af\u30e9\u30b9\u306e Dispose \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<h2 id=\"i-5\"><span class=\"ez-toc-section\" id=\"%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97\"><\/span>\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>TaskbarIcon \u30af\u30e9\u30b9\u306b\u306f\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u306b\u95a2\u3059\u308b\uff12\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308b\u3002<\/p>\n<ul>\n<li>TrayToolTip \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f\u4efb\u610f\u306e UIElement \u3092\u6307\u5b9a\u3067\u304d\u308b\u3002<\/li>\n<li>ToolTipText \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f String \u3092\u6307\u5b9a\u3059\u308b\u3002\u3053\u308c\u306b\u306f\uff12\u901a\u308a\u306e\u4f7f\u3044\u9053\u304c\u3042\u308b\u3002\n<ul>\n<li>TrayToolTip \u3092\u4f7f\u7528\u3057\u306a\u3044\u3068\u304d<\/li>\n<li>\u53e4\u3044 OS\uff08XP\uff0f2003\uff09\u3067 TrayToolTip \u304c\u4f7f\u3048\u306a\u3044\u3068\u304d<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u30a2\u30d7\u30ea\u304c\u53e4\u3044 OS \u3067\u5b9f\u884c\u3055\u308c\u305f\u5834\u5408\u306b\u5099\u3048\u3066 ToolTipText \u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5e38\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u306e\u304c\u671b\u307e\u3057\u3044\u3002<\/p>\n<h3 id=\"i-6\"><span class=\"ez-toc-section\" id=\"%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97%EF%BC%91%EF%BC%9A%E3%82%A4%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E5%AE%A3%E8%A8%80\"><\/span>\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff11\uff1a\u30a4\u30f3\u30e9\u30a4\u30f3\u5ba3\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>TaskbarIcon \u5ba3\u8a00\u306e\u4e2d\u306b\u76f4\u63a5\u3001\u30ab\u30b9\u30bf\u30e0\u306e\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u3092\u5ba3\u8a00\u3067\u304d\u308b\u3002\u4e0b\u8a18\u306f TextBlock \u3068\u534a\u900f\u660e\u306e\u30dc\u30fc\u30c0\u30fc\u3067\u69cb\u6210\u3055\u308c\u308b\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u306e\u4f8b\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \">&lt;tb:TaskbarIcon IconSource=\"\/conditioner.ico\" ToolTipText=\"hello world\"&gt;\n  &lt;tb:TaskbarIcon.TrayToolTip&gt;\n    &lt;Border Background=\"White\" BorderBrush=\"Orange\" BorderThickness=\"2\" CornerRadius=\"4\" Opacity=\"0.8\" Width=\"160\" Height=\"40\"&gt;\n      &lt;TextBlock Text=\"hello world\" HorizontalAlignment=\"Center\" VerticalAlignment=\"Center\" \/&gt;\n    &lt;\/Border&gt;\n  &lt;\/tb:TaskbarIcon.TrayToolTip&gt;\n&lt;\/tb:TaskbarIcon&gt;<\/pre>\n<p>\u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3057\u3066\u30a2\u30a4\u30b3\u30f3\u306b\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u3092\u91cd\u306d\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10342 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_9.png\" alt=\"\" width=\"262\" height=\"86\"><\/a><\/p>\n<h3 id=\"i-7\"><span class=\"ez-toc-section\" id=\"%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97%EF%BC%92%EF%BC%9A%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%82%B3%E3%83%B3%E3%83%88%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%AE%E4%BD%BF%E7%94%A8\"><\/span>\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff12\uff1a\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u4f7f\u7528<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300cSimpleUserControl\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u3066\u305d\u308c\u3092\u8868\u793a\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>Visual Studio \u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u306e\uff3b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff3d\uff1e\uff3b\u30e6\u30fc\u30b6\u30fc \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u8ffd\u52a0\uff3d\u3092\u9078\u629e\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10346 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_10.png\" alt=\"\" width=\"454\" height=\"107\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_10.png 454w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_10-300x71.png 300w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\"><\/a><\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u540d\u524d\u3092 SimpleUserControl.xaml \u306b\u3057\u3066\u8ffd\u52a0\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10345 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_11.png\" alt=\"\" width=\"396\" height=\"286\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_11.png 396w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_11-300x217.png 300w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\"><\/a><\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e xaml \u3092\uff08\u305f\u3068\u3048\u3070\uff09\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"lang:xhtml mark:10-12 decode:true \">&lt;UserControl x:Class=\"SimpleUserControl\"\n             xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"\n             xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"\n             xmlns:mc=\"http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006\" \n             xmlns:d=\"http:\/\/schemas.microsoft.com\/expression\/blend\/2008\" \n             xmlns:local=\"clr-namespace:WpfApp1\"\n             mc:Ignorable=\"d\" \n             d:DesignHeight=\"450\" d:DesignWidth=\"800\"&gt;\n    &lt;Grid&gt;\n        &lt;Border Background=\"White\" BorderBrush=\"Orange\" BorderThickness=\"2\" CornerRadius=\"4\" Opacity=\"0.8\" Width=\"160\" Height=\"40\"&gt;\n            &lt;TextBlock Text=\"hello world, UserControl\" HorizontalAlignment=\"Center\" VerticalAlignment=\"Center\" \/&gt;\n        &lt;\/Border&gt;            \n    &lt;\/Grid&gt;\n&lt;\/UserControl&gt;<\/pre>\n<p>\u30a2\u30d7\u30ea\u306e\u30e1\u30a4\u30f3\u30a6\u30a3\u30f3\u30c9\u30a6\u306e xaml \u306e\u30bf\u30b0\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5909\u66f4\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \">&lt;tb:TaskbarIcon IconSource=\"\/conditioner.ico\" ToolTipText=\"hello world\"&gt;\n    &lt;tb:TaskbarIcon.TrayToolTip&gt;\n        &lt;local:SimpleUserControl \/&gt;\n    &lt;\/tb:TaskbarIcon.TrayToolTip&gt;\n&lt;\/tb:TaskbarIcon&gt;<\/pre>\n<p>\u305d\u3046\u3059\u308b\u3068\u3001\u3053\u3093\u306a\u611f\u3058\u306e\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u306b\u306a\u308b\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10347 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_12.png\" alt=\"\" width=\"256\" height=\"85\"><\/a><\/p>\n<\/p>\n<div class=\"memo \">\n<div class=\"memo_ttl dfont\"> MEMO<\/div>\n<p>\u30a8\u30a4\u30ea\u30a2\u30b9\u306e local \u306e\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u306f\u5f8c\u8ff0\u306e\u300c\u306f\u307e\u308a\u3084\u3059\u3044\u70b9\u300d\u3092\u53c2\u7167\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/p>\n<\/div>\n<h3 id=\"i-8\"><span class=\"ez-toc-section\" id=\"%E3%83%84%E3%83%BC%E3%83%AB%E3%83%81%E3%83%83%E3%83%97%EF%BC%93%EF%BC%9A%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%81%AB%E3%83%AA%E3%83%B3%E3%82%AF\"><\/span>\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\uff13\uff1a\u30ea\u30bd\u30fc\u30b9\u306b\u30ea\u30f3\u30af<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u30ea\u30bd\u30fc\u30b9\u306b\u5ba3\u8a00\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u3089\u3057\u3044\uff08\u5f53\u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u4eba\u306f\u672a\u691c\u8a3c\uff09\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \">&lt;tb:TaskbarIcon IconSource=\"\/conditioner.ico\" ToolTipText=\"hello world\" TrayToolTip=\"{StaticResource TheKeyOfMyToolTipControl}\" \/&gt;<\/pre>\n<h2 id=\"i-9\"><span class=\"ez-toc-section\" id=\"%E3%83%9D%E3%83%83%E3%83%97%E3%82%A2%E3%83%83%E3%83%97\"><\/span>\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30c4\u30fc\u30eb\u30c1\u30c3\u30d7\u3068\u9055\u3063\u3066\u3001\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u306f\u30e6\u30fc\u30b6\u30fc\u304c NotifyIcon \u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u3060\u3051\u8868\u793a\u3055\u308c\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30c8\u30ec\u30a4\u30a8\u30ea\u30a2\u304b\u3089\u30de\u30a6\u30b9\u3092\u96e2\u3057\u3066\u3082\u958b\u3044\u305f\u307e\u307e\u306b\u306a\u308b\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u3069\u3053\u304b\u9055\u3046\u5834\u6240\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u9589\u3058\u308b\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u306b\u306f\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u542b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u8a73\u7d30\u306f\u300c<a href=\"https:\/\/www.codeproject.com\/Articles\/36468\/WPF-NotifyIcon-2\" target=\"_blank\" rel=\"noopener noreferrer\">Code Project \u306e WPF NotifyIcon \u306e\u8a18\u4e8b<\/a>\u300d\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u5f53\u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u4eba\u306f\u672a\u691c\u8a3c\uff09\u3002<\/p>\n<h2 id=\"i-10\"><span class=\"ez-toc-section\" id=\"%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%83%A1%E3%83%8B%E3%83%A5%E3%83%BC\"><\/span>\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>NotifyIcon \u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u3002\u3053\u308c\u306f FrameworkElement \u306e\u30d9\u30fc\u30b9\u30af\u30e9\u30b9\u304b\u3089\u76f4\u63a5\u6d3e\u751f\u3057\u305f WPF \u6a19\u6e96\u306e ContextMenu \u3067\u3042\u308b\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10352 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_13.png\" alt=\"\" width=\"249\" height=\"96\"><\/a><\/p>\n<p>xaml \u3067\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u3092\u5b9a\u7fa9\u3057\u305f\u4f8b\u3002<\/p>\n<pre class=\"lang:xhtml decode:true\">&lt;tb:TaskbarIcon IconSource=\"\/conditioner.ico\" ToolTipText=\"hello world\"&gt;\n  &lt;tb:TaskbarIcon.ContextMenu&gt;\n    &lt;ContextMenu&gt;\n      &lt;MenuItem Name=\"WindowMinimizeMenu\" Header=\"Window Minimize\" \/&gt;\n      &lt;MenuItem Name=\"WindowNormalMenu\" Header=\"Window Normal\" \/&gt;\n    &lt;\/ContextMenu&gt;\n  &lt;\/tb:TaskbarIcon.ContextMenu&gt;\n&lt;\/tb:TaskbarIcon&gt;<\/pre>\n<p>\u30e1\u30cb\u30e5\u30fc\u306e\u9805\u76ee\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u306e\u52d5\u4f5c\u3092\u30b3\u30fc\u30c9\u3067\u8a18\u8ff0\u3057\u305f\u4f8b\u3002<\/p>\n<pre class=\"lang:vbnet decode:true\">Private Sub MainWindow_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded\n  AddHandler Me.WindowMinimizeMenu.Click, AddressOf WindowMinimize\n  AddHandler Me.WindowNormalMenu.Click, AddressOf WindowNormal\nEnd Sub\n\nPrivate Sub WindowMinimize\n  Me.WindowState = WindowState.Minimized\nEnd Sub\n\nPrivate Sub WindowNormal\n  Me.WindowState = WindowState.Normal\nEnd Sub<\/pre>\n<p>&nbsp;<\/p>\n<p>\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u53f3\u30af\u30ea\u30c3\u30af\u3067\u958b\u304f\u304c\u3001\u305d\u306e\u6319\u52d5\u306f MenuActivation \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5909\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\uff08\u5de6\u30af\u30ea\u30c3\u30af\u3084\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u958b\u304f\u3088\u3046\u306b\u3082\u3067\u304d\u308b\uff09\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10354 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_14.png\" alt=\"\" width=\"393\" height=\"163\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_14.png 393w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_14-300x124.png 300w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\"><\/a><\/p>\n<p>\u3061\u306a\u307f\u306b PopupActivation \u3068 MenuActivation \u3067\u5e72\u6e09\u3057\u3042\u3046\u5024\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001MenuActivation \u304c\u512a\u5148\u3055\u308c\u308b\u3002<\/p>\n<h2 id=\"i-11\"><span class=\"ez-toc-section\" id=\"%E3%83%90%E3%83%AB%E3%83%BC%E3%83%B3%E3%83%81%E3%83%83%E3%83%97%EF%BC%88%E9%80%9A%E7%9F%A5%E3%83%90%E3%83%8A%E3%83%BC%EF%BC%89\"><\/span>\u30d0\u30eb\u30fc\u30f3\u30c1\u30c3\u30d7\uff08\u901a\u77e5\u30d0\u30ca\u30fc\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 id=\"i-12\"><span class=\"ez-toc-section\" id=\"%E6%A8%99%E6%BA%96%E3%81%AE%E3%83%90%E3%83%AB%E3%83%BC%E3%83%B3%E3%83%81%E3%83%83%E3%83%97%EF%BC%88%E9%80%9A%E7%9F%A5%E3%83%90%E3%83%8A%E3%83%BC%EF%BC%89\"><\/span>\u6a19\u6e96\u306e\u30d0\u30eb\u30fc\u30f3\u30c1\u30c3\u30d7\uff08\u901a\u77e5\u30d0\u30ca\u30fc\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30b3\u30fc\u30c9<\/p>\n<pre class=\"lang:vbnet decode:true \">Dim title As String = \"WPF NotifyIcon\"\nDim text As String = \"This is a standard balloon\"\n\nMsgBox(\"\u7d44\u307f\u8fbc\u307f\u306e\u30a2\u30a4\u30b3\u30f3\")\nMe.tbi.ShowBalloonTip(title, text, BalloonIcon.Error)\n\nMsgBox(\"\u30ab\u30b9\u30bf\u30e0\u306e\u30a2\u30a4\u30b3\u30f3\")\nMe.tbi.ShowBalloonTip(title, text, My.Resources.conditioner, True)\n\nMsgBox(\"\u30d0\u30eb\u30fc\u30f3\u3092\u96a0\u3059\")\nMe.tbi.HideBalloonTip() '\u3059\u3050\u306b\u6d88\u3057\u305f\u3044\u3068\u304d\u3002\u5b9f\u884c\u3057\u306a\u304f\u3066\u3082\u81ea\u52d5\u7684\u306b\u6d88\u3048\u308b\u3002<\/pre>\n<p>\u8868\u793a\u4f8b\uff08\u7d44\u307f\u8fbc\u307f\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u7528\uff09<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_16.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10358 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_16.png\" alt=\"\" width=\"383\" height=\"162\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_16.png 383w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_16-300x127.png 300w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\"><\/a><\/p>\n<p>\u8868\u793a\u4f8b\uff08\u30ab\u30b9\u30bf\u30e0\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u7528\uff09<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10357 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_15.png\" alt=\"\" width=\"379\" height=\"157\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_15.png 379w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_15-300x124.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\"><\/a><\/p>\n<\/p>\n<div class=\"memo alert\">\n<div class=\"memo_ttl dfont\"> \u6ce8\u610f<\/div>\n<p>\u30ab\u30b9\u30bf\u30e0\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u3046\u30e1\u30bd\u30c3\u30c9\u306e\u7b2c\uff14\u5f15\u6570(True)\u306f\u672c\u6765\u306f\u7701\u7565\u3067\u304d\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u306f\u305a\u3067\u3059\u304c\u3001\u7701\u7565\u3057\u305f\u308a False \u306b\u3057\u305f\u308a\u3059\u308b\u3068\u30d0\u30eb\u30fc\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u30d0\u30b0\u304b\u306a\uff1f<\/p>\n<\/p>\n<\/div>\n<h3 id=\"i-13\"><span class=\"ez-toc-section\" id=\"%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%81%AE%E3%83%90%E3%83%AB%E3%83%BC%E3%83%B3%E3%83%81%E3%83%83%E3%83%97%EF%BC%88%E9%80%9A%E7%9F%A5%E3%83%90%E3%83%8A%E3%83%BC%EF%BC%89\"><\/span>\u30ab\u30b9\u30bf\u30e0\u306e\u30d0\u30eb\u30fc\u30f3\u30c1\u30c3\u30d7\uff08\u901a\u77e5\u30d0\u30ca\u30fc\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30ab\u30b9\u30bf\u30e0\u306e\u30d0\u30eb\u30fc\u30f3\u3092\u8868\u793a\u3059\u308b\u306b\u306f TaskbarIcon \u30af\u30e9\u30b9\u306e ShowCustomBalloon \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3002ShowCustomBalloon \u306f\u4efb\u610f\u306e UIElement \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8868\u793a\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u7b2c\uff12\u5f15\u6570\u3067\u30d0\u30eb\u30fc\u30f3\u306e\u8868\u793a\u65b9\u6cd5\uff08\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff09\u3092\u6307\u5b9a\u3057\u305f\u308a\u3001\u7b2c\uff13\u5f15\u6570\u3067\u30d0\u30eb\u30fc\u30f3\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u6642\u9593\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"lang:vbnet decode:true\">Dim balloon As New NotifyBaloon 'UserControl \u3067\u4f5c\u6210\nDim SecondsToClose As Integer = 10\nMe.tbi.ShowCustomBalloon(balloon, Primitives.PopupAnimation.Slide, SecondsToClose*1000) ' Nothing = \u30d0\u30eb\u30fc\u30f3\u3092\u81ea\u52d5\u7684\u306b\u9589\u3058\u306a\u3044<\/pre>\n<p>\u4e0b\u56f3\u306f\u3001\u79c1\uff08\u5f53\u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u4eba\uff09\u304c UserControl \u3067\u4f5c\u3063\u305f\u30ab\u30b9\u30bf\u30e0\u306e\u30d0\u30eb\u30fc\u30f3\u3092\u8868\u793a\u3057\u305f\u3068\u3053\u308d\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_myTools\/Mimamorinsu\/Mimamorinsu_10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10231 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_myTools\/Mimamorinsu\/Mimamorinsu_10.png\" alt=\"\" width=\"635\" height=\"475\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_myTools\/Mimamorinsu\/Mimamorinsu_10.png 635w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_myTools\/Mimamorinsu\/Mimamorinsu_10-300x224.png 300w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\"><\/a><\/p>\n<\/p>\n<div class=\"memo \">\n<div class=\"memo_ttl dfont\"> MEMO<\/div>\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u9078\u629e\u80a2\u306f Fade\u3001Scroll\u3001Slide \u306e\uff13\u7a2e\u985e\u3042\u308a\u307e\u3059\u304c\u3001\u8868\u793a\u901f\u5ea6\u304c\u901f\u3044\u305b\u3044\u304b\u3001\u3042\u307e\u308a\u9055\u3044\u3092\u611f\u3058\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<\/p>\n<\/div>\n<h2 id=\"i-14\"><span class=\"ez-toc-section\" id=\"%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%EF%BC%88ICommand%EF%BC%89\"><\/span>\u30b3\u30de\u30f3\u30c9\uff08ICommand\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>TaskbarIcon \u3067\u306f\u73fe\u5728\u306e\u3068\u3053\u308d\u6b21\u306e\uff12\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u308b\uff08\u5272\u308a\u5f53\u3066\u308b\u5fc5\u8981\u304c\u3042\u308b\uff09\u3002<\/p>\n<ul>\n<li>LeftClickCommand<\/li>\n<li>DoubleClickCommand<\/li>\n<\/ul>\n<h3 id=\"i-15\"><span class=\"ez-toc-section\" id=\"%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E5%AE%9A%E7%BE%A9\"><\/span>\u30b3\u30de\u30f3\u30c9\u5b9a\u7fa9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u307e\u305a\u30b3\u30de\u30f3\u30c9\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vbnet decode:true \">'Imports System.Windows.Input\n\n'\u30b3\u30de\u30f3\u30c9\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u5358\u7d14\u306a\u30b3\u30de\u30f3\u30c9\nPublic Class ShowMessageCommand : Implements ICommand\n    '\u5b9f\u884c\u53ef\u80fd\u304b\u3069\u3046\u304b\u3092\u5b9a\u7fa9\u3002\u3068\u308a\u3042\u3048\u305a True \u3092\u8fd4\u3057\u3066\u304a\u304f\u3002\n    Public Function CanExecute(parameter As Object) As Boolean Implements ICommand.CanExecute\n        Return True\n    End Function\n    '\u5b9f\u884c\u53ef\u80fd\u304b\u3069\u3046\u304b\u306e\u72b6\u614b\u304c\u5909\u5316\u3057\u305f\u3068\u304d\u306e\u30a4\u30d9\u30f3\u30c8\u3002\n    Public Event CanExecuteChanged(sender As Object, e As EventArgs) Implements ICommand.CanExecuteChanged\n    '\u5b9f\u884c\u5185\u5bb9\u3092\u5b9a\u7fa9\u3002\n    Public Sub Execute(parameter As Object) Implements ICommand.Execute\n        MessageBox.Show(parameter.ToString())\n    End Sub\nEnd Class<\/pre>\n<h3 id=\"i-16\"><span class=\"ez-toc-section\" id=\"%E5%89%B2%E3%82%8A%E5%BD%93%E3%81%A6%E6%96%B9%E6%B3%95%EF%BC%91%EF%BC%9AXAML_%E3%81%A7%E3%83%90%E3%82%A4%E3%83%B3%E3%83%89\"><\/span>\u5272\u308a\u5f53\u3066\u65b9\u6cd5\uff11\uff1aXAML \u3067\u30d0\u30a4\u30f3\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>xaml \u3067\u30d0\u30a4\u30f3\u30c9\u3059\u308b\u3068\u304d\u306f\u3053\u3093\u306a\u611f\u3058\uff08\u4e0b\u8a18\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u500b\u6240\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u306e\u300c\u306f\u307e\u308a\u3084\u3059\u3044\u70b9\u300d\u3067\u89e3\u8aac\uff09\u3002<\/p>\n<pre class=\"lang:xhtml mark:6,13 decode:true\">&lt;Window x:Class=\"MainWindow\"\n        xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"\n        xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"\n        xmlns:d=\"http:\/\/schemas.microsoft.com\/expression\/blend\/2008\"\n        xmlns:mc=\"http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006\"\n        xmlns:local=\"clr-namespace:WpfApp1\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"450\" Width=\"800\" xmlns:tb=\"http:\/\/www.hardcodet.net\/taskbar\"&gt;\n\n    &lt;Grid&gt;\n        &lt;!-- \u30ed\u30fc\u30ab\u30eb\u30ea\u30bd\u30fc\u30b9\u3068\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5ba3\u8a00 --&gt;\n        &lt;Grid.Resources&gt;\n          &lt;local:ShowMessageCommand x:Key=\"MessageCommand\" \/&gt;\n        &lt;\/Grid.Resources&gt;\n\n        &lt;!-- NotifyIcon \u306e\u5ba3\u8a00\u3068\u30d1\u30e9\u30e1\u30fc\u30bf\u4ed8\u304d\u30b3\u30de\u30f3\u30c9\u306e\u5b9a\u7fa9 --&gt;\n        &lt;tb:TaskbarIcon Name=\"tbi\" IconSource=\"\/conditioner.ico\" \n            LeftClickCommand=\"{StaticResource MessageCommand}\"\n            LeftClickCommandParameter=\"Single left mouse button click.\"\n            DoubleClickCommand=\"{StaticResource MessageCommand}\"\n            DoubleClickCommandParameter=\"Double click on NotifyIcon.\" \/&gt;\n    &lt;\/Grid&gt;\n\n&lt;\/Window&gt;<\/pre>\n<p>\u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3057\u3066\u3001\u901a\u77e5\u9818\u57df\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u5de6\u30af\u30ea\u30c3\u30af\u307e\u305f\u306f\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4e0b\u56f3\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10361\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_18.png\" alt=\"\" width=\"252\" height=\"281\"><\/a><\/p>\n<h4 id=\"i-17\"><span class=\"ez-toc-section\" id=\"%E3%81%AF%E3%81%BE%E3%82%8A%E3%82%84%E3%81%99%E3%81%84%E7%82%B9\"><\/span>\u306f\u307e\u308a\u3084\u3059\u3044\u70b9<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u8a66\u3057\u3066\u307f\u3066\u300c\u3042\u308c\uff1f \u52d5\u304b\u306a\u3044\u3088\u3002\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3088\uff01\u300d\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3001\u30dd\u30a4\u30f3\u30c8\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u4e0a\u306e xaml \u306e\uff16\u884c\u76ee\u306b xmlns:local=\u201dclr-namespace:WpfApp1\u2033 \u3068\u3044\u3046\u8a18\u8ff0\u304c\u3042\u308b\u70b9\u3067\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30eb\u30fc\u30c8\u540d\u524d\u7a7a\u9593\uff08WpfApp1\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3068\u540c\u3058\uff09\u3092 local \u3068\u3044\u3046\u30a8\u30a4\u30ea\u30a2\u30b9\u306b\u5272\u308a\u5f53\u3066\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\uff12\u756a\u76ee\u306e\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u304c\u3001\u4eca\u56de\u3001\u30b3\u30de\u30f3\u30c9\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a18\u8ff0\u3057\u305f\u306e\u306f\u3001\u4e0b\u56f3\u306e\u5834\u6240\u3067\u3059\u3002\u30e1\u30a4\u30f3\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30af\u30e9\u30b9\u306e\u5916\u306b\u5b9a\u7fa9\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10364 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_19.png\" alt=\"\" width=\"588\" height=\"325\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_19.png 588w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_19-300x166.png 300w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\"><\/a><\/p>\n<p>\u3067\u3001xaml \u306b\u623b\u3063\u3066\uff13\u756a\u76ee\u306e\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u4e0b\u56f3\u306e\u3068\u3053\u308d\uff08\u524d\u8ff0\u306e xaml \u306e\uff11\uff13\u884c\u76ee\uff09\u3067\u6b63\u3057\u3044\u30b3\u30de\u30f3\u30c9\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u540d\u524d\u3092\u8a18\u8ff0\u3057\u3066\u3082\u6700\u521d\u306f\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10362 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_17.png\" alt=\"\" width=\"614\" height=\"108\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_17.png 614w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/WPFNotifyIcon\/Hardcodet.NotifyIcon.Wpf_17-300x53.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\"><\/a><\/p>\n<p>xaml \u306e\u30a8\u30e9\u30fc\u3063\u3066\u3001\u73fe\u5728\u306e\u72b6\u614b\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u53cd\u6620\u3057\u3066\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u3002\u3002\u3002\u8a18\u8ff0\u304c\u6b63\u3057\u3051\u308c\u3070\u3001\u30ea\u30d3\u30eb\u30c9\u3057\u305f\u308a\u300c\u30c7\u30d0\u30c3\u30b0\u306e\u958b\u59cb(F5)\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u307e\u3059\u3002<\/p>\n<h3 id=\"i-18\"><span class=\"ez-toc-section\" id=\"%E5%89%B2%E3%82%8A%E5%BD%93%E3%81%A6%E6%96%B9%E6%B3%95%EF%BC%92%EF%BC%9A%E3%82%B3%E3%83%BC%E3%83%89%E3%83%93%E3%83%8F%E3%82%A4%E3%83%B3%E3%83%89\"><\/span>\u5272\u308a\u5f53\u3066\u65b9\u6cd5\uff12\uff1a\u30b3\u30fc\u30c9\u30d3\u30cf\u30a4\u30f3\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30b3\u30fc\u30c9\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5272\u308a\u5f53\u3066\u308b\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vbnet decode:true\">'xaml \u306e TaskbarIcon \u306b \"tbi\" \u3068\u3044\u3046\u540d\u524d\u3092\u4ed8\u3051\u3066\u3044\u308b\u5834\u5408\nMe.tbi.LeftClickCommand = New ShowMessageCommand\nMe.tbi.LeftClickCommandParameter = \"Single left mouse button click.(by code)\"\nMe.tbi.DoubleClickCommand = New ShowMessageCommand\nMe.tbi.DoubleClickCommandParameter = \"Double click on NotifyIcon.(by code)\"<\/pre>\n<h2 id=\"i-19\"><span class=\"ez-toc-section\" id=\"WindowShowInTaskbar\"><\/span>Window.ShowInTaskbar<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u57fa\u672c\u7684\u3059\u304e\u3066\u66f8\u304f\u306e\u3092\u5fd8\u308c\u308b\u3068\u3053\u3067\u3057\u305f\u3051\u3069\u3001\u5ff5\u306e\u305f\u3081\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>WPF \u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u306f .ShowInTaskbar \u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u30bf\u30b9\u30af\u30d0\u30fc\u306b\u30a2\u30a4\u30b3\u30f3\u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\uff09\u304c\u3042\u308b\u306e\u3067\u3001\u901a\u77e5\u9818\u57df\uff08\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\uff09\u3092\u4f7f\u3046\u3068\u304d\u306f\u3001\u304d\u3063\u3068\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u6d3b\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30d7\u30ea\u3092\u901a\u77e5\u9818\u57df\uff08\u65e7\u540d\uff1a\u30bf\u30b9\u30af\u30c8\u30ec\u30a4\uff09\u306b\u5165\u308c\u308b\u6a5f\u80fd\u304c WPF \u306e\u6a19\u6e96\u6a5f\u80fd\u306b\u306f\u7121\u3044\u3089\u3057\u3044\uff08\u306a\u306c\u3063\uff01\uff1f\uff09\u3002 \u3067\u3001\u8abf\u3079\u3066\u307f\u308b\u3068\u3001Forms \u306e NotifyIcon \u30af\u30e9\u30b9\u3092\u5f15\u3063\u5f35\u3063\u3066\u304d\u3066\u30a2\u30ec\u30b3\u30ec\u3084\u308b\u65b9\u6cd5\u304c\u30d2\u30c3\u30c8\u3059\u308b\u3051\u308c\u3069\u3001F &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57],"tags":[60,62],"class_list":{"0":"post-10160","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-57","8":"tag-vb-net","9":"tag-wpf"},"_links":{"self":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10160"}],"version-history":[{"count":3,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10160\/revisions"}],"predecessor-version":[{"id":10642,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10160\/revisions\/10642"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/media\/2656"}],"wp:attachment":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}