<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tack41tu</author_name>
  <author_url>https://blog.hatena.ne.jp/tack41tu/</author_url>
  <blog_title>一人情シスのつぶやき</blog_title>
  <blog_url>https://tack41tu.hatenablog.com/</blog_url>
  <categories>
    <anon>Visual Studio</anon>
    <anon>.net</anon>
  </categories>
  <description>すべてのイベントハンドラを一括で登録、削除する関数を作成する すべてのイベントハンドラの最初で削除し、最後に再登録する イベントの多重起動(Leaveイベント内で別ControlのFocusを実行して再度Leaveが実行される、等)を防ぐにはこれが確実 関数のreturn部分が複数あって複雑な場合は、try-finallyのfinally内で再登録する イベントハンドラから呼び出す関数内で削除,登録処理を行うと、その関数の呼ばれ方によって再登録が多重に行われてしまう可能性がある。関数を使う場合もイベントハンドラの中で直接一括削除、再登録を行う 複数のイベントハンドラが同じ処理をする場合でも、別…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftack41tu.hatenablog.com%2Fentry%2F2019%2F12%2F24%2F150431&quot; title=&quot;WindowsFormでイベントを駆使して入力チェック等を行う場合のポイント - 一人情シスのつぶやき&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-24 15:04:31</published>
  <title>WindowsFormでイベントを駆使して入力チェック等を行う場合のポイント</title>
  <type>rich</type>
  <url>https://tack41tu.hatenablog.com/entry/2019/12/24/150431</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
