<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FGUI%2FNumericUpDown</id>
		<title>VB.Net Tutorial/GUI/NumericUpDown - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FGUI%2FNumericUpDown"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/NumericUpDown&amp;action=history"/>
		<updated>2026-04-05T19:14:04Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/NumericUpDown&amp;diff=3876&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/NumericUpDown&amp;diff=3876&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:30Z</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;Версия 16:40, 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://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/NumericUpDown&amp;diff=3877&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/NumericUpDown&amp;diff=3877&amp;oldid=prev"/>
				<updated>2010-05-26T12:57:17Z</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;==Get value from  the NumericUpDown control==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Windows.Forms&lt;br /&gt;
public class GetValueFromNumericUpDown&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New FrmInterestCalculator)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class FrmInterestCalculator&lt;br /&gt;
   Private Sub btnCalculate_Click(ByVal sender As System.Object, _&lt;br /&gt;
      ByVal e As System.EventArgs) Handles btnCalculate.Click&lt;br /&gt;
      &lt;br /&gt;
      Console.WriteLine(Convert.ToInt32(updYear.Value))&lt;br /&gt;
   End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&amp;lt;Global.Microsoft.VisualBasic.rupilerServices.DesignerGenerated()&amp;gt; _&lt;br /&gt;
Partial Class FrmInterestCalculator&lt;br /&gt;
   Inherits System.Windows.Forms.Form&lt;br /&gt;
   &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
   &amp;lt;System.Diagnostics.DebuggerNonUserCode()&amp;gt; _&lt;br /&gt;
   Protected Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
      If disposing AndAlso components IsNot Nothing Then&lt;br /&gt;
         components.Dispose()&lt;br /&gt;
      End If&lt;br /&gt;
      MyBase.Dispose(disposing)&lt;br /&gt;
   End Sub&lt;br /&gt;
   &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
   Private components As System.ruponentModel.IContainer&lt;br /&gt;
   &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
   &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
   &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
   &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; _&lt;br /&gt;
   Private Sub InitializeComponent()&lt;br /&gt;
      Me.btnCalculate = New System.Windows.Forms.Button&lt;br /&gt;
      Me.txtDisplay = New System.Windows.Forms.TextBox&lt;br /&gt;
      Me.lblBalance = New System.Windows.Forms.Label&lt;br /&gt;
      Me.updYear = New System.Windows.Forms.NumericUpDown&lt;br /&gt;
      Me.lblYears = New System.Windows.Forms.Label&lt;br /&gt;
      Me.txtInterest = New System.Windows.Forms.TextBox&lt;br /&gt;
      Me.lblInterest = New System.Windows.Forms.Label&lt;br /&gt;
      Me.txtPrincipal = New System.Windows.Forms.TextBox&lt;br /&gt;
      Me.lblPrincipal = New System.Windows.Forms.Label&lt;br /&gt;
      CType(Me.updYear, System.ruponentModel.ISupportInitialize).BeginInit()&lt;br /&gt;
      Me.SuspendLayout()&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;btnCalculate&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.btnCalculate.Location = New System.Drawing.Point(197, 14)&lt;br /&gt;
      Me.btnCalculate.Name = &amp;quot;btnCalculate&amp;quot;&lt;br /&gt;
      Me.btnCalculate.Size = New System.Drawing.Size(75, 23)&lt;br /&gt;
      Me.btnCalculate.TabIndex = 17&lt;br /&gt;
      Me.btnCalculate.Text = &amp;quot;Calculate&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;txtDisplay&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.txtDisplay.BackColor = System.Drawing.SystemColors.Control&lt;br /&gt;
      Me.txtDisplay.Location = New System.Drawing.Point(18, 170)&lt;br /&gt;
      Me.txtDisplay.Multiline = True&lt;br /&gt;
      Me.txtDisplay.Name = &amp;quot;txtDisplay&amp;quot;&lt;br /&gt;
      Me.txtDisplay.ReadOnly = True&lt;br /&gt;
      Me.txtDisplay.ScrollBars = System.Windows.Forms.ScrollBars.Vertical&lt;br /&gt;
      Me.txtDisplay.Size = New System.Drawing.Size(254, 104)&lt;br /&gt;
      Me.txtDisplay.TabIndex = 16&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;lblBalance&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.lblBalance.AutoSize = True&lt;br /&gt;
      Me.lblBalance.Location = New System.Drawing.Point(17, 143)&lt;br /&gt;
      Me.lblBalance.Name = &amp;quot;lblBalance&amp;quot;&lt;br /&gt;
      Me.lblBalance.Size = New System.Drawing.Size(122, 13)&lt;br /&gt;
      Me.lblBalance.TabIndex = 15&lt;br /&gt;
      Me.lblBalance.Text = &amp;quot;Yearly account balance:&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;updYear&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.updYear.Location = New System.Drawing.Point(85, 95)&lt;br /&gt;
      Me.updYear.Maximum = New Decimal(New Integer() {10, 0, 0, 0})&lt;br /&gt;
      Me.updYear.Minimum = New Decimal(New Integer() {1, 0, 0, 0})&lt;br /&gt;
      Me.updYear.Name = &amp;quot;updYear&amp;quot;&lt;br /&gt;
      Me.updYear.ReadOnly = True&lt;br /&gt;
      Me.updYear.Size = New System.Drawing.Size(100, 20)&lt;br /&gt;
      Me.updYear.TabIndex = 14&lt;br /&gt;
      Me.updYear.TextAlign = System.Windows.Forms.HorizontalAlignment.Right&lt;br /&gt;
      Me.updYear.Value = New Decimal(New Integer() {1, 0, 0, 0})&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;lblYears&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.lblYears.AutoSize = True&lt;br /&gt;
      Me.lblYears.Location = New System.Drawing.Point(17, 102)&lt;br /&gt;
      Me.lblYears.Name = &amp;quot;lblYears&amp;quot;&lt;br /&gt;
      Me.lblYears.Size = New System.Drawing.Size(37, 13)&lt;br /&gt;
      Me.lblYears.TabIndex = 13&lt;br /&gt;
      Me.lblYears.Text = &amp;quot;Years:&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;txtInterest&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.txtInterest.Location = New System.Drawing.Point(85, 58)&lt;br /&gt;
      Me.txtInterest.Name = &amp;quot;txtInterest&amp;quot;&lt;br /&gt;
      Me.txtInterest.Size = New System.Drawing.Size(100, 20)&lt;br /&gt;
      Me.txtInterest.TabIndex = 12&lt;br /&gt;
      Me.txtInterest.TextAlign = System.Windows.Forms.HorizontalAlignment.Right&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;lblInterest&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.lblInterest.AutoSize = True&lt;br /&gt;
      Me.lblInterest.Location = New System.Drawing.Point(17, 61)&lt;br /&gt;
      Me.lblInterest.Name = &amp;quot;lblInterest&amp;quot;&lt;br /&gt;
      Me.lblInterest.Size = New System.Drawing.Size(71, 13)&lt;br /&gt;
      Me.lblInterest.TabIndex = 11&lt;br /&gt;
      Me.lblInterest.Text = &amp;quot;Interest Rate:&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;txtPrincipal&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.txtPrincipal.Location = New System.Drawing.Point(85, 17)&lt;br /&gt;
      Me.txtPrincipal.Name = &amp;quot;txtPrincipal&amp;quot;&lt;br /&gt;
      Me.txtPrincipal.Size = New System.Drawing.Size(100, 20)&lt;br /&gt;
      Me.txtPrincipal.TabIndex = 10&lt;br /&gt;
      Me.txtPrincipal.TextAlign = System.Windows.Forms.HorizontalAlignment.Right&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;lblPrincipal&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.lblPrincipal.AutoSize = True&lt;br /&gt;
      Me.lblPrincipal.Location = New System.Drawing.Point(17, 20)&lt;br /&gt;
      Me.lblPrincipal.Name = &amp;quot;lblPrincipal&amp;quot;&lt;br /&gt;
      Me.lblPrincipal.Size = New System.Drawing.Size(50, 13)&lt;br /&gt;
      Me.lblPrincipal.TabIndex = 9&lt;br /&gt;
      Me.lblPrincipal.Text = &amp;quot;Principal:&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;FrmInterestCalculator&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)&lt;br /&gt;
      Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font&lt;br /&gt;
      Me.ClientSize = New System.Drawing.Size(289, 288)&lt;br /&gt;
      Me.Controls.Add(Me.btnCalculate)&lt;br /&gt;
      Me.Controls.Add(Me.txtDisplay)&lt;br /&gt;
      Me.Controls.Add(Me.lblBalance)&lt;br /&gt;
      Me.Controls.Add(Me.updYear)&lt;br /&gt;
      Me.Controls.Add(Me.lblYears)&lt;br /&gt;
      Me.Controls.Add(Me.txtInterest)&lt;br /&gt;
      Me.Controls.Add(Me.lblInterest)&lt;br /&gt;
      Me.Controls.Add(Me.txtPrincipal)&lt;br /&gt;
      Me.Controls.Add(Me.lblPrincipal)&lt;br /&gt;
      Me.Name = &amp;quot;FrmInterestCalculator&amp;quot;&lt;br /&gt;
      Me.Text = &amp;quot;Interest Calculator&amp;quot;&lt;br /&gt;
      CType(Me.updYear, System.ruponentModel.ISupportInitialize).EndInit()&lt;br /&gt;
      Me.ResumeLayout(False)&lt;br /&gt;
      Me.PerformLayout()&lt;br /&gt;
   End Sub&lt;br /&gt;
   Friend WithEvents btnCalculate As System.Windows.Forms.Button&lt;br /&gt;
   Friend WithEvents txtDisplay As System.Windows.Forms.TextBox&lt;br /&gt;
   Friend WithEvents lblBalance As System.Windows.Forms.Label&lt;br /&gt;
   Friend WithEvents updYear As System.Windows.Forms.NumericUpDown&lt;br /&gt;
   Friend WithEvents lblYears As System.Windows.Forms.Label&lt;br /&gt;
   Friend WithEvents txtInterest As System.Windows.Forms.TextBox&lt;br /&gt;
   Friend WithEvents lblInterest As System.Windows.Forms.Label&lt;br /&gt;
   Friend WithEvents txtPrincipal As System.Windows.Forms.TextBox&lt;br /&gt;
   Friend WithEvents lblPrincipal As System.Windows.Forms.Label&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ScrollBars - NumericUpDowns==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;imports System&lt;br /&gt;
imports System.Drawing&lt;br /&gt;
imports System.Windows.Forms&lt;br /&gt;
public class NumericUpDowns : inherits Form&lt;br /&gt;
  dim hbar as HScrollBar&lt;br /&gt;
  dim vbar as VScrollBar&lt;br /&gt;
  dim nupdwn as NumericUpDown&lt;br /&gt;
  public sub New()&lt;br /&gt;
    Size = new Size(480,580)&lt;br /&gt;
    hbar = new HScrollBar()&lt;br /&gt;
    hbar.Parent = me&lt;br /&gt;
    hbar.Location = new Point(0, 25)&lt;br /&gt;
    hbar.Size = new Size(300, 25)&lt;br /&gt;
    hbar.Minimum = 25&lt;br /&gt;
    hbar.Maximum = 400&lt;br /&gt;
    hbar.SmallChange = 10&lt;br /&gt;
    hbar.LargeChange = 100&lt;br /&gt;
    hbar.Value = 10&lt;br /&gt;
    AddHandler hbar.ValueChanged, AddressOf hbar_OnValueChanged&lt;br /&gt;
    vbar = new VScrollBar()&lt;br /&gt;
    vbar.Parent = me&lt;br /&gt;
    vbar.Location = new Point(25, 25)&lt;br /&gt;
    vbar.Size = new Size(25, 300)&lt;br /&gt;
    vbar.Minimum = 25&lt;br /&gt;
    vbar.Maximum = 400&lt;br /&gt;
    vbar.SmallChange = 10&lt;br /&gt;
    vbar.LargeChange = 100&lt;br /&gt;
    vbar.Value = 10&lt;br /&gt;
    AddHandler vbar.ValueChanged, AddressOf vbar_OnValueChanged&lt;br /&gt;
    nupdwn = new NumericUpDown()&lt;br /&gt;
    nupdwn.Parent = me&lt;br /&gt;
    nupdwn.Location = new Point(100,100)&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 = .25d      &amp;quot;  decimal &lt;br /&gt;
    nupdwn.DecimalPlaces = 2&lt;br /&gt;
    nupdwn.ReadOnly = true&lt;br /&gt;
    nupdwn.TextAlign = HorizontalAlignment.Right&lt;br /&gt;
    AddHandler nupdwn.ValueChanged, AddressOf nupdwn_OnValueChanged&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub hbar_OnValueChanged(ByVal sender as object,ByVal e as EventArgs)&lt;br /&gt;
    Console.WriteLine(hbar.Value)&lt;br /&gt;
    Console.WriteLine(hbar.LargeChange)&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub vbar_OnValueChanged(ByVal sender as object,ByVal e as EventArgs)&lt;br /&gt;
    Console.WriteLine(vbar.Value)&lt;br /&gt;
    Console.WriteLine(vbar.LargeChange)&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub nupdwn_OnValueChanged(ByVal sender as object,ByVal e as EventArgs)&lt;br /&gt;
    Console.WriteLine(nupdwn.Value)&lt;br /&gt;
  end sub&lt;br /&gt;
  public shared sub Main() &lt;br /&gt;
    Application.Run(new NumericUpDowns())&lt;br /&gt;
  end sub&lt;br /&gt;
end class&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>