<?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%2FGUI_Windows_Form%2FContentAlignment</id>
		<title>Csharp/C Sharp/GUI Windows Form/ContentAlignment - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2FGUI_Windows_Form%2FContentAlignment"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/ContentAlignment&amp;action=history"/>
		<updated>2026-04-29T18:57:18Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/ContentAlignment&amp;diff=68&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/GUI_Windows_Form/ContentAlignment&amp;diff=68&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:18Z</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/GUI_Windows_Form/ContentAlignment&amp;diff=69&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/GUI_Windows_Form/ContentAlignment&amp;diff=69&amp;oldid=prev"/>
				<updated>2010-05-26T11:32:52Z</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;==Use ContentAlignment==&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.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
class MainForm : System.Windows.Forms.Form {&lt;br /&gt;
    ContentAlignment currAlignment = ContentAlignment.MiddleCenter;&lt;br /&gt;
    int currEnumPos = 0;&lt;br /&gt;
    public MainForm() {&lt;br /&gt;
        InitializeComponent();&lt;br /&gt;
        CenterToScreen();&lt;br /&gt;
    }&lt;br /&gt;
    protected void btnStandard_Click(object sender, System.EventArgs e) {&lt;br /&gt;
        Array values = Enum.GetValues(currAlignment.GetType());&lt;br /&gt;
        currEnumPos++;&lt;br /&gt;
        if (currEnumPos &amp;gt;= values.Length)&lt;br /&gt;
            currEnumPos = 0;&lt;br /&gt;
        currAlignment = (ContentAlignment)Enum.Parse(currAlignment.GetType(),&lt;br /&gt;
                        values.GetValue(currEnumPos).ToString());&lt;br /&gt;
        btnStandard.TextAlign = currAlignment;&lt;br /&gt;
        btnStandard.Text = currAlignment.ToString();&lt;br /&gt;
        btnImage.ImageAlign = currAlignment;&lt;br /&gt;
    }&lt;br /&gt;
    private void InitializeComponent() {&lt;br /&gt;
        this.btnStandard = new System.Windows.Forms.Button();&lt;br /&gt;
        this.btnFlat = new System.Windows.Forms.Button();&lt;br /&gt;
        this.btnImage = new System.Windows.Forms.Button();&lt;br /&gt;
        this.btnPopup = new System.Windows.Forms.Button();&lt;br /&gt;
        this.SuspendLayout();&lt;br /&gt;
        // &lt;br /&gt;
        // btnStandard&lt;br /&gt;
        // &lt;br /&gt;
        this.btnStandard.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12F);&lt;br /&gt;
        this.btnStandard.ForeColor = System.Drawing.SystemColors.ControlText;&lt;br /&gt;
        this.btnStandard.Location = new System.Drawing.Point(16, 80);&lt;br /&gt;
        this.btnStandard.Name = &amp;quot;btnStandard&amp;quot;;&lt;br /&gt;
        this.btnStandard.Size = new System.Drawing.Size(312, 88);&lt;br /&gt;
        this.btnStandard.TabIndex = 2;&lt;br /&gt;
        this.btnStandard.Text = &amp;quot;I am a standard button&amp;quot;;&lt;br /&gt;
        this.btnStandard.Click += new System.EventHandler(this.btnStandard_Click);&lt;br /&gt;
        // &lt;br /&gt;
        // btnFlat&lt;br /&gt;
        // &lt;br /&gt;
        this.btnFlat.FlatStyle = System.Windows.Forms.FlatStyle.Flat;&lt;br /&gt;
        this.btnFlat.ForeColor = System.Drawing.Color.Blue;&lt;br /&gt;
        this.btnFlat.Location = new System.Drawing.Point(16, 24);&lt;br /&gt;
        this.btnFlat.Name = &amp;quot;btnFlat&amp;quot;;&lt;br /&gt;
        this.btnFlat.Size = new System.Drawing.Size(152, 32);&lt;br /&gt;
        this.btnFlat.TabIndex = 0;&lt;br /&gt;
        this.btnFlat.Text = &amp;quot;I am flat...&amp;quot;;&lt;br /&gt;
        // &lt;br /&gt;
        // btnImage&lt;br /&gt;
        // &lt;br /&gt;
        this.btnImage.Font = new System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 20F, System.Drawing.FontStyle.Bold);&lt;br /&gt;
        this.btnImage.ForeColor = System.Drawing.Color.Black;&lt;br /&gt;
        this.btnImage.Location = new System.Drawing.Point(16, 192);&lt;br /&gt;
        this.btnImage.Name = &amp;quot;btnImage&amp;quot;;&lt;br /&gt;
        this.btnImage.Size = new System.Drawing.Size(312, 72);&lt;br /&gt;
        this.btnImage.TabIndex = 3;&lt;br /&gt;
        this.btnImage.Text = &amp;quot;Image Button&amp;quot;;&lt;br /&gt;
        this.btnImage.TextAlign = System.Drawing.ContentAlignment.TopCenter;&lt;br /&gt;
        // &lt;br /&gt;
        // btnPopup&lt;br /&gt;
        // &lt;br /&gt;
        this.btnPopup.FlatStyle = System.Windows.Forms.FlatStyle.Popup;&lt;br /&gt;
        this.btnPopup.ForeColor = System.Drawing.SystemColors.ControlText;&lt;br /&gt;
        this.btnPopup.Location = new System.Drawing.Point(176, 24);&lt;br /&gt;
        this.btnPopup.Name = &amp;quot;btnPopup&amp;quot;;&lt;br /&gt;
        this.btnPopup.Size = new System.Drawing.Size(152, 32);&lt;br /&gt;
        this.btnPopup.TabIndex = 1;&lt;br /&gt;
        this.btnPopup.Text = &amp;quot;I am a Popup!&amp;quot;;&lt;br /&gt;
        // &lt;br /&gt;
        // MainForm&lt;br /&gt;
        // &lt;br /&gt;
        this.ClientSize = new System.Drawing.Size(340, 269);&lt;br /&gt;
        this.Controls.Add(this.btnImage);&lt;br /&gt;
        this.Controls.Add(this.btnStandard);&lt;br /&gt;
        this.Controls.Add(this.btnPopup);&lt;br /&gt;
        this.Controls.Add(this.btnFlat);&lt;br /&gt;
        this.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;&lt;br /&gt;
        this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;&lt;br /&gt;
        this.Name = &amp;quot;MainForm&amp;quot;;&lt;br /&gt;
        this.Text = &amp;quot;Buttons&amp;quot;;&lt;br /&gt;
        this.ResumeLayout(false);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private System.ruponentModel.Container components = null;&lt;br /&gt;
    private System.Windows.Forms.Button btnImage;&lt;br /&gt;
    private System.Windows.Forms.Button btnStandard;&lt;br /&gt;
    private System.Windows.Forms.Button btnPopup;&lt;br /&gt;
    private System.Windows.Forms.Button btnFlat;&lt;br /&gt;
    [STAThread]&lt;br /&gt;
    public static void Main(string[] args) {&lt;br /&gt;
        Application.Run(new MainForm());&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>