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.
RunarM wrote:How about something to make picturebox1 bigger/smaller:Dude, that doesn't works. Can you post that what things we have to put on the form?
*Picturebox2
*Timer
Code: Select allImage (right)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
http://i700.photobucket.com/albums/ww4/ ... Show-8.png
RunarM wrote:How about something to make picturebox1 bigger/smaller:Dude, that doesn't works. Can you post that what things we have to put on the form?
*Picturebox2
*Timer
Code: Select allImage (right)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
http://i700.photobucket.com/albums/ww4/ ... Show-8.png
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
http://www.codexvideos.com
Wait a minute, that's an advancement for mega paint, right? I was trying to do it on my paint application.
I think that it may only work for the mega paint source.
Jg99 wrote:why is it so expensivethis is a source for a project i have put a lot of effort into
Copyright Information
Copyright © Codenstuff.com 2020 - 2023