User Profile

Collapse

Profile Sidebar

Collapse
motiee
motiee
Last Activity: May 5 '06, 07:57 PM
Joined: Mar 24 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I'm having a problem with drawing on picturebox in vb.net programing.

    I'm having a problem with drawing on picturebox in vb.net programing.
    I draw line(or another shape's) on picturebox, anytime screen refreshes(open dialogbox ro menu,...) the drawn line on picturebox disapears.

    Private Sub PictureBox1_Mou seDown(ByVal sender As Object, ByVal e As System.Windows. Forms.MouseEven tArgs) Handles PictureBox1.Mou seDown
    x1 = e.Location.X
    y1 = e.Location.Y
    End Sub

    Private...
    See more | Go to post

  • motiee
    replied to VB.net Stackoverflow Exception
    Dear paul,
    You must use "form'sname.var iable's name" to assignment.
    In addition you shoud definition your variable's between "bublic class form1 and end class.
    for example I have 2 forms and I want use for variable in form2.vb that defined in form1.vb.

    Public Class Form1
    Public X As String = "paul"

    Private Sub Form1_Load(ByVa l sender As System.Object,...
    See more | Go to post
    Last edited by motiee; Mar 24 '06, 04:12 PM.

    Leave a comment:


  • motiee
    started a topic VB.NET Problem's

    VB.NET Problem's

    I'm having a problem with drawing on picturebox in vb.net programing.
    I draw line(or another shape's) on picturebox, anytime screen refreshes(open dialogbox ro menu,...) the drawn line on picturebox disapears.

    Private Sub PictureBox1_Mou seDown(ByVal sender As Object, ByVal e As System.Windows. Forms.MouseEven tArgs) Handles PictureBox1.Mou seDown
    x1 = e.Location.X
    y1 = e.Location.Y
    End...
    See more | Go to post
    Last edited by motiee; Mar 24 '06, 06:51 PM.
No activity results to display
Show More
Working...