Page 1 of 1

Custom Themed Application

Posted: Thu Dec 04, 2008 12:50 am
by Click16
Hey everyone! I Recently made an application that has 3 Different Themes.
Ghost
Green
Blue

All of the themes have custom images and are still in development. I like making themed applications, but my only problem is that there is much more work to be done, and that once its maximized, for some reason it wont go back into regular window mode. Even though I told it to.

Here are a few pics:
Blue (Default) Theme:
Image
Green Theme:
Image
Ghost (Silver) Theme:
Image

Download

(Try to avoid negative comments. You could say what i could add or do differently, but not anything saying you dislike it. If you dislike it, don't post anything please!

Enjoy!

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 12:51 am
by NotZachary82
It just looks too ... plain. :|

Try adding a glossy look to it.

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 1:40 am
by Click16
Actually Im making it glossy right now! lol

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 2:13 am
by JacksonCougar
I dislike it.

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 3:06 am
by xxpenguinxx
I'm guessing your going to be using this as something to build on with any new apps you make?

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 3:57 am
by OwnZ joO
For VB it should be something like:

Code: Select all

me.WindowState = FormWindowState.Normal;
C# should be like this

Code: Select all

this.WindowState = FormWindowState.Normal;

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 9:42 pm
by Click16

Code: Select all

    Private Sub MaxResButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MaxResButton.Click
        If Me.WindowState = FormWindowState.Maximized Then
            Me.WindowState = FormWindowState.Normal
        End If

        If Me.WindowState = FormWindowState.Normal Then
            Me.WindowState = FormWindowState.Maximized
        End If

    End Sub
That is my code... it wont work. It will go to a normal window then become a big window again.

Re: Custom Themed Application

Posted: Thu Dec 04, 2008 10:28 pm
by OwnZ joO
[code]
Private Sub MaxResButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MaxResButton.Click
If Me.WindowState = FormWindowState.Maximized Then
Me.WindowState = FormWindowState.Normal
Else If Me.WindowState = FormWindowState.Normal Then
Me.WindowState = FormWindowState.Maximized
End If
End Sub
[/code]


The problem was you were setting it to normal with the first if statement and then the next if statement was checking if it was normal to set it to maximize. With an else if statement it will only check the second one if the first one was false.

Re: Custom Themed Application

Posted: Fri Dec 05, 2008 1:26 am
by xxpenguinxx
Else If Me.WindowState = FormWindowState.Normal Then

delete the text I highlighted in red like OwnZ joO said to do.