<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yufin</author_name>
  <author_url>https://blog.hatena.ne.jp/yufin/</author_url>
  <blog_title>プログラミングとプラモデル</blog_title>
  <blog_url>https://yufin.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>こんにちは。yufinです。 今日は、Form上のlabel.textの変更の仕方です。 labelコントロールは、Formを用いるとき、とても使い勝手の良いコントロールなので、ついついたくさん貼り付けてしまうことがよくあります。 その際、いつもはそれぞれのtextをいちいちGUIのプロパティから変更していましたが、プログラムからやってみました。 上の状況の中で、それぞれのlabelを末尾の数字のみに変更します。 コードです。 private void button1_Click(object sender, EventArgs e) { foreach (var item in this.C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyufin.hatenablog.com%2Fentry%2F2015%2F08%2F17%2F231628&quot; title=&quot;c#&amp;lt;windowsForm&amp;gt;Form上のlabel.textの変更 - プログラミングとプラモデル&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>http://cdn-ak.f.st-hatena.com/images/fotolife/y/yufin/20150817/20150817230659.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-17 23:16:28</published>
  <title>c#&lt;windowsForm&gt;Form上のlabel.textの変更</title>
  <type>rich</type>
  <url>https://yufin.hatenablog.com/entry/2015/08/17/231628</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
