{"id":14990,"date":"2018-05-21T06:00:22","date_gmt":"2018-05-21T13:00:22","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=14990"},"modified":"2018-05-18T12:21:10","modified_gmt":"2018-05-18T19:21:10","slug":"new-video-working-with-windows-control-event-handlers-in-powershell-studio","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2018\/05\/21\/new-video-working-with-windows-control-event-handlers-in-powershell-studio\/","title":{"rendered":"New Video &#8211; Working with Windows Control Event Handlers in PowerShell Studio"},"content":{"rendered":"<p>The latest in our short video series demonstrates how to work with Windows Control Event Handlers in a basic form using PowerShell Studio 2018.<\/p>\n<p>In about four minutes we show you how to:<\/p>\n<ul>\n<li>View Windows Control Properties<\/li>\n<li>How and Where to add the code behind the Windows Control<\/li>\n<li>Use Snippet libraries to reuse saved code<\/li>\n<li>Recover from a deleted Event handler ScriptBlock<\/li>\n<\/ul>\n<p>Follow the steps in the video and be creative!<\/p>\n<p><em>Tip: To add a Windows Control to the form, in the form Designer just drag\/drop from the Toolbox<\/em>.<\/p>\n<p>View the video here: <a href=\"https:\/\/youtu.be\/4iZFYt0kQJI\"><em>PowerShell Studio Working with Windows Control Event Handlers<\/em><\/a><\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14996\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48-300x189.jpg\" alt=\"\" width=\"745\" height=\"469\" srcset=\"https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48-300x189.jpg 300w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48-768x483.jpg 768w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48-1024x644.jpg 1024w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48-848x533.jpg 848w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2018\/05\/WFC_Video_2018-05-18_13-50-48.jpg 1172w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/a><\/p>\n<p>Speed up your scripting techniques and learn about other cool SAPIEN Technologies product features by checking out the videos on our <a href=\"http:\/\/YouTube.com\/SAPIENTech\" target=\"_blank\" rel=\"noopener\">YouTube channel<\/a>.<\/p>\n<h3>Related Articles<\/h3>\n<ul>\n<li><a href=\"https:\/\/www.sapien.com\/blog\/2018\/04\/12\/powershell-studio-working-with-windows-control-event-handlers\/\">PowerShell Studio: Working with Windows Form Control Event Handlers<\/a>.<\/li>\n<li><a href=\"https:\/\/www.sapien.com\/blog\/2014\/01\/07\/powershell-studio-fonts-and-other-ambient-properties\/\">PowerShell Studio: Ambient properties<\/a>.<\/li>\n<li><a href=\"https:\/\/www.sapien.com\/blog\/2013\/02\/12\/powershell-studio-enable-and-disable-groups-of-controls\/\">PowerShell Studio: Enable and Disable Groups of Controls.<\/a><\/li>\n<\/ul>\n<h3>Feedback<\/h3>\n<p>As always, if you have any ideas, comments, or feedback, please\u00a0<a href=\"https:\/\/www.sapien.com\/forums\/viewforum.php?f=23\">visit our feedback forum<\/a> and reference this post.<\/p>\n<p>&nbsp;<\/p>\n<p><em>Max Trinidad is a Technology Evangelist at SAPIEN Technologies Inc., and a Microsoft PowerShell MVP. You can reach him at\u00a0<a href=\"mailto:maxt@sapien.com\">maxt@sapien.com<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The latest in our short video series demonstrates how to work with Windows Control Event Handlers in a basic form using PowerShell Studio 2018. In about four minutes we show you how to: View Windows Control Properties How and Where to add the code behind the Windows Control Use Snippet libraries to reuse saved code [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"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":[1143,1238,703,1045],"tags":[1052,28,1016,815,327,312],"class_list":["post-14990","post","type-post","status-publish","format-standard","hentry","category-powershell","category-powershell-core","category-powershell-studio","category-videos","tag-event-handler","tag-powershell","tag-powershell-studio","tag-windows-forms","tag-winform","tag-winforms"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/14990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=14990"}],"version-history":[{"count":9,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/14990\/revisions"}],"predecessor-version":[{"id":15004,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/14990\/revisions\/15004"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=14990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=14990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=14990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}