Hack Forums
[.NET] Animated Notification Form - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Animated Notification Form (/showthread.php?tid=3901121)

Pages: Pages 1 2 3 4


Animated Notification Form - Nervo - Dec 1, 2013

Well, today I was playing around with forms and animations and I came up with this:

Preview:
Spoiler (Click to View)

It's a simple animation you can use with your rat or whatever you want.
The form design is up to you, I made this just to show how it works.

Source:
PHP Code

<?php 
Imports System
.Threading
Public Class Form1

    
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  Dim t 
As New Thread(AddressOf MoveForm)
  
t.Start()
    
End Sub

    Delegate Sub MoveFormDel
()
    Public 
Sub MoveForm()
  If 
InvokeRequired = True Then
    Invoke
(New MoveFormDel(AddressOf MoveForm))
  Else
    
Dim x As Integer = Screen.PrimaryScreen.WorkingArea.Width - Me.Width
    Dim y 
As Integer = Screen.PrimaryScreen.WorkingArea.Height
    
Do While y <> Screen.PrimaryScreen.WorkingArea.Height - Me.Height
    y 
-= 1
    Me
.Location = New Point(x, y)
    
Me.Refresh()
    
Threading.Thread.Sleep(10)
    
Loop
    Threading
.Thread.Sleep(1000)
    Do While 
Me.Opacity <> 0
    Me
.Opacity -= 0.01
    Threading
.Thread.Sleep(20)
    
Loop
  End 
If
    
End Sub
End 
Class 

Have fun! 🤝


* - Moon Rock - Dec 1, 2013

Looks nice, but were does it get the message to show?


* - Nervo - Dec 1, 2013

(Dec 1, 2013 11:49 AM)Mrvinc911 Wrote:  Looks nice, but were does it get the message to show?

That part you must do yourself, this is only the animation.


* - Nextrum - Dec 1, 2013

Nice share, good to see people sharing with the community.


* - Golden Kappa - Dec 1, 2013

Very nice application, good work ;)


* - SkyRider2 - Dec 1, 2013

Looks alright, keep the good work up.


* - Nervo - Dec 1, 2013

Thanks guys, I am glad you like my work.


* - SIM-1456245 - Dec 1, 2013

UUU, that is nice, I saw AeonHack had one of these in his RAT. Cool.


* - SubGenius - Dec 1, 2013

I like that you didn't use timers... i don't say it's bad using timers. But you did good job with the threading.
Well done.


* - velox - Dec 1, 2013

This actually looks great. Commenting to bookmark later. Excellent work OP


* - VN888 - Dec 1, 2013

Super! Finally i can replace these ugly "bubble tips" with a nice legit slide effect. Thanks!


* - Detroit Tigers - Dec 1, 2013

Looks nice, bookmarked this for later on. Thanks! :)


* - SaketSaket - Dec 2, 2013

Wonderful work buddy ;) Nice animation...


* - ProBux - Dec 2, 2013

Looks epic, using it in my current project. Thanks a lot mate!


* - Nervo - Dec 2, 2013

Wow thanks guys, thanks for your feedback.