تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] How to display image as a Grid?
#2
PHP كود :
Dim i As Integer 0
    Dim i2 
As Integer 0
    Dim distance 
As Integer 15
    
Private Sub Button1_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Button1.Click
        Dim g 
As Graphics
        g 
PictureBox1.CreateGraphics
        Dim blackpen 
As New Drawing.Pen(Color.Gray)
        While 
<= PictureBox1.Height
            g
.DrawLine(blackpen0iPictureBox1.Widthi)
            
+= distance
        End 
While
        While 
i2 <= PictureBox1.Width
            g
.DrawLine(blackpeni20i2PictureBox1.Height)
            
i2 += distance
        End 
While
    
End Sub 
الرد }}}
تم الشكر بواسطة: Amir_Alzubidy


الردود في هذا الموضوع
How to display image as a Grid? - بواسطة amna jamal - 23-11-17, 06:10 AM
RE: How to display image as a Grid? - بواسطة HASAN6.0 - 23-11-17, 12:51 PM
RE: How to display image as a Grid? - بواسطة amna jamal - 24-11-17, 07:36 PM
RE: How to display image as a Grid? - بواسطة silverlight - 24-11-17, 12:46 AM
RE: How to display image as a Grid? - بواسطة silverlight - 24-11-17, 04:58 AM
RE: How to display image as a Grid? - بواسطة silverlight - 24-11-17, 01:42 PM
RE: How to display image as a Grid? - بواسطة silverlight - 25-11-17, 11:58 AM
RE: How to display image as a Grid? - بواسطة silverlight - 27-11-17, 06:54 PM


التنقل السريع :


يقوم بقرائة الموضوع: