Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.IO
- Public Class frmMain
- Dim blk() As PictureBox
- Dim lastImage As PictureBox
- Dim pressed2 As Integer = 1
- Dim pressed As Integer = 1
- Dim mousePosX As Single, mousePosY As Single
- Dim mousePosX2 As Single, mousePosY2 As Single
- Dim mousePosX3 As Single, mousePosY3 As Single
- Dim mousePosX4 As Single, mousePosY4 As Single
- Dim mousePosX5 As Single, mousePosY5 As Single
- Dim mousePosX6 As Single, mousePosY6 As Single
- Dim mousePosX7 As Single, mousePosY7 As Single
- Dim mousePosX8 As Single, mousePosY8 As Single
- Dim mousePosX9 As Single, mousePosY9 As Single
- Dim mousePosX10 As Single, mousePosY10 As Single
- Public picArrayInternet() As PictureBox
- Public picArrayCalculator() As PictureBox
- Public picArrayChatBot() As PictureBox
- Public picArrayStopWatch() As PictureBox
- Public picArrayBinaryTrans() As PictureBox
- Public picArrayGPA() As PictureBox
- Public picArrayGmail() As PictureBox
- Public picArrayMessenger() As PictureBox
- Public picArrayNotes() As PictureBox
- Public picArrayFinals() As PictureBox
- Private Sub frmMain_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
- My.Settings.background = Me.BackColor
- End Sub
- Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- pbFinals.Hide()
- Me.BackColor = My.Settings.background
- picArrayStopWatch = {Me.pbBinaryTranslator, Me.pbChatBot, Me.pbGmail, Me.pbGPA, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbCalculator, Me.pbFinals}
- picArrayInternet = {Me.pbBinaryTranslator, Me.pbChatBot, Me.pbGmail, Me.pbGPA, Me.pbCalculator, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayBinaryTrans = {Me.pbCalculator, Me.pbChatBot, Me.pbGmail, Me.pbGPA, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayCalculator = {Me.pbBinaryTranslator, Me.pbChatBot, Me.pbGmail, Me.pbGPA, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayChatBot = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbGmail, Me.pbGPA, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayGmail = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbChatBot, Me.pbGPA, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayGPA = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbChatBot, Me.pbGmail, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayGmail = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbChatBot, Me.pbGPA, Me.pbInternet, Me.pbMessenger, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayMessenger = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbChatBot, Me.pbGPA, Me.pbInternet, Me.pbGmail, Me.pbNotes, Me.pbStopWatch, Me.pbFinals}
- picArrayNotes = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbChatBot, Me.pbGPA, Me.pbInternet, Me.pbGmail, Me.pbMessenger, Me.pbStopWatch, Me.pbFinals}
- picArrayFinals = {Me.pbBinaryTranslator, Me.pbCalculator, Me.pbChatBot, Me.pbGPA, Me.pbInternet, Me.pbGmail, Me.pbMessenger, Me.pbStopWatch, Me.pbNotes}
- pbBinaryTranslator.Hide()
- pbCalculator.Hide()
- pbChatBot.Hide()
- pbGmail.Hide()
- pbGPA.Hide()
- pbInternet.Hide()
- pbMessenger.Hide()
- pbNotes.Hide()
- pbStopWatch.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- lblName.Text = My.Computer.Name
- Button2.Hide()
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- Label14.Hide()
- mousePosX = My.Settings.Position1
- mousePosY = My.Settings.Position1
- Label1.Hide()
- Timer2.Start()
- Label12.Hide()
- TextBox1.Hide()
- Label11.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- PictureBox4.Hide()
- Timer1.Start()
- GroupBox1.Hide()
- Label2.Hide()
- End Sub
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- lblTime.Text = TimeOfDay
- End Sub
- Private Sub btnHide_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHide.Click
- pressed += 1
- If ((pressed Mod 2) = 0) Then
- PictureBox4.Show()
- Label6.Show()
- Label7.Show()
- Label8.Show()
- Label9.Show()
- Label10.Show()
- TextBox1.Show()
- Label11.Show()
- Label12.Show()
- Label1.Show()
- Button2.Show()
- Label14.Show()
- ''label15.show()
- Label16.Show()
- Label17.Show()
- Label18.Show()
- Else
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- End If
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- If TextBox1.Text = "" Then
- TextBox1.Text = "Search..."
- TextBox1.ForeColor = Color.Gray
- End If
- End Sub
- Private Sub Label6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label6.Click
- PictureBox1_DoubleClick(Label6, System.EventArgs.Empty)
- frmBrowser.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label7.Click
- PictureBox2_DoubleClick(Label7, System.EventArgs.Empty)
- frmCalculator.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label8.Click
- PictureBox5_DoubleClick(Label8, System.EventArgs.Empty)
- frmMessenger.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label9.Click
- PictureBox3_DoubleClick(Label9, System.EventArgs.Empty)
- frmStopWatch.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label10.Click
- PictureBox7_DoubleClick(Label10, System.EventArgs.Empty)
- frmBinary.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
- If e.KeyCode = Keys.Enter Then
- If TextBox1.Text.Contains("browser") Or TextBox1.Text.Contains("Browser") Then
- frmBrowser.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- TextBox1.Clear()
- ElseIf TextBox1.Text.Contains("calculator") Or TextBox1.Text.Contains("Calculator") Then
- frmCalculator.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- ElseIf TextBox1.Text.Contains("binary") Or TextBox1.Text.Contains("Binary") Then
- frmBinary.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- ElseIf TextBox1.Text.Contains("messenger") Or TextBox1.Text.Contains("Messenger") Then
- frmMessenger.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- ElseIf TextBox1.Text.Contains("watch") Or TextBox1.Text.Contains("Watch") Then
- frmStopWatch.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- ElseIf TextBox1.Text.Contains("GPA") Or TextBox1.Text.Contains("gpa") Then
- frmGPACalculator.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- ElseIf TextBox1.Text.Contains("chat") Or TextBox1.Text.Contains("Chat") Then
- frmChatBot.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- ElseIf TextBox1.Text.Contains("gmail") Or TextBox1.Text.Contains("Gmail") Then
- frmMail.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- Button1.PerformClick()
- ElseIf TextBox1.Text.Contains("console") Or TextBox1.Text.Contains("Console") Then
- frmConsole.Show()
- TextBox1.Clear()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End If
- End If
- End Sub
- Private Sub PictureBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.DoubleClick
- PictureBox1.Enabled = False
- pbInternet.Show()
- frmBrowser.Show()
- For Each p In picArrayInternet
- If pbBinaryTranslator.Visible = True Or pbCalculator.Visible = True Or pbFinals.Visible = True Or pbChatBot.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbStopWatch.Visible = True Then
- pbInternet.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbInternet.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseEnter
- PictureBox1.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox2_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox2.DoubleClick
- PictureBox2.Enabled = False
- pbCalculator.Show()
- frmCalculator.Show()
- For Each p In picArrayCalculator
- If pbBinaryTranslator.Visible = True Or pbFinals.Visible = True Or pbInternet.Visible = True Or pbChatBot.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbStopWatch.Visible = True Then
- pbCalculator.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbCalculator.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox2_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox2.MouseEnter
- PictureBox2.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox5_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox5.DoubleClick
- PictureBox5.Enabled = False
- pbMessenger.Show()
- frmMessenger.Show()
- For Each p In picArrayMessenger
- If pbStopWatch.Visible = True Or pbCalculator.Visible = True Or pbFinals.Visible = True Or pbInternet.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbBinaryTranslator.Visible = True Or pbNotes.Visible = True Or pbChatBot.Visible = True Then
- pbMessenger.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbMessenger.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox5_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox5.MouseEnter
- PictureBox5.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox3_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox3.DoubleClick
- PictureBox3.Enabled = False
- pbStopWatch.Show()
- frmStopWatch.Show()
- For Each p In picArrayStopWatch
- If pbBinaryTranslator.Visible = True Or pbCalculator.Visible = True Or pbFinals.Visible = True Or pbInternet.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbChatBot.Visible = True Then
- pbStopWatch.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbStopWatch.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox3_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox3.MouseEnter
- PictureBox3.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox7_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox7.DoubleClick
- PictureBox7.Enabled = False
- pbBinaryTranslator.Show()
- frmBinary.Show()
- For Each p In picArrayBinaryTrans
- If pbStopWatch.Visible = True Or pbCalculator.Visible = True Or pbInternet.Visible = True Or pbFinals.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbChatBot.Visible = True Then
- pbBinaryTranslator.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbBinaryTranslator.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox7_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox7.MouseEnter
- PictureBox7.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox1, "phInternet")
- End Sub
- Private Sub PictureBox1_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseLeave
- PictureBox1.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox2_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox2.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox2, "phCalculator")
- End Sub
- Private Sub PictureBox2_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox2.MouseLeave
- PictureBox2.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox5_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox5.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox5, "phMessenger")
- End Sub
- Private Sub PictureBox5_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox5.MouseLeave
- PictureBox5.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox3_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox3.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox3, "phStopWatch")
- End Sub
- Private Sub PictureBox3_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox3.MouseLeave
- PictureBox3.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox7_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox7.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox7, "phBinaryTranslator")
- End Sub
- Private Sub PictureBox7_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox7.MouseLeave
- PictureBox7.BackColor = Me.BackColor
- End Sub
- Private Sub TextBox1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TextBox1.MouseClick
- If TextBox1.Text = "Search..." Then
- TextBox1.Clear()
- TextBox1.ForeColor = Color.Black
- End If
- End Sub
- Private Sub Label6_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label6.MouseEnter
- Label6.BackColor = Color.Pink
- End Sub
- Private Sub Label6_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label6.MouseLeave
- Label6.BackColor = Color.Thistle
- End Sub
- Private Sub Label7_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label7.MouseEnter
- Label7.BackColor = Color.Pink
- End Sub
- Private Sub Label7_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label7.MouseLeave
- Label7.BackColor = Color.Thistle
- End Sub
- Private Sub Label8_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label8.MouseEnter
- Label8.BackColor = Color.Pink
- End Sub
- Private Sub Label8_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label8.MouseLeave
- Label8.BackColor = Color.Thistle
- End Sub
- Private Sub Label9_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label9.MouseEnter
- Label9.BackColor = Color.Pink
- End Sub
- Private Sub Label9_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label9.MouseLeave
- Label9.BackColor = Color.Thistle
- End Sub
- Private Sub Label10_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label10.MouseEnter
- Label10.BackColor = Color.Pink
- End Sub
- Private Sub Label10_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label10.MouseLeave
- Label10.BackColor = Color.Thistle
- End Sub
- Private Sub btnHide_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnHide.MouseEnter
- btnHide.BackColor = Color.Lime
- End Sub
- Private Sub btnHide_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnHide.MouseLeave
- btnHide.BackColor = Color.White
- End Sub
- Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
- lblDate.Text = DateTime.Now.ToString("dd MMMM yyyy")
- End Sub
- Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove
- If e.Button = 0 Then
- mousePosX = e.X
- mousePosY = e.Y
- My.Settings.Position1 = mousePosX & mousePosY
- Else
- PictureBox1.Left = PictureBox1.Left + (e.X - mousePosX)
- PictureBox1.Top = PictureBox1.Top + (e.Y - mousePosY)
- End If
- End Sub
- Private Sub PictureBox2_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseMove
- If e.Button = 0 Then
- mousePosX2 = e.X
- mousePosY2 = e.Y
- Else
- PictureBox2.Left = PictureBox2.Left + (e.X - mousePosX2)
- PictureBox2.Top = PictureBox2.Top + (e.Y - mousePosY2)
- End If
- End Sub
- Private Sub PictureBox3_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox3.MouseMove
- If e.Button = 0 Then
- mousePosX3 = e.X
- mousePosY3 = e.Y
- Else
- PictureBox3.Left = PictureBox3.Left + (e.X - mousePosX3)
- PictureBox3.Top = PictureBox3.Top + (e.Y - mousePosY3)
- End If
- End Sub
- Private Sub PictureBox5_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox5.MouseMove
- If e.Button = 0 Then
- mousePosX4 = e.X
- mousePosY4 = e.Y
- Else
- PictureBox5.Left = PictureBox5.Left + (e.X - mousePosX4)
- PictureBox5.Top = PictureBox5.Top + (e.Y - mousePosY4)
- End If
- End Sub
- Private Sub PictureBox7_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox7.MouseMove
- If e.Button = 0 Then
- mousePosX5 = e.X
- mousePosY5 = e.Y
- Else
- PictureBox7.Left = PictureBox7.Left + (e.X - mousePosX5)
- PictureBox7.Top = PictureBox7.Top + (e.Y - mousePosY5)
- End If
- End Sub
- Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
- Login.Show()
- Me.Close()
- End Sub
- Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label3.Click
- Me.BackColor = Color.Red
- PictureBox1.BackColor = Color.Red
- PictureBox2.BackColor = Color.Red
- PictureBox3.BackColor = Color.Red
- PictureBox5.BackColor = Color.Red
- PictureBox7.BackColor = Color.Red
- PictureBox8.BackColor = Color.Red
- PictureBox10.BackColor = Color.Red
- PictureBox11.BackColor = Color.Red
- PictureBox12.BackColor = Color.Red
- End Sub
- Private Sub Label4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label4.Click
- Me.BackColor = Color.Green
- PictureBox1.BackColor = Color.Green
- PictureBox2.BackColor = Color.Green
- PictureBox3.BackColor = Color.Green
- PictureBox5.BackColor = Color.Green
- PictureBox7.BackColor = Color.Green
- PictureBox8.BackColor = Color.Green
- PictureBox10.BackColor = Color.Green
- PictureBox11.BackColor = Color.Green
- PictureBox12.BackColor = Color.Green
- End Sub
- Private Sub Label5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label5.Click
- Me.BackColor = Color.DeepSkyBlue
- PictureBox1.BackColor = Color.DeepSkyBlue
- PictureBox2.BackColor = Color.DeepSkyBlue
- PictureBox3.BackColor = Color.DeepSkyBlue
- PictureBox5.BackColor = Color.DeepSkyBlue
- PictureBox7.BackColor = Color.DeepSkyBlue
- PictureBox8.BackColor = Color.DeepSkyBlue
- PictureBox10.BackColor = Color.DeepSkyBlue
- PictureBox11.BackColor = Color.DeepSkyBlue
- PictureBox12.BackColor = Color.DeepSkyBlue
- End Sub
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- pressed2 += 1
- If ((pressed2 Mod 2) = 0) Then
- Label3.Show()
- Label4.Show()
- Label5.Show()
- GroupBox1.Show()
- Label2.Show()
- Else
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End Sub
- Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click
- Me.BackColor = Color.RoyalBlue
- PictureBox1.BackColor = Color.RoyalBlue
- PictureBox2.BackColor = Color.RoyalBlue
- PictureBox3.BackColor = Color.RoyalBlue
- PictureBox5.BackColor = Color.RoyalBlue
- PictureBox7.BackColor = Color.RoyalBlue
- PictureBox8.BackColor = Color.RoyalBlue
- PictureBox10.BackColor = Color.RoyalBlue
- PictureBox11.BackColor = Color.RoyalBlue
- PictureBox12.BackColor = Color.RoyalBlue
- End Sub
- Private Sub PictureBox8_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox8.DoubleClick
- PictureBox8.Enabled = False
- pbGPA.Show()
- frmGPACalculator.Show()
- For Each p In picArrayGPA
- If pbStopWatch.Visible = True Or pbCalculator.Visible = True Or pbFinals.Visible = True Or pbInternet.Visible = True Or pbBinaryTranslator.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbChatBot.Visible = True Then
- pbGPA.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbGPA.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox8_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox8.MouseEnter
- PictureBox8.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox8_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox8.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox8, "phGPACalculator")
- End Sub
- Private Sub PictureBox8_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox8.MouseLeave
- PictureBox8.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox8_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox8.MouseMove
- If e.Button = 0 Then
- mousePosX6 = e.X
- mousePosY6 = e.Y
- My.Settings.Position1 = mousePosX6 & mousePosY6
- Else
- PictureBox8.Left = PictureBox8.Left + (e.X - mousePosX6)
- PictureBox8.Top = PictureBox8.Top + (e.Y - mousePosY6)
- End If
- End Sub
- Private Sub Label14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label14.Click
- Application.Exit()
- End Sub
- Private Sub PictureBox9_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox9.MouseEnter
- lblTime.BackColor = Color.Gray
- lblDate.BackColor = Color.Gray
- lblName.BackColor = Color.Gray
- PictureBox9.BackColor = Color.Gray
- End Sub
- Private Sub lblTime_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblTime.MouseEnter
- lblTime.BackColor = Color.Gray
- lblDate.BackColor = Color.Gray
- lblName.BackColor = Color.Gray
- PictureBox9.BackColor = Color.Gray
- End Sub
- Private Sub lblTime_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblTime.MouseHover
- ToolTip1.SetToolTip(Me.lblTime, TimeOfDay & ", " & DateTime.Now.ToString("dd MMMM yyyy"))
- End Sub
- Private Sub lblTime_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblTime.MouseLeave
- lblTime.BackColor = Color.LightGray
- lblDate.BackColor = Color.LightGray
- lblName.BackColor = Color.LightGray
- PictureBox9.BackColor = Color.LightGray
- End Sub
- Private Sub lblDate_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblDate.MouseLeave
- lblTime.BackColor = Color.LightGray
- lblDate.BackColor = Color.LightGray
- lblName.BackColor = Color.LightGray
- PictureBox9.BackColor = Color.LightGray
- End Sub
- Private Sub lblDate_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblDate.MouseEnter
- lblTime.BackColor = Color.Gray
- lblDate.BackColor = Color.Gray
- lblName.BackColor = Color.Gray
- PictureBox9.BackColor = Color.Gray
- End Sub
- Private Sub lblDate_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblDate.MouseHover
- ToolTip1.SetToolTip(Me.lblDate, TimeOfDay & ", " & DateTime.Now.ToString("dd MMMM yyyy"))
- End Sub
- Private Sub lblName_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblName.MouseHover
- ToolTip1.SetToolTip(Me.lblName, TimeOfDay & ", " & DateTime.Now.ToString("dd MMMM yyyy"))
- End Sub
- Private Sub lblName_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblName.MouseLeave
- lblTime.BackColor = Color.LightGray
- lblDate.BackColor = Color.LightGray
- lblName.BackColor = Color.LightGray
- PictureBox9.BackColor = Color.LightGray
- End Sub
- Private Sub lblName_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblName.MouseEnter
- lblTime.BackColor = Color.Gray
- lblDate.BackColor = Color.Gray
- lblName.BackColor = Color.Gray
- PictureBox9.BackColor = Color.Gray
- End Sub
- Private Sub PictureBox9_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox9.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox9, TimeOfDay & ", " & DateTime.Now.ToString("dd MMMM yyyy"))
- End Sub
- Private Sub PictureBox9_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox9.MouseLeave
- lblTime.BackColor = Color.LightGray
- lblDate.BackColor = Color.LightGray
- lblName.BackColor = Color.LightGray
- PictureBox9.BackColor = Color.LightGray
- End Sub
- Private Sub PictureBox10_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox10.DoubleClick
- PictureBox10.Enabled = False
- pbGmail.Show()
- frmMail.Show()
- For Each p In picArrayGmail
- If pbStopWatch.Visible = True Or pbCalculator.Visible = True Or pbInternet.Visible = True Or pbBinaryTranslator.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbChatBot.Visible = True Then
- pbGmail.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbGmail.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox10_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox10.MouseEnter
- PictureBox10.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox10_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox10.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox10, "phGmailClient")
- End Sub
- Private Sub PictureBox10_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox10.MouseLeave
- PictureBox10.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox10_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox10.MouseMove
- If e.Button = 0 Then
- mousePosX7 = e.X
- mousePosY7 = e.Y
- Else
- PictureBox10.Left = PictureBox10.Left + (e.X - mousePosX7)
- PictureBox10.Top = PictureBox10.Top + (e.Y - mousePosY7)
- End If
- End Sub
- Private Sub PictureBox11_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox11.DoubleClick
- PictureBox11.Enabled = False
- pbChatBot.Show()
- frmChatBot.Show()
- For Each p In picArrayChatBot
- If pbBinaryTranslator.Visible = True Or pbCalculator.Visible = True Or pbFinals.Visible = True Or pbInternet.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbNotes.Visible = True Or pbStopWatch.Visible = True Then
- pbChatBot.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbChatBot.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox11_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox11.MouseEnter
- PictureBox11.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox11_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox11.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox11, "phChatBot")
- End Sub
- Private Sub PictureBox11_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox11.MouseLeave
- PictureBox11.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox11_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox11.MouseMove
- If e.Button = 0 Then
- mousePosX8 = e.X
- mousePosY8 = e.Y
- My.Settings.Position1 = mousePosX8 & mousePosY8
- Else
- PictureBox11.Left = PictureBox11.Left + (e.X - mousePosX8)
- PictureBox11.Top = PictureBox11.Top + (e.Y - mousePosY8)
- End If
- End Sub
- Private Sub Label16_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label16.Click
- PictureBox11_DoubleClick(Label16, System.EventArgs.Empty)
- frmChatBot.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label17_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label17.Click
- PictureBox8_DoubleClick(Label17, System.EventArgs.Empty)
- frmGPACalculator.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label18.Click
- PictureBox10_DoubleClick(Label8, System.EventArgs.Empty)
- frmMail.Show()
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label16_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label16.MouseEnter
- Label16.BackColor = Color.Pink
- End Sub
- Private Sub Label16_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label16.MouseLeave
- Label16.BackColor = Color.Thistle
- End Sub
- Private Sub Label17_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label17.MouseEnter
- Label17.BackColor = Color.Pink
- End Sub
- Private Sub Label17_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label17.MouseLeave
- Label17.BackColor = Color.Thistle
- End Sub
- Private Sub Label18_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label18.MouseEnter
- Label18.BackColor = Color.Pink
- End Sub
- Private Sub Label18_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles Label18.MouseLeave
- Label18.BackColor = Color.Thistle
- End Sub
- Private Sub frmMain_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub MenuStrip1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MenuStrip1.MouseClick
- If PictureBox4.Visible = True Then
- pressed += 1
- PictureBox4.Hide()
- Label6.Hide()
- Label7.Hide()
- Label8.Hide()
- Label9.Hide()
- Label10.Hide()
- Label11.Hide()
- TextBox1.Hide()
- Label12.Hide()
- Label1.Hide()
- Button2.Hide()
- Label14.Hide()
- Label15.Hide()
- Label16.Hide()
- Label17.Hide()
- Label18.Hide()
- If GroupBox1.Visible = True Then
- pressed2 += 1
- Label3.Hide()
- Label4.Hide()
- Label5.Hide()
- GroupBox1.Hide()
- Label2.Hide()
- End If
- End If
- End Sub
- Private Sub Label20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
- frmWord.Show()
- End Sub
- Private Sub NewTextFileToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
- frmWord.Show()
- End Sub
- Private Sub PictureBox12_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox12.DoubleClick
- PictureBox12.Enabled = False
- pbNotes.Show()
- frmWord.Show()
- For Each p In picArrayNotes
- If pbStopWatch.Visible = True Or pbCalculator.Visible = True Or pbFinals.Visible = True Or pbInternet.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbBinaryTranslator.Visible = True Or pbChatBot.Visible = True Then
- pbNotes.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbNotes.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox12_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox12.MouseEnter
- PictureBox12.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox12_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox12.MouseHover
- ToolTip1.SetToolTip(Me.PictureBox12, "phTextEditor")
- End Sub
- Private Sub PictureBox12_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox12.MouseLeave
- PictureBox12.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox12_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox12.MouseMove
- If e.Button = 0 Then
- mousePosX9 = e.X
- mousePosY9 = e.Y
- Else
- PictureBox12.Left = PictureBox12.Left + (e.X - mousePosX9)
- PictureBox12.Top = PictureBox12.Top + (e.Y - mousePosY9)
- End If
- End Sub
- Private Sub pbNotes_Click(sender As System.Object, e As System.EventArgs) Handles pbNotes.Click
- frmWord.Select()
- End Sub
- Private Sub pbCalculator_Click(sender As System.Object, e As System.EventArgs) Handles pbCalculator.Click
- frmCalculator.Select()
- End Sub
- Private Sub pbChatBot_Click(sender As System.Object, e As System.EventArgs) Handles pbChatBot.Click
- frmChatBot.Select()
- End Sub
- Private Sub pbInternet_Click(sender As System.Object, e As System.EventArgs) Handles pbInternet.Click
- frmBrowser.Select()
- End Sub
- Private Sub pbMessenger_Click(sender As System.Object, e As System.EventArgs) Handles pbMessenger.Click
- frmMessenger.Select()
- End Sub
- Private Sub pbBinaryTranslator_Click(sender As System.Object, e As System.EventArgs) Handles pbBinaryTranslator.Click
- frmBinary.Select()
- End Sub
- Private Sub pbStopWatch_Click(sender As System.Object, e As System.EventArgs) Handles pbStopWatch.Click
- frmStopWatch.Select()
- End Sub
- Private Sub pbGPA_Click(sender As System.Object, e As System.EventArgs) Handles pbGPA.Click
- frmGPACalculator.Select()
- End Sub
- Private Sub pbGmail_Click(sender As System.Object, e As System.EventArgs) Handles pbGmail.Click
- frmMail.Select()
- End Sub
- Private Sub TestToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles TestToolStripMenuItem.Click
- frmWord.Close()
- End Sub
- Private Sub CloseToolStripMenuItem_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem.Click
- frmBrowser.Close()
- End Sub
- Private Sub CloseToolStripMenuItem1_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem1.Click
- frmCalculator.Close()
- End Sub
- Private Sub CloseToolStripMenuItem2_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem2.Click
- frmChatBot.Close()
- End Sub
- Private Sub CloseToolStripMenuItem3_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem3.Click
- frmGPACalculator.Close()
- End Sub
- Private Sub CloseToolStripMenuItem4_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem4.Click
- frmMessenger.Close()
- End Sub
- Private Sub CloseToolStripMenuItem5_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem5.Click
- frmMail.Close()
- End Sub
- Private Sub CloseToolStripMenuItem6_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem6.Click
- frmBinary.Close()
- End Sub
- Private Sub CloseToolStripMenuItem7_Click(sender As System.Object, e As System.EventArgs) Handles CloseToolStripMenuItem7.Click
- frmStopWatch.Close()
- End Sub
- Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click
- frmConsole.Show()
- End Sub
- Private Sub PictureBox13_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox13.DoubleClick
- PictureBox13.Enabled = False
- pbFinals.Show()
- frmFinals.Show()
- For Each p In picArrayFinals
- If pbStopWatch.Visible = True Or pbCalculator.Visible = True Or pbInternet.Visible = True Or pbGmail.Visible = True Or pbGPA.Visible = True Or pbMessenger.Visible = True Or pbBinaryTranslator.Visible = True Or pbChatBot.Visible = True Or pbNotes.Visible = True Then
- pbFinals.Location = New Point(107, 980)
- p.Left += 125
- Else
- pbFinals.Location = New Point(107, 980)
- End If
- Next
- End Sub
- Private Sub PictureBox13_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox13.MouseEnter
- PictureBox13.BackColor = Color.CornflowerBlue
- End Sub
- Private Sub PictureBox13_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox13.MouseLeave
- PictureBox13.BackColor = Me.BackColor
- End Sub
- Private Sub PictureBox13_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox13.MouseMove
- If e.Button = 0 Then
- mousePosX10 = e.X
- mousePosY10 = e.Y
- Else
- PictureBox13.Left = PictureBox13.Left + (e.X - mousePosX10)
- PictureBox13.Top = PictureBox13.Top + (e.Y - mousePosY10)
- End If
- End Sub
- Private Sub pbFinals_Click(sender As System.Object, e As System.EventArgs) Handles pbFinals.Click
- frmFinals.Select()
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement