<?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%2FMessageBox</id>
		<title>Csharp/C Sharp by API/System.Windows.Forms/MessageBox - История изменений</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%2FMessageBox"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp_by_API/System.Windows.Forms/MessageBox&amp;action=history"/>
		<updated>2026-04-30T12:27:25Z</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/MessageBox&amp;diff=4236&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/MessageBox&amp;diff=4236&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/MessageBox&amp;diff=4237&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/MessageBox&amp;diff=4237&amp;oldid=prev"/>
				<updated>2010-05-26T12:10:12Z</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;==MessageBox.Show==&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.Windows.Forms;&lt;br /&gt;
   &lt;br /&gt;
class TwoForms&lt;br /&gt;
{&lt;br /&gt;
     public static void Main()&lt;br /&gt;
     {&lt;br /&gt;
          Form form1 = new Form();&lt;br /&gt;
          Form form2 = new Form();&lt;br /&gt;
   &lt;br /&gt;
          form1.Text = &amp;quot;Form passed to Run()&amp;quot;;&lt;br /&gt;
          form2.Text = &amp;quot;Second form&amp;quot;;&lt;br /&gt;
          form2.Show();&lt;br /&gt;
   &lt;br /&gt;
          Application.Run(form1);&lt;br /&gt;
   &lt;br /&gt;
          MessageBox.Show(&amp;quot;Application.Run() has returned control back to Main.&amp;quot;,&amp;quot;TwoForms&amp;quot;);&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;
==MessageBox.Show(String, String);==&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.Windows.Forms;&lt;br /&gt;
class MainForm : Form&lt;br /&gt;
{&lt;br /&gt;
    private Label label1;&lt;br /&gt;
    private TextBox textBox1;&lt;br /&gt;
    private Button button1;&lt;br /&gt;
    public MainForm()&lt;br /&gt;
    {&lt;br /&gt;
         this.label1 = new Label();&lt;br /&gt;
         this.textBox1 = new TextBox();&lt;br /&gt;
         this.button1 = new Button();&lt;br /&gt;
         this.SuspendLayout();&lt;br /&gt;
         this.label1.Location = new System.Drawing.Point(16, 36);&lt;br /&gt;
         this.label1.Name = &amp;quot;label1&amp;quot;;&lt;br /&gt;
         this.label1.Size = new System.Drawing.Size(128, 16);&lt;br /&gt;
         this.label1.TabIndex = 0;&lt;br /&gt;
         this.label1.Text = &amp;quot;Please enter your name:&amp;quot;; &lt;br /&gt;
         this.textBox1.Location = new System.Drawing.Point(152, 32);&lt;br /&gt;
         this.textBox1.Name = &amp;quot;textBox1&amp;quot;;&lt;br /&gt;
         this.textBox1.TabIndex = 1;&lt;br /&gt;
         this.textBox1.Text = &amp;quot;&amp;quot;;&lt;br /&gt;
         this.button1.Location = new System.Drawing.Point(109, 80);&lt;br /&gt;
         this.button1.Name = &amp;quot;button1&amp;quot;;&lt;br /&gt;
         this.button1.TabIndex = 2;&lt;br /&gt;
         this.button1.Text = &amp;quot;Enter&amp;quot;;&lt;br /&gt;
         this.button1.Click += new System.EventHandler(this.button1_Click);&lt;br /&gt;
         this.ClientSize = new System.Drawing.Size(292, 126);&lt;br /&gt;
         this.Controls.Add(this.button1);&lt;br /&gt;
         this.Controls.Add(this.textBox1);&lt;br /&gt;
         this.Controls.Add(this.label1);&lt;br /&gt;
         this.Name = &amp;quot;form1&amp;quot;;&lt;br /&gt;
         this.Text = &amp;quot;Visual C#&amp;quot;;&lt;br /&gt;
         this.ResumeLayout(false);&lt;br /&gt;
     }&lt;br /&gt;
     private void button1_Click(object sender, System.EventArgs e)&lt;br /&gt;
     {&lt;br /&gt;
        System.Console.WriteLine(&amp;quot;User entered: &amp;quot; + textBox1.Text);&lt;br /&gt;
        MessageBox.Show(&amp;quot;Welcome, &amp;quot; + textBox1.Text, &amp;quot;Visual C#&amp;quot;);&lt;br /&gt;
     }&lt;br /&gt;
     [STAThread]&lt;br /&gt;
     public static void Main()&lt;br /&gt;
     {&lt;br /&gt;
        Application.EnableVisualStyles();&lt;br /&gt;
        Application.Run(new MainForm());&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;
==MessageBox.Show(String 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.Drawing;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
public class frmLogin : System.Windows.Forms.Form {&lt;br /&gt;
    System.Windows.Forms.TextBox txtUser;&lt;br /&gt;
    System.Windows.Forms.Button btnOK;&lt;br /&gt;
    System.Windows.Forms.Button btnCancel;&lt;br /&gt;
    public frmLogin() {&lt;br /&gt;
        txtUser = new System.Windows.Forms.TextBox();&lt;br /&gt;
        txtUser.Location = new Point(30, 15);&lt;br /&gt;
        txtUser.Size = new Size(250, 20);&lt;br /&gt;
        txtUser.Text = &amp;quot;&amp;quot;;&lt;br /&gt;
        txtUser.Name = &amp;quot;txtUser&amp;quot;;&lt;br /&gt;
        this.Controls.Add(txtUser);&lt;br /&gt;
        btnOK = new System.Windows.Forms.Button();&lt;br /&gt;
        btnOK.Location = new Point(40,(txtUser.Location.Y + txtUser.Size.Height + btnOK.Size.Height));&lt;br /&gt;
        btnOK.Text = &amp;quot;OK&amp;quot;;&lt;br /&gt;
        btnOK.Name = &amp;quot;btnOK&amp;quot;;&lt;br /&gt;
        this.Controls.Add(btnOK);&lt;br /&gt;
        btnCancel = new System.Windows.Forms.Button();&lt;br /&gt;
        btnCancel.Location = new Point((this.Size.Width -&lt;br /&gt;
                                        btnCancel.Size.Width) - 40,&lt;br /&gt;
           (txtUser.Location.Y + txtUser.Size.Height + btnOK.Size.Height));&lt;br /&gt;
        btnCancel.Text = &amp;quot;Cancel&amp;quot;;&lt;br /&gt;
        btnCancel.Name = &amp;quot;btnCancel&amp;quot;;&lt;br /&gt;
        this.Controls.Add(btnCancel);&lt;br /&gt;
        this.Size = new Size(this.Size.Width, btnCancel.Location.Y +&lt;br /&gt;
                             btnCancel.Size.Height + 60);&lt;br /&gt;
        btnCancel.Click += new System.EventHandler(btnCancelHandler);&lt;br /&gt;
        btnOK.Click += new System.EventHandler(btnEventHandler);&lt;br /&gt;
    }&lt;br /&gt;
    private void btnEventHandler(object sender, System.EventArgs e) {&lt;br /&gt;
        MessageBox.Show(((Button)sender).Name);&lt;br /&gt;
    }&lt;br /&gt;
    private void btnCancelHandler(object sender, System.EventArgs e) {&lt;br /&gt;
        MessageBox.Show(&amp;quot;The second handler&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    [STAThread]&lt;br /&gt;
    static void Main() {&lt;br /&gt;
        Application.Run(new frmLogin());&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>