Mega Paint Source

If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
24 posts Page 2 of 3
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Mega Paint Source
Usman55
RunarM wrote:
How about something to make picturebox1 bigger/smaller:

*Picturebox2
*Timer
Code: Select all
 Private Sub SizeOfPicturebox1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SizeOfPicturebox1.Tick
        NumericUpDownResizeWidth.Value = PictureBox1.Width
        NumericUpDownResizeHeight.Value = PictureBox1.Height
        Button7.PerformClick()

    End Sub

    Private Sub PictureBox2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseDown
        movement = True
        x = Windows.Forms.Cursor.Position.X - PictureBox1.Size.Width
        y = Windows.Forms.Cursor.Position.Y - PictureBox1.Size.Height

    End Sub

    Private Sub PictureBox2_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseMove
        If movement Then
            PictureBox1.Height = Windows.Forms.Cursor.Position.Y - y
            PictureBox1.Width = Windows.Forms.Cursor.Position.X - x
        End If
    End Sub

    Private Sub PictureBox2_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseUp
        movement = False
    End Sub
Image (right)
http://i700.photobucket.com/albums/ww4/ ... Show-8.png
Dude, that doesn't works. Can you post that what things we have to put on the form?
Image
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Mega Paint Source
Usman55
RunarM wrote:
How about something to make picturebox1 bigger/smaller:

*Picturebox2
*Timer
Code: Select all
 Private Sub SizeOfPicturebox1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SizeOfPicturebox1.Tick
        NumericUpDownResizeWidth.Value = PictureBox1.Width
        NumericUpDownResizeHeight.Value = PictureBox1.Height
        Button7.PerformClick()

    End Sub

    Private Sub PictureBox2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseDown
        movement = True
        x = Windows.Forms.Cursor.Position.X - PictureBox1.Size.Width
        y = Windows.Forms.Cursor.Position.Y - PictureBox1.Size.Height

    End Sub

    Private Sub PictureBox2_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseMove
        If movement Then
            PictureBox1.Height = Windows.Forms.Cursor.Position.Y - y
            PictureBox1.Width = Windows.Forms.Cursor.Position.X - x
        End If
    End Sub

    Private Sub PictureBox2_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseUp
        movement = False
    End Sub
Image (right)
http://i700.photobucket.com/albums/ww4/ ... Show-8.png
Dude, that doesn't works. Can you post that what things we have to put on the form?
Image
User avatar
RunarM
Hardcore Programmer
Hardcore Programmer
Posts: 508
Joined: Wed Nov 18, 2009 11:33 pm

Re: Mega Paint Source
RunarM
Usman55 wrote:
Dude, that doesn't works. Can you post that what things we have to put on the form?
I got it working just fine ;O
Just another day in my life.
http://www.codexvideos.com
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Mega Paint Source
Usman55
Wait a minute, that's an advancement for mega paint, right? I was trying to do it on my paint application.
Image
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Re: Mega Paint Source
Cheatmasterbw
I think that it may only work for the mega paint source.
http://www.megaapps.tk/
User avatar
fabiohenrique
Just Registered
Just Registered
Posts: 1
Joined: Wed Apr 20, 2011 1:36 pm

Re: Mega Paint Source
fabiohenrique
Veryyy gooooodddddd!!

Thk u!!
User avatar
Jg99
VIP - Site Partner
VIP - Site Partner
Posts: 453
Joined: Sun Mar 20, 2011 5:04 am

Re: Mega Paint Source
Jg99
why is it so expensive
http://www.sctechusa.com SilverCloud Website
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: Mega Paint Source
Agust1337
Why do you keep bumping?
Top-notch casual Dating
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

Re: Mega Paint Source
Zulf
Good lord 4 month bump.
Image
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Re: Mega Paint Source
Cheatmasterbw
Jg99 wrote:
why is it so expensive
this is a source for a project i have put a lot of effort into
http://www.megaapps.tk/
24 posts Page 2 of 3
Return to “Source-Code”