{"id":2894,"date":"2020-05-09T08:38:24","date_gmt":"2020-05-08T23:38:24","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=2894"},"modified":"2020-05-09T08:38:26","modified_gmt":"2020-05-08T23:38:26","slug":"%e3%80%90c%e3%80%91%e3%80%90%e3%83%94%e3%82%af%e3%83%ad%e3%82%b9%e3%80%91%e3%80%90altseed%e3%80%91%e3%83%91%e3%83%ac%e3%83%83%e3%83%88%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e5%85%a5%e5%8a%9b","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=2894","title":{"rendered":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u30d1\u30ec\u30c3\u30c8\u304b\u3089\u6570\u5b57\u3092\u5165\u529b\u3059\u308b"},"content":{"rendered":"\n<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"rbkKEHSDnn\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=2869\">\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30d1\u30ec\u30c3\u30c8\u306e\u4f5c\u6210<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30d1\u30ec\u30c3\u30c8\u306e\u4f5c\u6210&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=2869&#038;embed=true#?secret=hSepNFm1ND#?secret=rbkKEHSDnn\" data-secret=\"rbkKEHSDnn\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089\u3002(gitHub)<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/takishita2nd\/Picross\">https:\/\/github.com\/takishita2nd\/Picross<\/a><\/p>\n\n\n\n<p>\u30d1\u30ec\u30c3\u30c8\u306e\u6570\u5b57\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u6570\u5b57\u3092\u5165\u529b\u3059\u308b\u51e6\u7406\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e3b\u306bDialog\u30af\u30e9\u30b9\u306e\u5b9f\u88c5\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Dialog\n{\n    private string _rowValue = \"10\";\n    private string _colValue = \"10\";\n    private TextBox _selectedTextBox = null;\n    private string _selectedValue = string.Empty;\n\n        public void OnClick(asd.Vector2DF pos)\n        {\n            if (_palette.IsShow() == false)\n            {\n                if (_rowText.isClick(pos))\n                {\n                    _selectedTextBox = _rowText;\n                    _selectedValue = _rowValue;\n                    _palette.Show(pos);\n                }\n                if (_colText.isClick(pos))\n                {\n                    _selectedTextBox = _colText;\n                    _selectedValue = _colValue;\n                    _palette.Show(pos);\n                }\n                if (_button.isClick(pos))\n                {\n                    _button.OnClick();\n                }\n            }\n            else\n            {\n                if (_palette.IsClick(pos))\n                {\n                    string v = _palette.GetClickValue(pos);\n                    _selectedValue = updateTextValue(_selectedTextBox, _selectedValue, v);\n                    if (_selectedTextBox.Equals(_rowText))\n                    {\n                        _rowValue = _selectedValue;\n                    }\n                    else\n                    {\n                        _colValue = _selectedValue;\n                    }\n                }\n                else\n                {\n                    _palette.Hide();\n                    _selectedTextBox = null;\n                    _selectedValue = string.Empty;\n                }\n            }\n        }\n\n        private string updateTextValue(TextBox textBox, string value, string v)\n        {\n            string text = string.Empty;\n            switch (v)\n            {\n                case Palette.CODE.BS:\n                    if(value.Length != 0)\n                    {\n                        text = value.Remove(value.Length - 1);\n                    }\n                    break;\n                case Palette.CODE.CLR:\n                    text = string.Empty;\n                    break;\n                default:\n                    if(value.Length &lt; 2)\n                    {\n                        text = value + v;\n                    }\n                    else\n                    {\n                        text = value;\n                    }\n                    break;\n            }\n            textBox.SetText(text);\n            return text;\n        }\n    }\n<\/code><\/pre>\n\n\n\n<p>\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304cROW\u3068COL\u306e\u4e8c\u3064\u304c\u3042\u308b\u306e\u3067\u3001\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306b\u3001\u3069\u3061\u3089\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u304b\u3092\u8a18\u61b6\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d1\u30ec\u30c3\u30c8\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u5834\u5408\u3001\u4f55\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u304b\u3092\u30d1\u30ec\u30c3\u30c8\u304b\u3089\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5024\u3092\u78ba\u8a8d\u3057\u3001\u305d\u306e\u6570\u5b57\u3092\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306e\u5024\u306b\u6587\u5b57\u5217\u8ffd\u52a0\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u4eca\u306e\u3068\u3053\u308d\u3001\u6570\u5b57\u306f2\u6841\u307e\u3067\u3068\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001\u6841\u304c2\u6841\u30aa\u30fc\u30d0\u30fc\u3057\u305f\u308a\u30010\u6841\u4ee5\u4e0b\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u30ac\u30fc\u30c9\u304b\u3051\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"blob:https:\/\/taki-lab.site\/3f2ad3d2-ec60-4a7b-be1a-8c99dbdfd634\"><\/video><\/figure>\n\n\n\n<p>\u3042\u30010\u3092\u5165\u529b\u3067\u304d\u306a\u3044\u3084\u3002<\/p>\n\n\n\n<p>\u6b21\u56de\u307e\u3067\u306b\u4fee\u6b63\u3057\u3066\u304a\u304d\u307e\u30fc\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" alt=\"\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 \u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089\u3002(gitHub) https:\/\/github.com\/takishita2nd\/Picross \u30d1\u30ec\u30c3\u30c8\u306e\u6570\u5b57\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u6570\u5b57\u3092\u5165\u529b\u3059\u308b\u51e6\u7406\u3092\u4f5c\u3063\u3066\u3044\u304d &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=2894\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u30d1\u30ec\u30c3\u30c8\u304b\u3089\u6570\u5b57\u3092\u5165\u529b\u3059\u308b<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[174,3],"tags":[184,137,189],"class_list":["post-2894","post","type-post","status-publish","format-standard","hentry","category-c","category-3","tag-altseed","tag-c","tag-189"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-KG","jetpack-related-posts":[{"id":2926,"url":"https:\/\/taki-lab.site\/bocci\/?p=2926","url_meta":{"origin":2894,"position":0},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u306b\u6570\u5b57\u3092\u5165\u529b\u3059\u308b","author":"taki","date":"2020\u5e745\u670812\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2909 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2869,"url":"https:\/\/taki-lab.site\/bocci\/?p=2869","url_meta":{"origin":2894,"position":1},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30d1\u30ec\u30c3\u30c8\u306e\u4f5c\u6210","author":"taki","date":"2020\u5e745\u67088\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2861 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/palette.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2909,"url":"https:\/\/taki-lab.site\/bocci\/?p=2909","url_meta":{"origin":2894,"position":2},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u6570\u5b57\u5165\u529b\u30de\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u3002","author":"taki","date":"2020\u5e745\u670811\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2903 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/20200510131344-1.gif?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":2903,"url":"https:\/\/taki-lab.site\/bocci\/?p=2903","url_meta":{"origin":2894,"position":3},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u5b9f\u969b\u306b\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3059\u308b","author":"taki","date":"2020\u5e745\u670810\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2894 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3155,"url":"https:\/\/taki-lab.site\/bocci\/?p=3155","url_meta":{"origin":2894,"position":4},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u30c7\u30fc\u30bf\u5165\u529bUI\u306e\u6539\u5584","author":"taki","date":"2020\u5e746\u67082\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=3143 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/06\/palette.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2841,"url":"https:\/\/taki-lab.site\/bocci\/?p=2841","url_meta":{"origin":2894,"position":5},"title":"\u3010C#\u3011\u3010\u30d4\u30af\u30ed\u30b9\u3011\u3010ALTSEED\u3011\u30b5\u30a4\u30ba\u5909\u66f4\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u8868\u793a\u3059\u308b","author":"taki","date":"2020\u5e745\u67085\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2831 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/067e0be3be17eadf9945cd7b837b0c1d.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/067e0be3be17eadf9945cd7b837b0c1d.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/067e0be3be17eadf9945cd7b837b0c1d.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/05\/067e0be3be17eadf9945cd7b837b0c1d.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2894"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2894\/revisions"}],"predecessor-version":[{"id":2895,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2894\/revisions\/2895"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}