Sep 9, 2010 06:11 AM
(This post was last modified: Jan 4, 2011 11:57 AM by Obi-Wan Cannabis.)
What will you learn?
In this tutorial i'm gonna show you three methods of using custom themes on your applications! 😉
Method 1 - DotNetBar
Method 2 - Custom Themes (Aeonhack themes)
Method 3 - Create your own theme on photoshop and use it on you application.
Method 1
Step 1) Download and install DotNetBar here.
Step 2) Patch the program (so the trial will become full).
Step 3) On your toolbox are now new controls for your applications. ✌
Method 2
Step 1) Go here and here (Fusion - New Theme).
Step 2) Download the themes from there.
Step 3) Install them on your app.
Step 4) Enjoy your new themes. ✌
Method 3
Step 1) Create an image on Photoshop (GUI).
[img]http://img827.imageshack.us/img827/2315/semtt2ulo.png[/img]
Step 2) Put the image in the background of the form.
Step 3) Add a timer to your form and make sure its enabled=false and interval=1 or 2.
Step 4) Create a Private Sub called Theme and write this on:
Step 4) Add the folowing code to your app now:
Step 5) Add now three labels (nameofapp, X and - / to close and minimize the form)
Step 6) Add this code to form1_load:
And add this code:
Step 7) Test your application.
[IMG]http://img444.imageshack.us/img444/7346/93923668.png[/IMG]
And you just created a theme! Congratulations! ✌
Sorry for posting before finish!
It was an accident! :(
But now the thread is updated! =D
In this tutorial i'm gonna show you three methods of using custom themes on your applications! 😉
Method 1 - DotNetBar
Method 2 - Custom Themes (Aeonhack themes)
Method 3 - Create your own theme on photoshop and use it on you application.
Method 1
Step 1) Download and install DotNetBar here.
Step 2) Patch the program (so the trial will become full).
Step 3) On your toolbox are now new controls for your applications. ✌
Method 2
Step 1) Go here and here (Fusion - New Theme).
Step 2) Download the themes from there.
Step 3) Install them on your app.
Step 4) Enjoy your new themes. ✌
Method 3
Step 1) Create an image on Photoshop (GUI).
[img]http://img827.imageshack.us/img827/2315/semtt2ulo.png[/img]
Step 2) Put the image in the background of the form.
Step 3) Add a timer to your form and make sure its enabled=false and interval=1 or 2.
Step 4) Create a Private Sub called Theme and write this on:
Code
AppLocation = Me.Location
CurLocation = Cursor.PositionStep 4) Add the folowing code to your app now:
Code
Dim AppLocation, CurLocation As New Point(0, 0)
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Me.Location = AppLocation - CurLocation + Cursor.Position
End Sub
Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown
Timer1.Enabled = True
Timer1.Start()
Theme()
End Sub
Private Sub Form1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseUp
Timer1.Stop()
Theme()
End SubStep 5) Add now three labels (nameofapp, X and - / to close and minimize the form)
Step 6) Add this code to form1_load:
Code
Label1.Parent = PictureBox1
Label2.Parent = PictureBox1
Label3.Parent = PictureBox1And add this code:
Code
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.Close()
End Sub
Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.WindowState = FormWindowState.Minimized
End SubStep 7) Test your application.
[IMG]http://img444.imageshack.us/img444/7346/93923668.png[/IMG]
And you just created a theme! Congratulations! ✌
Sorry for posting before finish!
It was an accident! :(
But now the thread is updated! =D



![[Image: zUBs1FH.gif]](https://i.imgur.com/zUBs1FH.gif)
![[Image: Xtddh8V.png]](https://i.imgur.com/Xtddh8V.png)