I created a function of drawing the pixel But I can not show it i want to use my methode to draw point As in the following code
Imports System.Math
Public Class Form1
Private Sub myc(ByVal x1 As Integer, ByVal y1 As Integer, ByVal r As Integer, ByVal r2 As Integer, ByVal c As Double)
Dim y, nx, ny As Integer
Dim th As Double
For th = 0 To 360 Step 1
nx = x1 + r * Sin(th * 22 / 7 / 180)
ny = y1 + r2 * Cos(th * 22 / 7 / 180)
Next
End Sub
End Class