{"id":18,"date":"2008-01-03T17:24:17","date_gmt":"2008-01-03T21:24:17","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=18"},"modified":"2008-01-05T00:15:54","modified_gmt":"2008-01-05T04:15:54","slug":"systemwindowsformstimer","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=18","title":{"rendered":"System.Windows.Forms.Timer"},"content":{"rendered":"<p>Usage<\/p>\n<ul>\n<li>To raise an event at user defined intervals<\/li>\n<li>Good for polling operations or display a splash screen<\/li>\n<\/ul>\n<p>Implementation<\/p>\n<ul>\n<li>Implement <em>Tick<\/em> event for operations<\/li>\n<li>Use <em>Interval<\/em> property to set intervals<\/li>\n<li>Need to set <em>Enabled<\/em> property to true and <em>Interval<\/em> property &gt;\u00a00 in order\u00a0to raise <em>Tick<\/em> event<\/li>\n<\/ul>\n<p>Related<\/p>\n<ul>\n<li>System.Timers.Timer<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Usage To raise an event at user defined intervals Good for polling operations or display a splash screen Implementation Implement Tick event for operations Use Interval property to set intervals Need to set Enabled property to true and Interval property &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=18\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-c"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-i","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":0,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}