{"id":428,"date":"2006-03-28T00:51:21","date_gmt":"2006-03-27T15:51:21","guid":{"rendered":"http:\/\/www.hits-net.com\/blog\/?p=428"},"modified":"2006-03-28T00:51:21","modified_gmt":"2006-03-27T15:51:21","slug":"%e3%82%bf%e3%82%b0%e3%81%b5%e3%82%8c%e3%82%93%e3%81%9a%e3%82%92%e8%a8%ad%e7%bd%ae%e3%81%97%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.hits-net.com\/blog\/?p=428","title":{"rendered":"\u30bf\u30b0\u3075\u308c\u3093\u305a\u3092\u8a2d\u7f6e\u3057\u3066\u307f\u307e\u3057\u305f\u3002"},"content":{"rendered":"<p>\u3069\u3046\u3082\uff5e\u3002\u3053\u3093\u3070\u3093\u306f\u3002<\/p>\n<p>\u7686\u3055\u3093\u306f\u6c17\u3065\u304d\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p>\u5de6\u4e0b\u306e\u3042\u305f\u308a\u306b\u9ed2\u3044\u751f\u304d\u7269\u304c\u4f4f\u307f\u7740\u3044\u305f\u3053\u3068\u3092\uff57<\/p>\n<p>\u6628\u65e5\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3092\u898b\u3088\u3046\u3068\u7ba1\u7406\u30da\u30fc\u30b8\u3092\u898b\u3066\u3044\u305f\u3089\u30fb\u30fb\u30fb<\/p>\n<p>\u300c PR \u304b\u308f\u3044\u3044\u30da\u30c3\u30c8\u304c\u3072\u3087\u3063\u3053\u308a\u767b\u5834\u3002[\u30d5\u30ea\u30fc\u30b9\u30da\u30fc\u30b9\u6a5f\u80fd]\u3092\u4f7f\u3063\u3066\u3001\u30bf\u30b0\u3075\u308c\u3093\u305a\u3092\u8cbc\u3063\u3066\u307f\u3088\u3046\u3002 \u300d<\/p>\n<p>\u3068\u306e\u3053\u3068\u3002<\/p>\n<p>\u3093\u3067\u3001\u65e9\u901f\u8cbc\u3063\u3066\u307f\u307e\u3057\u305f\uff57\uff57<\/p>\n<p>\u307e\u3041\u521d\u898b\u3067\u306f\u3001\u30d6\u30ed\u30b0\u5168\u90e8\u3067SNS\u3067\u3082\u3057\u3088\u3046\u3063\u3066\u3053\u3068\u306a\u306e\u304b\u306a\uff1f<\/p>\n<p>\u767b\u9332\u8005\u304b\u3064\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u4eba\u304c\u3001\u540c\u3058\u6761\u4ef6\u3067\u9055\u3046\u4eba\u306e\u30d6\u30ed\u30b0\u306a\u308a\u3001\u30b5\u30a4\u30c8\u306a\u308a\u306b\u884c\u304f\u3068\u3001\u81ea\u5206\u306e\u30bf\u30b0\u3075\u308c\u3093\u305a\u304c\u904a\u3073\u306b\u884c\u3063\u305f\u3053\u3068\u306b\u306a\u308b\u3068\u304b\u3002<\/p>\n<p>\u306f\u3044\u3002<\/p>\n<p>\u307e\u3060\u4f7f\u3063\u3066\u308b\u30d6\u30ed\u30b0\u3092\u8e0f\u3093\u3060\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\uff57<\/p>\n<p>\u30c1\u30e3\u30c3\u30c8\u3084\u3001\u8db3\u8de1\u3001\u63b2\u793a\u677f\u7b49\u306e\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7121\u6599\u3067\u3059\u304c\u3001\u3088\u308a\u3044\u3044\u898b\u6804\u3048\u306b\u3057\u3088\u3046\u3068\u304b\u3001\u30da\u30c3\u30c8(\u9014\u4e2d\u3067\u904b\u304c\u3088\u304b\u3063\u305f\u3089\u30b2\u30b9\u30c8\u30ad\u30e3\u30e9\uff1f\uff57\u304c\u304f\u308c\u308b\u3089\u3057\u3044\uff57)\u306e\u3048\u3055\u306f\u6709\u6599\u3060\u3068\u304b\u3002<\/p>\n<p>\u307e\u3041\u3001\u305f\u3076\u3093\u3002\u672a\u767b\u9332\u8005\u304b\u3089\u898b\u305f\u3089\u300c\u30be\u30f3\u30d3\u30fc\u300d\u306a\u3093\u3060\u308d\u3046\u306a\uff57<\/p>\n<p>\u30bf\u30b0\u3075\u308c\u3093\u305a\u5229\u7528\u3057\u3066\u308b\u65b9\u3001\u305c\u3072\u30b3\u30e1\u30f3\u30c8 or \u30c8\u30e9\u30d0\u304f\u3060\u3055\u3044\uff57<\/p>\n<p>\u3075\u307f\u306b\u884c\u304d\u307e\u3059\uff57<\/p>\n<p>\u3000\u5225\u4ef6\u3067\u3059\u304c\u3001\u6700\u8fd1.NET\u95a2\u4fc2\u3067DataGrid(\u30c7\u30fc\u30bf\u30b0\u30ea\u30c3\u30c9)\u3092\u3044\u3058\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>#\u958b\u767a\u74b0\u5883<br \/>[VisualBasic.NET(VB.NET) 2003]<br \/>[Windows XP]<\/p>\n<p>\u3067\u307e\u3041\u3001\u4f55\u304c\u3057\u305f\u304b\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u30ad\u30fc\u306e\u30a4\u30d9\u30f3\u30c8(\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u306e\u4e0a\u4e0b\u5de6\u53f3\uff09<br \/>\u3067\u3001\u3044\u308d\u3093\u306a\u51e6\u7406\u3092\u3057\u305f\u304b\u3063\u305f\u3093\u3067\u3059\u304c\u3001<\/p>\n<p>\u3053\u308c\u304c\u307e\u305f\u66f2\u8005\uff57<\/p>\n<p>\u304a\u524d\u306f\u5143\u6728\u304b\uff1f\uff57<\/p>\n<p>\u305d\u306e\u307e\u307e\u3058\u3083\u305c\u3093\u305c\u3093\u30ad\u30fc\u304c\u62fe\u3048\u306a\u3044\uff57<\/p>\n<p>\u5f53\u305f\u308a\u524d\u3068\u3044\u3048\u3070\u5f53\u305f\u308a\u524d\u3067\uff57<\/p>\n<p>\u30ad\u30fc\u3092\u30d5\u30eb\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u3064\u304b\u3063\u3066\u308b\u3093\u3060\u3082\u3093\uff57<br \/>(\u884c\u306e\u79fb\u52d5\u3084\u30bb\u30eb\u306e\u79fb\u52d5\u3067)<\/p>\n<p>\u3063\u3066\u306a\u308f\u3051\u3067\u3001\u3044\u308d\u3093\u306a\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u7d50\u679c\u3001<\/p>\n<p>DataGrid\u3092\u7d99\u627f(inherits)\u3057\u305f\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u3053\u3068\u306b\u3002<\/p>\n<p>\u305d\u306e\u30af\u30e9\u30b9\u3067<\/p>\n<p>ProcessKeyPreview\u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9(overrides)\u3055\u305b\u308b\u5f62\u3092\u53d6\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ed6\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u898b\u308b\u3068\u5272\u3068ProcessCmdKey\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3055\u305b\u3066\u308b\u3088\u3046\u3067\u3059\u304c\u3001<\/p>\n<p>\u4eca\u56de\u306f\u30c7\u30fc\u30bf\u30b0\u30ea\u30c3\u30c9\u304c\u8907\u6570\u5217\u3060\u3063\u305f\u306e\u3067\u3001<br \/>\u305f\u3068\u3048\u3070\u3001\u30ab\u30fc\u30bd\u30eb\u306e\u5de6\u53f3\u3067\u30bb\u30eb\u306e\u79fb\u52d5\u3092\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3092\u9632\u304e\u305f\u304b\u3063\u305f\u306e\u3067\u3001ProcessKeyPreview\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u304a\u304b\u3052\u3067\u30ab\u30fc\u30bd\u30eb\u30ad\u30fc\u306e\u4e0a\u4e0b\u3067DataGrid\u306e\u884c\u79fb\u52d5\u3082\u624b\u66f8\u304d\u3067\u3059\uff57<\/p>\n<p>\u305f\u3068\u3048\u3070\u4e0a\u8ff0\u306e\u6d3e\u751f\u30af\u30e9\u30b9\u304c\u6b63\u5e38\u306b\u51fa\u6765\u305f\u3068\u3057\u3066\u3001\u305d\u3044\u3064\u306eKeyEvent\u3092Raise\u3055\u305b\u3066\u3001\u30ad\u30fc\u3092\u62fe\u3063\u3066\u3001\u30ab\u30fc\u30bd\u30eb\u306e\u4e0b\u30ad\u30fc\u3060\u3063\u305f\u3089\u3001<br \/>Me.BindingContext(DataGrid1.DataSource).Position = DataGrid1.CurrentRowIndex + 1<br \/>\u3063\u3066\u306a\u5177\u5408\u3067\u3059\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3001\u73fe\u5728\u9078\u629e\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u4e00\u756a\u4e0b\u306e\u884c\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3057\u305f\u308a\u304c\u5fc5\u8981\u3067\u3059\u304c\u3002<\/p>\n<p>\u3068\u82e6\u52b4\u3057\u3064\u3064\u51fa\u6765\u305f\u306e\u306b\u3001\u4e0a\u4e0b\u30ad\u30fc\u306e\u53cd\u5fdc\u306f\u3068\u3082\u304b\u304f\u3001\u5de6\u53f3\u30ad\u30fc\u306e\u53cd\u5fdc\u304c\u60aa\u3044\u30fb\u30fb\u30fb\u3002<br \/>\u3061\u3087\u3063\u3068\u62bc\u3057\u7d9a\u3051\u308b\u304b\u3001\u4e8c\u56de\u62bc\u3055\u306a\u3044\u3068\u53cd\u5fdc\u3057\u306a\u3044\u30fb\u30fb\u30fb\u3002<br \/>\u306a\u3093\u3067\u3060\uff1f<\/p>\n<p>\u307e\u3041\u660e\u65e5\u306e\u8ab2\u984c\u304b\u306a\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u53c2\u8003URL:GOTDOTNET<br \/><a href=\"http:\/\/www.gdncom.jp\/general\/bbs\/ShowPost.aspx?PostID=1032\" target=\"_blank\">http:\/\/www.gdncom.jp\/general\/bbs\/ShowPost.aspx?PostID=1032<\/a><\/p>\n<p>\u3064\u3044\u3067\u306b\u3001\u30c7\u30fc\u30bf\u30b0\u30ea\u30c3\u30c9\u3092\uff11\u884c\u9078\u629e\u30e9\u30a4\u30af\u306b\u3059\u308b\u30bd\u30fc\u30b9\u306fDOBON.NET\u3055\u3093\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003:<a href=\"http:\/\/dobon.net\/vb\/dotnet\/datagrid\/singleselect.html\" target=\"_blank\">DataGrid\u3067\u8907\u6570\u884c\u9078\u629e\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3057\u3001\u30bb\u30eb\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u3089\u306a\u3089\u305a\u3001\u884c\u5168\u4f53\u304c\u9078\u629e\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/a><\/p>\n<p>\u305d\u308c\u3068\u4e00\u5fdc\u3001\u5fc3\u306a\u3057\u304b\u3001\u540c\u3058\u3053\u3068\u3067\u8a70\u307e\u3063\u3066\u308b\u4eba\u304c\u691c\u7d22\u3067<br \/>\u63a2\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u66f8\u3044\u3066\u307f\u305f\u3093\u3067\u3059\u304c\uff57<br \/>\u4ffa\u306a\u3089\u3053\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u63a2\u3059\u304b\u306a\u3063\u3066\u306e\u3092\u7db2\u7f85\u3059\u308b\u611f\u3058\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001<\/p>\n<p>\u8a73\u3057\u3044\u30bd\u30fc\u30b9\u3082\u660e\u65e5\u306b\u3067\u3082\u516c\u958b\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u3041\u8ab0\u304b\u306e\u304a\u5f79\u306b\u7acb\u3066\u308c\u3070\u5149\u6804\u3067\u3059\u3002<br \/>(\u3060\u3044\u3076\u3050\u3061\u3083\u3050\u3061\u3083\u3067\u3059\u304c)<\/p>\n<p>\u30bd\u30fc\u30b9\u304c\u4ed8\u3051\u3070\u30c1\u30e7\u30c3\u30c8\u306f\u8aac\u660e\u304c\u307e\u3057\u306b\u306a\u308b\u304b\u306a\uff1f<\/p>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u30cd\u30c3\u30c8\u3063\u3066\u3059\u3054\u3044\uff01<\/p>\n<p>\u63a2\u305b\u3070\u307b\u3068\u3093\u3069\u898b\u3064\u304b\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u50d5\u3082\u5c11\u3057\u305a\u3064\u767a\u4fe1\u8005\u306b\u306a\u308c\u308c\u3070\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3042\u3001\u3054\u5229\u7528\u306f\u8a08\u753b\u7684\u306b\u3002<\/p>\n<p>\u3058\u3083\u306a\u304f\u3066\u3001\u81ea\u5df1\u8cac\u4efb\u3067\uff57<\/p>\n<p>\u50d5\u3082\u7d20\u4eba\u306a\u306e\u3067\uff57<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002\u307e\u305f\u306e\u6a5f\u4f1a\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\uff5e\u3002\u3053\u3093\u3070\u3093\u306f\u3002 \u7686\u3055\u3093\u306f\u6c17\u3065\u304d\u307e\u3057\u305f\u304b\uff1f \u5de6\u4e0b\u306e\u3042\u305f\u308a\u306b\u9ed2\u3044\u751f\u304d\u7269\u304c\u4f4f\u307f\u7740\u3044\u305f\u3053\u3068\u3092\uff57 \u6628\u65e5\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3092\u898b\u3088\u3046\u3068\u7ba1\u7406\u30da\u30fc\u30b8\u3092\u898b\u3066\u3044\u305f\u3089\u30fb\u30fb\u30fb \u300c PR \u304b\u308f\u3044\u3044\u30da\u30c3\u30c8\u304c\u3072\u3087\u3063\u3053\u308a\u767b\u5834\u3002[\u30d5\u30ea\u30fc\u30b9\u30da\u30fc\u30b9\u6a5f\u80fd]\u3092\u4f7f &hellip; <a href=\"https:\/\/www.hits-net.com\/blog\/?p=428\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u30bf\u30b0\u3075\u308c\u3093\u305a\u3092\u8a2d\u7f6e\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/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":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[20],"tags":[],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-it"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4WH5i-6U","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=428"}],"version-history":[{"count":0,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/428\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hits-net.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}