Namespace DRAW_SAMPLE
    _
   Public Class Form1
      Inherits System.Windows.Forms.Form
      Private components As System.ComponentModel.Container = Nothing
      Private startDrawing As Integer = 0 '是否绘画
      '
      'ToDo: Error processing original source shown below
      '
      '
      '-------------------^--- Syntax error: 'identifier' expected
      '
      'ToDo: Error processing original source shown below
      '
      '
      '-------------------^--- Syntax error: 'identifier' expected
      '
      'ToDo: Error processing original source shown below
      '
      '
      '-------------------^--- Syntax error: 'identifier' expected
      Private myGraphics As Graphics = Nothing
      Public ok As Integer = 0
      
      
      Public Sub New()
         InitializeComponent()
      End Sub 'New
       
      
      
      
      Shared<STAThread()>  _
      Sub Main()
         Application.Run(New Form1())
      End Sub 'Main
       
      
      
      Private Sub Form1_Load(sender As Object, e As System.EventArgs)
         myGraphics = Graphics.FromImage(myBitmap) '由myBitmap产生一个Graphics对象 
         myGraphics.Clear(Color.White) '绘制myBitmap底图
      End Sub 'Form1_Load
   End Class 'Form1
End Namespace 'DRAW_SAMPLE