{"id":137,"date":"2013-12-30T07:49:53","date_gmt":"2013-12-29T22:49:53","guid":{"rendered":"https:\/\/prg.waou.biz\/?p=137"},"modified":"2018-03-03T09:01:51","modified_gmt":"2018-03-03T00:01:51","slug":"%e3%82%bb%e3%83%ab%e3%81%ae%e5%86%85%e5%ae%b9%e3%81%ab%e3%82%88%e3%82%8a%e8%89%b2%e3%82%92%e5%a4%89%e3%81%88%e3%82%8b","status":"publish","type":"post","link":"https:\/\/prg.waou.biz\/?p=137","title":{"rendered":"\u30bb\u30eb\u306e\u5185\u5bb9\u306b\u3088\u308a\u8272\u3092\u5909\u3048\u308b"},"content":{"rendered":"\n<pre class=\"lang:default decode:true \" >private void gcMultiRow1_CellFormatting(object sender, CellFormattingEventArgs e)\r\n\r\n{\r\n\r\nif (e.Scope == CellScope.Row)\r\n\r\n{\r\n\r\ntry\r\n\r\n{\r\n\r\nif (e.CellName == \u201csummaryCell5\u201d &amp;&amp; e.Value != null)\r\n\r\n{\r\n\r\nint rowIndex = gcMultiRow1.CurrentCellPosition.RowIndex;\r\n\r\nstring s = gcMultiRow1[rowIndex, \u201csummaryCell5\u201d].Value.ToString(); gcMultiRow1.SetValue(rowIndex+1, \u201ctextBoxCell34\u201d, s);\r\n\r\n}\r\n\r\n\r\nif (e.CellName == \u201cgcDateTimeCell1\u201d &amp;&amp; e.Value != null)\r\n\r\n{\r\n\r\n\/\/ e.CellStyle.Format = \u201cMMM d dd ddd\u201d;\r\nDateTime s = (DateTime)e.Value;\r\n\r\nif (s.ToString(\u201dMMM d dd ddd\u201d).IndexOf(\u201d\u571f\u201d) &gt; 0)\r\n\r\n{\r\n\r\n\/\/noby.Message(s.ToString(\u201dMMM d dd ddd\u201d));\r\n\r\ne.CellStyle.ForeColor = Color.Blue;\r\n\r\n}\r\n\r\nelse if (s.ToString(\u201dMMM d dd ddd\u201d).IndexOf(\u201d\u65e5\u201d) &gt; 0)\r\n\r\n{\r\n\r\ne.CellStyle.ForeColor = Color.Red;\r\n\r\n}\r\n\r\ne.FormattingApplied = true;\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n\r\ncatch\r\n\r\n{ }\r\n\r\n\r\n\r\n}\r\n\r\n}\r\n\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>private void gcMultiRow1_CellFormatting(object sender, CellFormattingEventArgs e) { if (e.Scope == CellScope.R [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","_lightning_design_setting":[],"footnotes":""},"categories":[12],"tags":[],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-multirow"],"_links":{"self":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137"}],"version-history":[{"count":3,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":871,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts\/137\/revisions\/871"}],"wp:attachment":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}