Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Mail Sender - Server.vb

Server.vb

Caricato da: R0gerblack
Scarica il programma completo

  1. Public Class Server
  2.  
  3.     Private Sub Server_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  4.         Form1.txtServer.Text = "out.alice.it"
  5.     End Sub
  6.  
  7.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  8.         Form1.txtServer.Text = ComboBox1.Text
  9.         If ComboBox1.Text = "" Then
  10.             MsgBox("Errore, server inserito non valido", MsgBoxStyle.Critical, ("SERVER INVALIDO"))
  11.             Return
  12.         End If
  13.         Me.Close()
  14.     End Sub
  15.  
  16.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  17.         Form1.txtServer.Text = "out.alice.it"
  18.         Me.Close()
  19.     End Sub
  20. End Class