<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp_by_API%2FSystem.Windows.Forms%2FNumericUpDown</id>
		<title>Csharp/C Sharp by API/System.Windows.Forms/NumericUpDown - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp_by_API%2FSystem.Windows.Forms%2FNumericUpDown"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/NumericUpDown&amp;action=history"/>
		<updated>2026-04-30T00:32:53Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/NumericUpDown&amp;diff=4200&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/NumericUpDown&amp;diff=4200&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/NumericUpDown&amp;diff=4201&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/NumericUpDown&amp;diff=4201&amp;oldid=prev"/>
				<updated>2010-05-26T12:10:01Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==NumericUpDown.DecimalPlaces==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class NumericUpDowns : Form&lt;br /&gt;
{&lt;br /&gt;
  NumericUpDown nupdwn;&lt;br /&gt;
  public NumericUpDowns()&lt;br /&gt;
  {&lt;br /&gt;
    Size = new Size(480,580);&lt;br /&gt;
    nupdwn = new NumericUpDown();&lt;br /&gt;
    nupdwn.Parent = this;&lt;br /&gt;
    nupdwn.Location = new Point(50, 50);&lt;br /&gt;
    nupdwn.Size = new Size(60,20);&lt;br /&gt;
    nupdwn.Value = 1;&lt;br /&gt;
    nupdwn.Minimum = -10;&lt;br /&gt;
    nupdwn.Maximum = 10;&lt;br /&gt;
    nupdwn.Increment = .25m;    //  decimal&lt;br /&gt;
    nupdwn.DecimalPlaces = 2;&lt;br /&gt;
    nupdwn.ReadOnly = true;&lt;br /&gt;
    nupdwn.TextAlign = HorizontalAlignment.Right;&lt;br /&gt;
    nupdwn.ValueChanged += new EventHandler(nupdwn_OnValueChanged);&lt;br /&gt;
  }  &lt;br /&gt;
  private void nupdwn_OnValueChanged(object sender, EventArgs e)&lt;br /&gt;
  {&lt;br /&gt;
    Console.WriteLine(nupdwn.Value);&lt;br /&gt;
  }&lt;br /&gt;
  static void Main() &lt;br /&gt;
  {&lt;br /&gt;
    Application.Run(new NumericUpDowns());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.Increment==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class NumericUpDowns : Form&lt;br /&gt;
{&lt;br /&gt;
  NumericUpDown nupdwn;&lt;br /&gt;
  public NumericUpDowns()&lt;br /&gt;
  {&lt;br /&gt;
    Size = new Size(480,580);&lt;br /&gt;
    nupdwn = new NumericUpDown();&lt;br /&gt;
    nupdwn.Parent = this;&lt;br /&gt;
    nupdwn.Location = new Point(50, 50);&lt;br /&gt;
    nupdwn.Size = new Size(60,20);&lt;br /&gt;
    nupdwn.Value = 1;&lt;br /&gt;
    nupdwn.Minimum = -10;&lt;br /&gt;
    nupdwn.Maximum = 10;&lt;br /&gt;
    nupdwn.Increment = .25m;    //  decimal&lt;br /&gt;
    nupdwn.DecimalPlaces = 2;&lt;br /&gt;
    nupdwn.ReadOnly = true;&lt;br /&gt;
    nupdwn.TextAlign = HorizontalAlignment.Right;&lt;br /&gt;
    nupdwn.ValueChanged += new EventHandler(nupdwn_OnValueChanged);&lt;br /&gt;
  }  &lt;br /&gt;
  private void nupdwn_OnValueChanged(object sender, EventArgs e)&lt;br /&gt;
  {&lt;br /&gt;
    Console.WriteLine(nupdwn.Value);&lt;br /&gt;
  }&lt;br /&gt;
  static void Main() &lt;br /&gt;
  {&lt;br /&gt;
    Application.Run(new NumericUpDowns());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.Maximum==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
   private System.Windows.Forms.NumericUpDown yearUpDown;&lt;br /&gt;
   private System.Windows.Forms.Button calculateButton;&lt;br /&gt;
   public Form1() {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
   }&lt;br /&gt;
   private void calculateButton_Click( object sender, EventArgs e )&lt;br /&gt;
   {&lt;br /&gt;
      Console.WriteLine(Convert.ToInt32( yearUpDown.Value ));&lt;br /&gt;
   } &lt;br /&gt;
   private void InitializeComponent()&lt;br /&gt;
   {&lt;br /&gt;
      this.yearUpDown = new System.Windows.Forms.NumericUpDown();&lt;br /&gt;
      this.calculateButton = new System.Windows.Forms.Button();&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).BeginInit();&lt;br /&gt;
      this.SuspendLayout();&lt;br /&gt;
      this.yearUpDown.Location = new System.Drawing.Point(84, 97);&lt;br /&gt;
      this.yearUpDown.Maximum = new decimal(new int[] {&lt;br /&gt;
            10,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Minimum = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Name = &amp;quot;yearUpDown&amp;quot;;&lt;br /&gt;
      this.yearUpDown.ReadOnly = true;&lt;br /&gt;
      this.yearUpDown.Size = new System.Drawing.Size(100, 20);&lt;br /&gt;
      this.yearUpDown.TabIndex = 5;&lt;br /&gt;
      this.yearUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;&lt;br /&gt;
      this.yearUpDown.Value = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.calculateButton.Location = new System.Drawing.Point(196, 16);&lt;br /&gt;
      this.calculateButton.Size = new System.Drawing.Size(75, 23);&lt;br /&gt;
      this.calculateButton.Text = &amp;quot;Calculate&amp;quot;;&lt;br /&gt;
      this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);&lt;br /&gt;
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(289, 288);&lt;br /&gt;
      this.Controls.Add(this.calculateButton);&lt;br /&gt;
      this.Controls.Add(this.yearUpDown);&lt;br /&gt;
      this.Text = &amp;quot;Interest Calculator&amp;quot;;&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).EndInit();&lt;br /&gt;
      this.ResumeLayout(false);&lt;br /&gt;
      this.PerformLayout();&lt;br /&gt;
   }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.Minimum==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
   private System.Windows.Forms.NumericUpDown yearUpDown;&lt;br /&gt;
   private System.Windows.Forms.Button calculateButton;&lt;br /&gt;
   public Form1() {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
   }&lt;br /&gt;
   private void calculateButton_Click( object sender, EventArgs e )&lt;br /&gt;
   {&lt;br /&gt;
      Console.WriteLine(Convert.ToInt32( yearUpDown.Value ));&lt;br /&gt;
   } &lt;br /&gt;
   private void InitializeComponent()&lt;br /&gt;
   {&lt;br /&gt;
      this.yearUpDown = new System.Windows.Forms.NumericUpDown();&lt;br /&gt;
      this.calculateButton = new System.Windows.Forms.Button();&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).BeginInit();&lt;br /&gt;
      this.SuspendLayout();&lt;br /&gt;
      this.yearUpDown.Location = new System.Drawing.Point(84, 97);&lt;br /&gt;
      this.yearUpDown.Maximum = new decimal(new int[] {&lt;br /&gt;
            10,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Minimum = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Name = &amp;quot;yearUpDown&amp;quot;;&lt;br /&gt;
      this.yearUpDown.ReadOnly = true;&lt;br /&gt;
      this.yearUpDown.Size = new System.Drawing.Size(100, 20);&lt;br /&gt;
      this.yearUpDown.TabIndex = 5;&lt;br /&gt;
      this.yearUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;&lt;br /&gt;
      this.yearUpDown.Value = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.calculateButton.Location = new System.Drawing.Point(196, 16);&lt;br /&gt;
      this.calculateButton.Size = new System.Drawing.Size(75, 23);&lt;br /&gt;
      this.calculateButton.Text = &amp;quot;Calculate&amp;quot;;&lt;br /&gt;
      this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);&lt;br /&gt;
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(289, 288);&lt;br /&gt;
      this.Controls.Add(this.calculateButton);&lt;br /&gt;
      this.Controls.Add(this.yearUpDown);&lt;br /&gt;
      this.Text = &amp;quot;Interest Calculator&amp;quot;;&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).EndInit();&lt;br /&gt;
      this.ResumeLayout(false);&lt;br /&gt;
      this.PerformLayout();&lt;br /&gt;
   }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.ReadOnly==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
   private System.Windows.Forms.NumericUpDown yearUpDown;&lt;br /&gt;
   private System.Windows.Forms.Button calculateButton;&lt;br /&gt;
   public Form1() {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
   }&lt;br /&gt;
   private void calculateButton_Click( object sender, EventArgs e )&lt;br /&gt;
   {&lt;br /&gt;
      Console.WriteLine(Convert.ToInt32( yearUpDown.Value ));&lt;br /&gt;
   } &lt;br /&gt;
   private void InitializeComponent()&lt;br /&gt;
   {&lt;br /&gt;
      this.yearUpDown = new System.Windows.Forms.NumericUpDown();&lt;br /&gt;
      this.calculateButton = new System.Windows.Forms.Button();&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).BeginInit();&lt;br /&gt;
      this.SuspendLayout();&lt;br /&gt;
      this.yearUpDown.Location = new System.Drawing.Point(84, 97);&lt;br /&gt;
      this.yearUpDown.Maximum = new decimal(new int[] {&lt;br /&gt;
            10,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Minimum = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Name = &amp;quot;yearUpDown&amp;quot;;&lt;br /&gt;
      this.yearUpDown.ReadOnly = true;&lt;br /&gt;
      this.yearUpDown.Size = new System.Drawing.Size(100, 20);&lt;br /&gt;
      this.yearUpDown.TabIndex = 5;&lt;br /&gt;
      this.yearUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;&lt;br /&gt;
      this.yearUpDown.Value = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.calculateButton.Location = new System.Drawing.Point(196, 16);&lt;br /&gt;
      this.calculateButton.Size = new System.Drawing.Size(75, 23);&lt;br /&gt;
      this.calculateButton.Text = &amp;quot;Calculate&amp;quot;;&lt;br /&gt;
      this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);&lt;br /&gt;
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(289, 288);&lt;br /&gt;
      this.Controls.Add(this.calculateButton);&lt;br /&gt;
      this.Controls.Add(this.yearUpDown);&lt;br /&gt;
      this.Text = &amp;quot;Interest Calculator&amp;quot;;&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).EndInit();&lt;br /&gt;
      this.ResumeLayout(false);&lt;br /&gt;
      this.PerformLayout();&lt;br /&gt;
   }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.TextAlign==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
   private System.Windows.Forms.NumericUpDown yearUpDown;&lt;br /&gt;
   private System.Windows.Forms.Button calculateButton;&lt;br /&gt;
   public Form1() {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
   }&lt;br /&gt;
   private void calculateButton_Click( object sender, EventArgs e )&lt;br /&gt;
   {&lt;br /&gt;
      Console.WriteLine(Convert.ToInt32( yearUpDown.Value ));&lt;br /&gt;
   } &lt;br /&gt;
   private void InitializeComponent()&lt;br /&gt;
   {&lt;br /&gt;
      this.yearUpDown = new System.Windows.Forms.NumericUpDown();&lt;br /&gt;
      this.calculateButton = new System.Windows.Forms.Button();&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).BeginInit();&lt;br /&gt;
      this.SuspendLayout();&lt;br /&gt;
      this.yearUpDown.Location = new System.Drawing.Point(84, 97);&lt;br /&gt;
      this.yearUpDown.Maximum = new decimal(new int[] {&lt;br /&gt;
            10,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Minimum = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.yearUpDown.Name = &amp;quot;yearUpDown&amp;quot;;&lt;br /&gt;
      this.yearUpDown.ReadOnly = true;&lt;br /&gt;
      this.yearUpDown.Size = new System.Drawing.Size(100, 20);&lt;br /&gt;
      this.yearUpDown.TabIndex = 5;&lt;br /&gt;
      this.yearUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;&lt;br /&gt;
      this.yearUpDown.Value = new decimal(new int[] {&lt;br /&gt;
            1,&lt;br /&gt;
            0,&lt;br /&gt;
            0,&lt;br /&gt;
            0});&lt;br /&gt;
      this.calculateButton.Location = new System.Drawing.Point(196, 16);&lt;br /&gt;
      this.calculateButton.Size = new System.Drawing.Size(75, 23);&lt;br /&gt;
      this.calculateButton.Text = &amp;quot;Calculate&amp;quot;;&lt;br /&gt;
      this.calculateButton.Click += new System.EventHandler(this.calculateButton_Click);&lt;br /&gt;
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(289, 288);&lt;br /&gt;
      this.Controls.Add(this.calculateButton);&lt;br /&gt;
      this.Controls.Add(this.yearUpDown);&lt;br /&gt;
      this.Text = &amp;quot;Interest Calculator&amp;quot;;&lt;br /&gt;
      ((System.ruponentModel.ISupportInitialize)(this.yearUpDown)).EndInit();&lt;br /&gt;
      this.ResumeLayout(false);&lt;br /&gt;
      this.PerformLayout();&lt;br /&gt;
   }&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.ThousandsSeparator==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
    using System;&lt;br /&gt;
  using System.Drawing;&lt;br /&gt;
  using System.Collections;&lt;br /&gt;
  using System.ruponentModel;&lt;br /&gt;
  using System.Windows.Forms;&lt;br /&gt;
  using System.Data;&lt;br /&gt;
  public class UpDownForm : System.Windows.Forms.Form&lt;br /&gt;
  {&lt;br /&gt;
    private System.Windows.Forms.Label lblCurrSel;&lt;br /&gt;
    private System.Windows.Forms.Button btnGetSelections;&lt;br /&gt;
    private System.Windows.Forms.Label label1;&lt;br /&gt;
    private System.Windows.Forms.NumericUpDown numericUpDown;&lt;br /&gt;
    public UpDownForm()&lt;br /&gt;
    {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
    }&lt;br /&gt;
    private void InitializeComponent()&lt;br /&gt;
    {&lt;br /&gt;
      this.label1 = new System.Windows.Forms.Label ();&lt;br /&gt;
      this.numericUpDown = new System.Windows.Forms.NumericUpDown ();&lt;br /&gt;
      this.btnGetSelections = new System.Windows.Forms.Button ();&lt;br /&gt;
      this.lblCurrSel = new System.Windows.Forms.Label ();&lt;br /&gt;
      numericUpDown.BeginInit ();&lt;br /&gt;
      label1.Location = new System.Drawing.Point (8, 80);&lt;br /&gt;
      label1.Text = &amp;quot;Numeric UpDown Control&amp;quot;;&lt;br /&gt;
      label1.Size = new System.Drawing.Size (232, 32);&lt;br /&gt;
      label1.Font = new System.Drawing.Font (&amp;quot;Verdana&amp;quot;, 12);&lt;br /&gt;
      label1.TabIndex = 3;&lt;br /&gt;
      numericUpDown.Location = new System.Drawing.Point (264, 80);&lt;br /&gt;
      numericUpDown.Maximum = new decimal (5000);&lt;br /&gt;
      numericUpDown.Size = new System.Drawing.Size (168, 20);&lt;br /&gt;
      numericUpDown.ThousandsSeparator = true;&lt;br /&gt;
      numericUpDown.TabIndex = 1;&lt;br /&gt;
      numericUpDown.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;&lt;br /&gt;
      numericUpDown.ValueChanged += new System.EventHandler (this.numericUpDown_ValueChanged);&lt;br /&gt;
      btnGetSelections.Location = new System.Drawing.Point (16, 136);&lt;br /&gt;
      btnGetSelections.Size = new System.Drawing.Size (136, 24);&lt;br /&gt;
      btnGetSelections.TabIndex = 4;&lt;br /&gt;
      btnGetSelections.Text = &amp;quot;Get Current Selections&amp;quot;;&lt;br /&gt;
      btnGetSelections.Click += new System.EventHandler (this.btnGetSelections_Click);&lt;br /&gt;
      lblCurrSel.Location = new System.Drawing.Point (176, 120);&lt;br /&gt;
      lblCurrSel.Size = new System.Drawing.Size (256, 48);&lt;br /&gt;
      this.Text = &amp;quot;Spin Controls&amp;quot;;&lt;br /&gt;
      this.AutoScaleBaseSize = new System.Drawing.Size (5, 13);&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size (448, 181);&lt;br /&gt;
      this.Controls.Add (this.lblCurrSel);&lt;br /&gt;
      this.Controls.Add (this.btnGetSelections);&lt;br /&gt;
      this.Controls.Add (this.label1);&lt;br /&gt;
      this.Controls.Add (this.numericUpDown);&lt;br /&gt;
      numericUpDown.EndInit ();&lt;br /&gt;
    }&lt;br /&gt;
    static void Main() &lt;br /&gt;
    {&lt;br /&gt;
      Application.Run(new UpDownForm());&lt;br /&gt;
    }&lt;br /&gt;
    protected void numericUpDown_ValueChanged (object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      this.Text = &amp;quot;You changed the numeric value...&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    protected void btnGetSelections_Click (object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      lblCurrSel.Text =  &amp;quot;Number: &amp;quot; &lt;br /&gt;
        + numericUpDown.Value;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.UpDownAlign==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
    using System;&lt;br /&gt;
  using System.Drawing;&lt;br /&gt;
  using System.Collections;&lt;br /&gt;
  using System.ruponentModel;&lt;br /&gt;
  using System.Windows.Forms;&lt;br /&gt;
  using System.Data;&lt;br /&gt;
  public class UpDownForm : System.Windows.Forms.Form&lt;br /&gt;
  {&lt;br /&gt;
    private System.Windows.Forms.Label lblCurrSel;&lt;br /&gt;
    private System.Windows.Forms.Button btnGetSelections;&lt;br /&gt;
    private System.Windows.Forms.Label label1;&lt;br /&gt;
    private System.Windows.Forms.NumericUpDown numericUpDown;&lt;br /&gt;
    public UpDownForm()&lt;br /&gt;
    {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
    }&lt;br /&gt;
    private void InitializeComponent()&lt;br /&gt;
    {&lt;br /&gt;
      this.label1 = new System.Windows.Forms.Label ();&lt;br /&gt;
      this.numericUpDown = new System.Windows.Forms.NumericUpDown ();&lt;br /&gt;
      this.btnGetSelections = new System.Windows.Forms.Button ();&lt;br /&gt;
      this.lblCurrSel = new System.Windows.Forms.Label ();&lt;br /&gt;
      numericUpDown.BeginInit ();&lt;br /&gt;
      label1.Location = new System.Drawing.Point (8, 80);&lt;br /&gt;
      label1.Text = &amp;quot;Numeric UpDown Control&amp;quot;;&lt;br /&gt;
      label1.Size = new System.Drawing.Size (232, 32);&lt;br /&gt;
      label1.Font = new System.Drawing.Font (&amp;quot;Verdana&amp;quot;, 12);&lt;br /&gt;
      label1.TabIndex = 3;&lt;br /&gt;
      numericUpDown.Location = new System.Drawing.Point (264, 80);&lt;br /&gt;
      numericUpDown.Maximum = new decimal (5000);&lt;br /&gt;
      numericUpDown.Size = new System.Drawing.Size (168, 20);&lt;br /&gt;
      numericUpDown.ThousandsSeparator = true;&lt;br /&gt;
      numericUpDown.TabIndex = 1;&lt;br /&gt;
      numericUpDown.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;&lt;br /&gt;
      numericUpDown.ValueChanged += new System.EventHandler (this.numericUpDown_ValueChanged);&lt;br /&gt;
      btnGetSelections.Location = new System.Drawing.Point (16, 136);&lt;br /&gt;
      btnGetSelections.Size = new System.Drawing.Size (136, 24);&lt;br /&gt;
      btnGetSelections.TabIndex = 4;&lt;br /&gt;
      btnGetSelections.Text = &amp;quot;Get Current Selections&amp;quot;;&lt;br /&gt;
      btnGetSelections.Click += new System.EventHandler (this.btnGetSelections_Click);&lt;br /&gt;
      lblCurrSel.Location = new System.Drawing.Point (176, 120);&lt;br /&gt;
      lblCurrSel.Size = new System.Drawing.Size (256, 48);&lt;br /&gt;
      this.Text = &amp;quot;Spin Controls&amp;quot;;&lt;br /&gt;
      this.AutoScaleBaseSize = new System.Drawing.Size (5, 13);&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size (448, 181);&lt;br /&gt;
      this.Controls.Add (this.lblCurrSel);&lt;br /&gt;
      this.Controls.Add (this.btnGetSelections);&lt;br /&gt;
      this.Controls.Add (this.label1);&lt;br /&gt;
      this.Controls.Add (this.numericUpDown);&lt;br /&gt;
      numericUpDown.EndInit ();&lt;br /&gt;
    }&lt;br /&gt;
    static void Main() &lt;br /&gt;
    {&lt;br /&gt;
      Application.Run(new UpDownForm());&lt;br /&gt;
    }&lt;br /&gt;
    protected void numericUpDown_ValueChanged (object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      this.Text = &amp;quot;You changed the numeric value...&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    protected void btnGetSelections_Click (object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      lblCurrSel.Text =  &amp;quot;Number: &amp;quot; &lt;br /&gt;
        + numericUpDown.Value;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.Validated==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
        &lt;br /&gt;
using System;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.IO;&lt;br /&gt;
using System.Text;&lt;br /&gt;
class DialogValid : System.Windows.Forms.Form&lt;br /&gt;
{&lt;br /&gt;
    private Button okButton;&lt;br /&gt;
    private Button cancelButton;&lt;br /&gt;
    private NumericUpDown num;&lt;br /&gt;
    public decimal Num {&lt;br /&gt;
        get { return num.Value; }&lt;br /&gt;
        set { num.Value = value;    }&lt;br /&gt;
    }&lt;br /&gt;
    void OnValidating(Object sender, CancelEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        MessageBox.Show(&amp;quot;NumericUpDown is validating&amp;quot;);&lt;br /&gt;
    } &lt;br /&gt;
    void OnValid(Object sender,EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        MessageBox.Show(&amp;quot;NumericUpDown is valid&amp;quot;);&lt;br /&gt;
    } &lt;br /&gt;
    public DialogValid()&lt;br /&gt;
    {&lt;br /&gt;
        Size = new Size(400,100);&lt;br /&gt;
        FormBorderStyle = FormBorderStyle.FixedDialog;&lt;br /&gt;
        Text = &amp;quot;Dialog test&amp;quot;;&lt;br /&gt;
        okButton = new Button();        &lt;br /&gt;
        okButton.DialogResult = DialogResult.OK;&lt;br /&gt;
        okButton.Location = new Point(20,28);&lt;br /&gt;
        okButton.Size = new Size(80,25);&lt;br /&gt;
        okButton.Text = &amp;quot;OK&amp;quot;;&lt;br /&gt;
        Controls.Add(okButton);&lt;br /&gt;
        cancelButton = new Button();&lt;br /&gt;
        cancelButton.Location = new Point(300,28);&lt;br /&gt;
        cancelButton.Size = new Size(80,25);&lt;br /&gt;
        cancelButton.Text = &amp;quot;Cancel&amp;quot;;&lt;br /&gt;
        cancelButton.DialogResult = DialogResult.Cancel;&lt;br /&gt;
        Controls.Add(cancelButton);&lt;br /&gt;
        Label l = new Label();&lt;br /&gt;
        l.Text = &amp;quot;NumericUpDown&amp;quot;;&lt;br /&gt;
        l.Location = new Point(20,5);&lt;br /&gt;
        l.Size = new Size(120,25);&lt;br /&gt;
        Controls.Add(l);&lt;br /&gt;
        num = new NumericUpDown();&lt;br /&gt;
        num.Location = new Point(140,5);&lt;br /&gt;
        num.Size = new Size(80,25);&lt;br /&gt;
        num.Minimum = (decimal)10.0;&lt;br /&gt;
        num.Maximum = (decimal)100.0;&lt;br /&gt;
        num.Value = (decimal)10.0;&lt;br /&gt;
        &lt;br /&gt;
        num.Validating+=new CancelEventHandler(OnValidating);&lt;br /&gt;
        num.Validated+=new EventHandler(OnValid);&lt;br /&gt;
        Controls.Add(num);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
public class NumericUpDownValidationEvent{&lt;br /&gt;
    public static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        DialogValid dlg = new DialogValid();&lt;br /&gt;
        DialogResult r = dlg.ShowDialog();&lt;br /&gt;
        &lt;br /&gt;
        Console.WriteLine(dlg.Num);&lt;br /&gt;
    }&lt;br /&gt;
} &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.Validating==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
        &lt;br /&gt;
using System;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.IO;&lt;br /&gt;
using System.Text;&lt;br /&gt;
class DialogValid : System.Windows.Forms.Form&lt;br /&gt;
{&lt;br /&gt;
    private Button okButton;&lt;br /&gt;
    private Button cancelButton;&lt;br /&gt;
    private NumericUpDown num;&lt;br /&gt;
    public decimal Num {&lt;br /&gt;
        get { return num.Value; }&lt;br /&gt;
        set { num.Value = value;    }&lt;br /&gt;
    }&lt;br /&gt;
    void OnValidating(Object sender, CancelEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        MessageBox.Show(&amp;quot;NumericUpDown is validating&amp;quot;);&lt;br /&gt;
    } &lt;br /&gt;
    void OnValid(Object sender,EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        MessageBox.Show(&amp;quot;NumericUpDown is valid&amp;quot;);&lt;br /&gt;
    } &lt;br /&gt;
    public DialogValid()&lt;br /&gt;
    {&lt;br /&gt;
        Size = new Size(400,100);&lt;br /&gt;
        FormBorderStyle = FormBorderStyle.FixedDialog;&lt;br /&gt;
        Text = &amp;quot;Dialog test&amp;quot;;&lt;br /&gt;
        okButton = new Button();        &lt;br /&gt;
        okButton.DialogResult = DialogResult.OK;&lt;br /&gt;
        okButton.Location = new Point(20,28);&lt;br /&gt;
        okButton.Size = new Size(80,25);&lt;br /&gt;
        okButton.Text = &amp;quot;OK&amp;quot;;&lt;br /&gt;
        Controls.Add(okButton);&lt;br /&gt;
        cancelButton = new Button();&lt;br /&gt;
        cancelButton.Location = new Point(300,28);&lt;br /&gt;
        cancelButton.Size = new Size(80,25);&lt;br /&gt;
        cancelButton.Text = &amp;quot;Cancel&amp;quot;;&lt;br /&gt;
        cancelButton.DialogResult = DialogResult.Cancel;&lt;br /&gt;
        Controls.Add(cancelButton);&lt;br /&gt;
        Label l = new Label();&lt;br /&gt;
        l.Text = &amp;quot;NumericUpDown&amp;quot;;&lt;br /&gt;
        l.Location = new Point(20,5);&lt;br /&gt;
        l.Size = new Size(120,25);&lt;br /&gt;
        Controls.Add(l);&lt;br /&gt;
        num = new NumericUpDown();&lt;br /&gt;
        num.Location = new Point(140,5);&lt;br /&gt;
        num.Size = new Size(80,25);&lt;br /&gt;
        num.Minimum = (decimal)10.0;&lt;br /&gt;
        num.Maximum = (decimal)100.0;&lt;br /&gt;
        num.Value = (decimal)10.0;&lt;br /&gt;
        &lt;br /&gt;
        num.Validating+=new CancelEventHandler(OnValidating);&lt;br /&gt;
        num.Validated+=new EventHandler(OnValid);&lt;br /&gt;
        Controls.Add(num);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
public class NumericUpDownValidationEvent{&lt;br /&gt;
    public static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        DialogValid dlg = new DialogValid();&lt;br /&gt;
        DialogResult r = dlg.ShowDialog();&lt;br /&gt;
        &lt;br /&gt;
        Console.WriteLine(dlg.Num);&lt;br /&gt;
    }&lt;br /&gt;
} &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.Value==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;   &lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Text;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
  private System.Windows.Forms.GroupBox GroupBox1;&lt;br /&gt;
  private System.Windows.Forms.Button cmdApply;&lt;br /&gt;
  private System.Windows.Forms.NumericUpDown udOpacity;&lt;br /&gt;
  private System.Windows.Forms.Label Label1;&lt;br /&gt;
  public Form1() {&lt;br /&gt;
        InitializeComponent();&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  private void cmdApply_Click(object sender, EventArgs e)&lt;br /&gt;
  {&lt;br /&gt;
    this.Opacity = (double)udOpacity.Value / 100;&lt;br /&gt;
  }&lt;br /&gt;
  private void InitializeComponent()&lt;br /&gt;
  {&lt;br /&gt;
    this.GroupBox1 = new System.Windows.Forms.GroupBox();&lt;br /&gt;
    this.cmdApply = new System.Windows.Forms.Button();&lt;br /&gt;
    this.udOpacity = new System.Windows.Forms.NumericUpDown();&lt;br /&gt;
    this.Label1 = new System.Windows.Forms.Label();&lt;br /&gt;
    this.GroupBox1.SuspendLayout();&lt;br /&gt;
    ((System.ruponentModel.ISupportInitialize)(this.udOpacity)).BeginInit();&lt;br /&gt;
    this.SuspendLayout();&lt;br /&gt;
    // &lt;br /&gt;
    // GroupBox1&lt;br /&gt;
    // &lt;br /&gt;
    this.GroupBox1.Controls.Add(this.cmdApply);&lt;br /&gt;
    this.GroupBox1.Controls.Add(this.udOpacity);&lt;br /&gt;
    this.GroupBox1.Controls.Add(this.Label1);&lt;br /&gt;
    this.GroupBox1.Location = new System.Drawing.Point(12, 89);&lt;br /&gt;
    this.GroupBox1.Name = &amp;quot;GroupBox1&amp;quot;;&lt;br /&gt;
    this.GroupBox1.Size = new System.Drawing.Size(268, 116);&lt;br /&gt;
    this.GroupBox1.TabIndex = 5;&lt;br /&gt;
    this.GroupBox1.TabStop = false;&lt;br /&gt;
    // &lt;br /&gt;
    // cmdApply&lt;br /&gt;
    // &lt;br /&gt;
    this.cmdApply.Location = new System.Drawing.Point(172, 64);&lt;br /&gt;
    this.cmdApply.Name = &amp;quot;cmdApply&amp;quot;;&lt;br /&gt;
    this.cmdApply.Size = new System.Drawing.Size(80, 24);&lt;br /&gt;
    this.cmdApply.TabIndex = 5;&lt;br /&gt;
    this.cmdApply.Text = &amp;quot;Apply&amp;quot;;&lt;br /&gt;
    this.cmdApply.Click += new System.EventHandler(this.cmdApply_Click);&lt;br /&gt;
    // &lt;br /&gt;
    // udOpacity&lt;br /&gt;
    // &lt;br /&gt;
    this.udOpacity.Increment = new decimal(new int[] {&lt;br /&gt;
        5,&lt;br /&gt;
        0,&lt;br /&gt;
        0,&lt;br /&gt;
        0});&lt;br /&gt;
    this.udOpacity.Location = new System.Drawing.Point(88, 32);&lt;br /&gt;
    this.udOpacity.Name = &amp;quot;udOpacity&amp;quot;;&lt;br /&gt;
    this.udOpacity.Size = new System.Drawing.Size(48, 21);&lt;br /&gt;
    this.udOpacity.TabIndex = 4;&lt;br /&gt;
    this.udOpacity.Value = new decimal(new int[] {&lt;br /&gt;
        50,&lt;br /&gt;
        0,&lt;br /&gt;
        0,&lt;br /&gt;
        0});&lt;br /&gt;
    // &lt;br /&gt;
    // Label1&lt;br /&gt;
    // &lt;br /&gt;
    this.Label1.Location = new System.Drawing.Point(20, 36);&lt;br /&gt;
    this.Label1.Name = &amp;quot;Label1&amp;quot;;&lt;br /&gt;
    this.Label1.Size = new System.Drawing.Size(56, 16);&lt;br /&gt;
    this.Label1.TabIndex = 3;&lt;br /&gt;
    this.Label1.Text = &amp;quot;Opacity:&amp;quot;;&lt;br /&gt;
    // &lt;br /&gt;
    // Transparent&lt;br /&gt;
    // &lt;br /&gt;
    this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);&lt;br /&gt;
    this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;&lt;br /&gt;
    this.ClientSize = new System.Drawing.Size(309, 289);&lt;br /&gt;
    this.Controls.Add(this.GroupBox1);&lt;br /&gt;
    this.Font = new System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));&lt;br /&gt;
    this.Name = &amp;quot;Transparent&amp;quot;;&lt;br /&gt;
    this.Text = &amp;quot;Transparent&amp;quot;;&lt;br /&gt;
    this.GroupBox1.ResumeLayout(false);&lt;br /&gt;
    ((System.ruponentModel.ISupportInitialize)(this.udOpacity)).EndInit();&lt;br /&gt;
    this.ResumeLayout(false);&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  [STAThread]&lt;br /&gt;
  static void Main()&lt;br /&gt;
  {&lt;br /&gt;
    Application.EnableVisualStyles();&lt;br /&gt;
    Application.Run(new Form1());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NumericUpDown.ValueChanged==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
    using System;&lt;br /&gt;
  using System.Drawing;&lt;br /&gt;
  using System.Collections;&lt;br /&gt;
  using System.ruponentModel;&lt;br /&gt;
  using System.Windows.Forms;&lt;br /&gt;
  using System.Data;&lt;br /&gt;
  public class UpDownForm : System.Windows.Forms.Form&lt;br /&gt;
  {&lt;br /&gt;
    private System.Windows.Forms.Label lblCurrSel;&lt;br /&gt;
    private System.Windows.Forms.Button btnGetSelections;&lt;br /&gt;
    private System.Windows.Forms.Label label1;&lt;br /&gt;
    private System.Windows.Forms.NumericUpDown numericUpDown;&lt;br /&gt;
    public UpDownForm()&lt;br /&gt;
    {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
    }&lt;br /&gt;
    private void InitializeComponent()&lt;br /&gt;
    {&lt;br /&gt;
      this.label1 = new System.Windows.Forms.Label ();&lt;br /&gt;
      this.numericUpDown = new System.Windows.Forms.NumericUpDown ();&lt;br /&gt;
      this.btnGetSelections = new System.Windows.Forms.Button ();&lt;br /&gt;
      this.lblCurrSel = new System.Windows.Forms.Label ();&lt;br /&gt;
      numericUpDown.BeginInit ();&lt;br /&gt;
      label1.Location = new System.Drawing.Point (8, 80);&lt;br /&gt;
      label1.Text = &amp;quot;Numeric UpDown Control&amp;quot;;&lt;br /&gt;
      label1.Size = new System.Drawing.Size (232, 32);&lt;br /&gt;
      label1.Font = new System.Drawing.Font (&amp;quot;Verdana&amp;quot;, 12);&lt;br /&gt;
      label1.TabIndex = 3;&lt;br /&gt;
      numericUpDown.Location = new System.Drawing.Point (264, 80);&lt;br /&gt;
      numericUpDown.Maximum = new decimal (5000);&lt;br /&gt;
      numericUpDown.Size = new System.Drawing.Size (168, 20);&lt;br /&gt;
      numericUpDown.ThousandsSeparator = true;&lt;br /&gt;
      numericUpDown.TabIndex = 1;&lt;br /&gt;
      numericUpDown.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;&lt;br /&gt;
      numericUpDown.ValueChanged += new System.EventHandler (this.numericUpDown_ValueChanged);&lt;br /&gt;
      btnGetSelections.Location = new System.Drawing.Point (16, 136);&lt;br /&gt;
      btnGetSelections.Size = new System.Drawing.Size (136, 24);&lt;br /&gt;
      btnGetSelections.TabIndex = 4;&lt;br /&gt;
      btnGetSelections.Text = &amp;quot;Get Current Selections&amp;quot;;&lt;br /&gt;
      btnGetSelections.Click += new System.EventHandler (this.btnGetSelections_Click);&lt;br /&gt;
      lblCurrSel.Location = new System.Drawing.Point (176, 120);&lt;br /&gt;
      lblCurrSel.Size = new System.Drawing.Size (256, 48);&lt;br /&gt;
      this.Text = &amp;quot;Spin Controls&amp;quot;;&lt;br /&gt;
      this.AutoScaleBaseSize = new System.Drawing.Size (5, 13);&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size (448, 181);&lt;br /&gt;
      this.Controls.Add (this.lblCurrSel);&lt;br /&gt;
      this.Controls.Add (this.btnGetSelections);&lt;br /&gt;
      this.Controls.Add (this.label1);&lt;br /&gt;
      this.Controls.Add (this.numericUpDown);&lt;br /&gt;
      numericUpDown.EndInit ();&lt;br /&gt;
    }&lt;br /&gt;
    static void Main() &lt;br /&gt;
    {&lt;br /&gt;
      Application.Run(new UpDownForm());&lt;br /&gt;
    }&lt;br /&gt;
    protected void numericUpDown_ValueChanged (object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      this.Text = &amp;quot;You changed the numeric value...&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    protected void btnGetSelections_Click (object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      lblCurrSel.Text =  &amp;quot;Number: &amp;quot; &lt;br /&gt;
        + numericUpDown.Value;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
  &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>