VB.Net by API/System.Windows.Forms/MessageBox

Материал из VB Эксперт
Версия от 15:52, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

MessageBox.Show(String message)

<source lang="vbnet"> Imports System.Windows.Forms public class MessageBoxWithMessageOnly

  public Shared Sub Main
       MessageBox.Show("Message")
  End Sub

End class


 </source>


MessageBox.Show(String message, String title)

<source lang="vbnet"> Imports System.Windows.Forms public class MessageBoxWithMessageAndTile

  public Shared Sub Main
       MessageBox.Show("Message", "Title")
  End Sub

End class


 </source>