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
Converter PNG to ICO - BugReport.vb

BugReport.vb

Caricato da: R0gerblack
Scarica il programma completo

  1. Public Class BugReport
  2.  
  3.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  4.         Try
  5.             Dim Msg As New System.Net.Mail.MailMessage(mittente.Text, _
  6.                     "ruggiero_altini@hotmail.it", "Trovato bug in MultySoft Converter PNG to ICO", RichTextBox1.Text)
  7.             Dim Smtp As New System.Net.Mail.SmtpClient(TextBox2.Text)
  8.             Smtp.Send(Msg)
  9.             MsgBox("E-mail inviata correttamente, ma per anti e-mail crossing, non sarà possibile reinviare messaggi di bug report fino al prossimo avvio del programma", MsgBoxStyle.Information)
  10.             Button1.Enabled = False
  11.         Catch ex As Exception
  12.             MsgBox("Errore nell'invio dell'e-mail", MsgBoxStyle.Critical)
  13.         End Try
  14.     End Sub
  15.  
  16.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  17.         Me.Close()
  18.     End Sub
  19.  
  20.     Private Sub BugReport_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  21.         Me.BackgroundImage = Form1.BackgroundImage
  22.     End Sub
  23. End Class