<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>powerbombkun</author_name>
  <author_url>https://blog.hatena.ne.jp/powerbombkun/</author_url>
  <blog_title>ボムTIPS</blog_title>
  <blog_url>https://powerbombkun.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>テキストボックスに指定した文字（数字等）が入力されたら背景色を変えて、ユーザーにルール違反していることを通知したいことがある。 テキストボックスのイベントに少し処理追加すればカンタンに実装することができる。 public partial class Form1 : Form { private readonly Color _defaultBackColor; public Form1() { InitializeComponent(); _defaultBackColor = textBox1.BackColor; } private void textBox1_TextChanged(ob…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpowerbombkun.hatenablog.jp%2Fentry%2F2021%2F12%2F27%2F233154&quot; title=&quot;数字以外が入力で色が変わるTextBoxの実装方法 - ボムTIPS&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>https://cdn-ak.f.st-hatena.com/images/fotolife/p/powerbombkun/20211223/20211223135308.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-27 23:31:54</published>
  <title>数字以外が入力で色が変わるTextBoxの実装方法</title>
  <type>rich</type>
  <url>https://powerbombkun.hatenablog.jp/entry/2021/12/27/233154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
