file.vb
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button AndvbRightButton Then
PopupMenumnuModify
End If
End Sub
Private Sub mnuCircle_Click()
Shape1.Visible = True
End Sub
Private Sub mnuErase_Click()
Shape1.Visible = False
Shape2.Visible = False
End Sub
Private Sub mnuExpand_Click()
Shape2.Visible = False
Shape1.Visible = True
End Sub
Private Sub mnuShrink_Click()
Shape2.Visible = True
Shape1.Visible = False
End Sub