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

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Drawing/SystemColors&amp;diff=4619&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.Drawing/SystemColors&amp;diff=4619&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.Drawing/SystemColors&amp;diff=4620&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.Drawing/SystemColors&amp;diff=4620&amp;oldid=prev"/>
				<updated>2010-05-26T12:11:25Z</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;==SystemColors.ActiveCaptionText==&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.Label lblSaturation;&lt;br /&gt;
  private System.Windows.Forms.Label lblHue;&lt;br /&gt;
  private System.Windows.Forms.Label lblBrightness;&lt;br /&gt;
  private System.Windows.Forms.Label Label1;&lt;br /&gt;
  private System.Windows.Forms.ListBox lstColors;&lt;br /&gt;
  public Form1()&lt;br /&gt;
  {&lt;br /&gt;
    InitializeComponent();&lt;br /&gt;
    string[] colorNames  = System.Enum.GetNames(typeof(KnownColor));&lt;br /&gt;
    lstColors.Items.AddRange(colorNames);&lt;br /&gt;
  }&lt;br /&gt;
  private void lstColors_SelectedIndexChanged(object sender, EventArgs e)&lt;br /&gt;
  {&lt;br /&gt;
    KnownColor selectedColor = (KnownColor)System.Enum.Parse(typeof(KnownColor), lstColors.Text);&lt;br /&gt;
    this.BackColor = System.Drawing.Color.FromKnownColor(selectedColor);&lt;br /&gt;
    lblBrightness.Text = &amp;quot;Brightness = &amp;quot; + this.BackColor.GetBrightness().ToString();&lt;br /&gt;
    lblHue.Text = &amp;quot;Hue = &amp;quot; + this.BackColor.GetHue().ToString();&lt;br /&gt;
    lblSaturation.Text = &amp;quot;Saturation = &amp;quot; + this.BackColor.GetSaturation().ToString();&lt;br /&gt;
  }&lt;br /&gt;
  private void InitializeComponent()&lt;br /&gt;
  {&lt;br /&gt;
    this.lblSaturation = new System.Windows.Forms.Label();&lt;br /&gt;
    this.lblHue = new System.Windows.Forms.Label();&lt;br /&gt;
    this.lblBrightness = new System.Windows.Forms.Label();&lt;br /&gt;
    this.Label1 = new System.Windows.Forms.Label();&lt;br /&gt;
    this.lstColors = new System.Windows.Forms.ListBox();&lt;br /&gt;
    this.SuspendLayout();&lt;br /&gt;
    // &lt;br /&gt;
    // lblSaturation&lt;br /&gt;
    // &lt;br /&gt;
    this.lblSaturation.BackColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
    this.lblSaturation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
    this.lblSaturation.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
    this.lblSaturation.Location = new System.Drawing.Point(268, 57);&lt;br /&gt;
    this.lblSaturation.Name = &amp;quot;lblSaturation&amp;quot;;&lt;br /&gt;
    this.lblSaturation.Size = new System.Drawing.Size(136, 20);&lt;br /&gt;
    this.lblSaturation.TabIndex = 4;&lt;br /&gt;
    this.lblSaturation.Text = &amp;quot; Saturation&amp;quot;;&lt;br /&gt;
    // &lt;br /&gt;
    // lblHue&lt;br /&gt;
    // &lt;br /&gt;
    this.lblHue.BackColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
    this.lblHue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
    this.lblHue.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
    this.lblHue.Location = new System.Drawing.Point(268, 33);&lt;br /&gt;
    this.lblHue.Name = &amp;quot;lblHue&amp;quot;;&lt;br /&gt;
    this.lblHue.Size = new System.Drawing.Size(136, 20);&lt;br /&gt;
    this.lblHue.TabIndex = 3;&lt;br /&gt;
    this.lblHue.Text = &amp;quot; Hue&amp;quot;;&lt;br /&gt;
    // &lt;br /&gt;
    // lblBrightness&lt;br /&gt;
    // &lt;br /&gt;
    this.lblBrightness.BackColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
    this.lblBrightness.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
    this.lblBrightness.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
    this.lblBrightness.Location = new System.Drawing.Point(268, 9);&lt;br /&gt;
    this.lblBrightness.Name = &amp;quot;lblBrightness&amp;quot;;&lt;br /&gt;
    this.lblBrightness.Size = new System.Drawing.Size(136, 20);&lt;br /&gt;
    this.lblBrightness.TabIndex = 2;&lt;br /&gt;
    this.lblBrightness.Text = &amp;quot; Brightness&amp;quot;;&lt;br /&gt;
    // &lt;br /&gt;
    // Label1&lt;br /&gt;
    // &lt;br /&gt;
    this.Label1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
    this.Label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;&lt;br /&gt;
    this.Label1.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
    this.Label1.Location = new System.Drawing.Point(12, 9);&lt;br /&gt;
    this.Label1.Name = &amp;quot;Label1&amp;quot;;&lt;br /&gt;
    this.Label1.Size = new System.Drawing.Size(200, 20);&lt;br /&gt;
    this.Label1.TabIndex = 0;&lt;br /&gt;
    this.Label1.Text = &amp;quot; Choose a Background Color:&amp;quot;;&lt;br /&gt;
    // &lt;br /&gt;
    // lstColors&lt;br /&gt;
    // &lt;br /&gt;
    this.lstColors.FormattingEnabled = true;&lt;br /&gt;
    this.lstColors.Location = new System.Drawing.Point(12, 37);&lt;br /&gt;
    this.lstColors.Name = &amp;quot;lstColors&amp;quot;;&lt;br /&gt;
    this.lstColors.Size = new System.Drawing.Size(200, 238);&lt;br /&gt;
    this.lstColors.TabIndex = 1;&lt;br /&gt;
    this.lstColors.SelectedIndexChanged += new System.EventHandler(this.lstColors_SelectedIndexChanged);&lt;br /&gt;
    // &lt;br /&gt;
    // Form1&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(430, 284);&lt;br /&gt;
    this.Controls.Add(this.lblSaturation);&lt;br /&gt;
    this.Controls.Add(this.lblHue);&lt;br /&gt;
    this.Controls.Add(this.lblBrightness);&lt;br /&gt;
    this.Controls.Add(this.Label1);&lt;br /&gt;
    this.Controls.Add(this.lstColors);&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;Form1&amp;quot;;&lt;br /&gt;
    this.Text = &amp;quot;Color Changer&amp;quot;;&lt;br /&gt;
    this.ResumeLayout(false);&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;
  &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SystemColors.Window==&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.Drawing;&lt;br /&gt;
using System.Drawing.Drawing2D;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
   &lt;br /&gt;
class AntiAlias: Form&lt;br /&gt;
{&lt;br /&gt;
     public static void Main()&lt;br /&gt;
     {&lt;br /&gt;
          Application.Run(new AntiAlias());&lt;br /&gt;
     }&lt;br /&gt;
     public AntiAlias()&lt;br /&gt;
     {&lt;br /&gt;
          Text = &amp;quot;Anti-Alias Demo&amp;quot;;&lt;br /&gt;
          BackColor = SystemColors.Window;&lt;br /&gt;
          ForeColor = SystemColors.WindowText;&lt;br /&gt;
     }&lt;br /&gt;
     protected override void OnPaint(PaintEventArgs pea)&lt;br /&gt;
     {&lt;br /&gt;
          Graphics grfx = pea.Graphics;&lt;br /&gt;
          Pen      pen  = new Pen(ForeColor);&lt;br /&gt;
   &lt;br /&gt;
          grfx.PixelOffsetMode = PixelOffsetMode.Default;&lt;br /&gt;
   &lt;br /&gt;
          grfx.DrawLine(pen, 2, 2, 18, 10);&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;
==SystemColors.WindowText==&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.Drawing2D;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
   &lt;br /&gt;
class AntiAlias: Form&lt;br /&gt;
{&lt;br /&gt;
     public static void Main()&lt;br /&gt;
     {&lt;br /&gt;
          Application.Run(new AntiAlias());&lt;br /&gt;
     }&lt;br /&gt;
     public AntiAlias()&lt;br /&gt;
     {&lt;br /&gt;
          Text = &amp;quot;Anti-Alias Demo&amp;quot;;&lt;br /&gt;
          BackColor = SystemColors.Window;&lt;br /&gt;
          ForeColor = SystemColors.WindowText;&lt;br /&gt;
     }&lt;br /&gt;
     protected override void OnPaint(PaintEventArgs pea)&lt;br /&gt;
     {&lt;br /&gt;
          Graphics grfx = pea.Graphics;&lt;br /&gt;
          Pen      pen  = new Pen(ForeColor);&lt;br /&gt;
   &lt;br /&gt;
          grfx.PixelOffsetMode = PixelOffsetMode.Default;&lt;br /&gt;
   &lt;br /&gt;
          grfx.DrawLine(pen, 2, 2, 18, 10);&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>