<?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%2FMsgBox</id>
		<title>VB.Net Tutorial/GUI/MsgBox - История изменений</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%2FMsgBox"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/MsgBox&amp;action=history"/>
		<updated>2026-04-05T23:48:05Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/MsgBox&amp;diff=3782&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/MsgBox&amp;diff=3782&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/MsgBox&amp;diff=3783&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/MsgBox&amp;diff=3783&amp;oldid=prev"/>
				<updated>2010-05-26T12:56:42Z</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;==MsgBox and vbYes==&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 MsgBoxDemo&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Dim exita As String&lt;br /&gt;
        exita = MsgBox(&amp;quot;Exit?&amp;quot;, Microsoft.VisualBasic.MsgBoxStyle.Exclamation + Microsoft.VisualBasic.MsgBoxStyle.YesNo + Microsoft.VisualBasic.MsgBoxStyle.MsgBoxHelp, &amp;quot;Title&amp;quot;)&lt;br /&gt;
        If exita = vbYes Then&lt;br /&gt;
        End&lt;br /&gt;
        End If&lt;br /&gt;
        Console.WriteLine( Microsoft.VisualBasic.MsgBoxStyle.MsgBoxHelp)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MsgBox with only message==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Module Module1&lt;br /&gt;
    Sub Main()&lt;br /&gt;
        MsgBox(&amp;quot;Message&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Module&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MsgBox with title and Abort Retry Ignore buttons==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Module Module1&lt;br /&gt;
    Sub Main()&lt;br /&gt;
        MsgBox(&amp;quot;Message&amp;quot;, MsgBoxStyle.AbortRetryIgnore,&amp;quot;Title&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Module&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Return value from MsgBox==&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.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
public class MsgBoxReturnValue&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Dim intReturnValue As Integer&lt;br /&gt;
        intReturnValue = MsgBox(&amp;quot;This is a message box!&amp;quot;,MsgBoxStyle.OKCancel + MsgBoxStyle.Information + MsgBoxStyle.SystemModal, &amp;quot;Message Box&amp;quot;)&lt;br /&gt;
        If (intReturnValue = MsgBoxResult.OK) Then&lt;br /&gt;
            Console.WriteLine(&amp;quot;You clicked the OK button.&amp;quot;)&lt;br /&gt;
        End If&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set MsgBox Button combination==&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.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
public class MsgBoxButtonSetting&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
&lt;br /&gt;
        Dim Areturn As String&lt;br /&gt;
        Areturn = MsgBox(&amp;quot;Message&amp;quot;, vbOKCancel + vbDefaultButton1 + vbQuestion, &amp;quot;Title&amp;quot;)&lt;br /&gt;
        &amp;quot;vbOKOnly + vbInformation + vbDefaultButton1&lt;br /&gt;
        &amp;quot;vbOKOnly + vbExclamation + vbDefaultButton1&lt;br /&gt;
        &amp;quot;vbOKOnly + vbDefaultButton1 + vbCritical&lt;br /&gt;
        Select Case Areturn&lt;br /&gt;
            Case vbOK&lt;br /&gt;
                Console.WriteLine(&amp;quot;vbOK&amp;quot;)&lt;br /&gt;
            Case vbCancel&lt;br /&gt;
                Console.WriteLine(&amp;quot;vbCancel&amp;quot;)&lt;br /&gt;
            Case vbAbort&lt;br /&gt;
                Console.WriteLine(&amp;quot;vbAbort&amp;quot;)&lt;br /&gt;
            Case vbRetry&lt;br /&gt;
                Console.WriteLine(&amp;quot;vbRetry&amp;quot;)&lt;br /&gt;
            Case vbIgnore&lt;br /&gt;
                Console.WriteLine(&amp;quot;vbIgnore&amp;quot;)&lt;br /&gt;
            Case Else&lt;br /&gt;
                Console.WriteLine(&amp;quot;Else&amp;quot;)&lt;br /&gt;
        End Select&lt;br /&gt;
        &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>