<?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%2FTimer</id>
		<title>Csharp/C Sharp by API/System/Timer - История изменений</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%2FTimer"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System/Timer&amp;action=history"/>
		<updated>2026-04-30T02:52:06Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System/Timer&amp;diff=4899&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/Timer&amp;diff=4899&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/Timer&amp;diff=4900&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/Timer&amp;diff=4900&amp;oldid=prev"/>
				<updated>2010-05-26T12:12:16Z</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;==new Timer()==&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.Drawing.Text;&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;
&lt;br /&gt;
  public class FontForm : System.Windows.Forms.Form&lt;br /&gt;
  {&lt;br /&gt;
    private Timer timer;&lt;br /&gt;
    private int swellValue;&lt;br /&gt;
    private string fontFace = &amp;quot;WingDings&amp;quot;;&lt;br /&gt;
    public FontForm()&lt;br /&gt;
    {&lt;br /&gt;
      InitializeComponent();&lt;br /&gt;
      timer = new Timer();&lt;br /&gt;
      Text = &amp;quot;Font App&amp;quot;;&lt;br /&gt;
      Width = 425;&lt;br /&gt;
      Height = 150;&lt;br /&gt;
      BackColor = Color.Honeydew;&lt;br /&gt;
      CenterToScreen();&lt;br /&gt;
      timer.Enabled = true;&lt;br /&gt;
      timer.Interval = 100;&lt;br /&gt;
      timer.Tick += new EventHandler(FontForm_OnTimer);&lt;br /&gt;
    }&lt;br /&gt;
    private void InitializeComponent()&lt;br /&gt;
    {&lt;br /&gt;
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(292, 253);&lt;br /&gt;
      this.Text = &amp;quot;Form1&amp;quot;;&lt;br /&gt;
      this.Resize += new System.EventHandler(this.FontForm_Resize);&lt;br /&gt;
      this.Paint += new System.Windows.Forms.PaintEventHandler(this.FontForm_Paint);&lt;br /&gt;
    }&lt;br /&gt;
    static void Main() &lt;br /&gt;
    {&lt;br /&gt;
      Application.Run(new FontForm());&lt;br /&gt;
    }&lt;br /&gt;
    private void FontForm_Paint(object sender, System.Windows.Forms.PaintEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      Graphics g = e.Graphics;&lt;br /&gt;
      Font theFont = new Font(fontFace, 12 + swellValue);&lt;br /&gt;
      string message = &amp;quot;www.nfex.ru&amp;quot;;  &lt;br /&gt;
  &lt;br /&gt;
      float windowCenter = this.DisplayRectangle.Width / 2;             &lt;br /&gt;
      SizeF stringSize = e.Graphics.MeasureString(message, theFont);&lt;br /&gt;
      float startPos = windowCenter - (stringSize.Width / 2);&lt;br /&gt;
      g.DrawString(message, theFont, &lt;br /&gt;
        new SolidBrush(Color.Blue), startPos, 10);&lt;br /&gt;
    }&lt;br /&gt;
    private void FontForm_Resize(object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      Rectangle myRect = new Rectangle(0, 100, &lt;br /&gt;
        ClientRectangle.Width, ClientRectangle.Height); &lt;br /&gt;
      Invalidate(myRect);&lt;br /&gt;
    }&lt;br /&gt;
    private void FontForm_OnTimer(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
      swellValue += 5;&lt;br /&gt;
      if(swellValue &amp;gt;= 50)&lt;br /&gt;
        swellValue = 0;&lt;br /&gt;
      Invalidate(new Rectangle(0, 0, ClientRectangle.Width, 100));&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>