毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> 开发语言 >> 正文

vb双缓冲画平滑曲线闪烁严重 第2页

更新时间:2012-7-31:  来源:毕业论文
'打开游戏
Private Sub OPEN_Click()
  Open App.Path & "\save.db" For Binary As #1
   
  For i = 0 To 5
  For j = 0 To 5
  Get #1, , arr(i, j)
  Next j
  Next i
  Close 1#
   
  calcDC
  Me.Refresh
End Sub


'保存游戏
Private Sub SAVE_Click()
  Open App.Path & "\save.db" For Binary As #1
   
  For i = 0 To 5
  For j = 0 To 5
  Put #1, , arr(i, j)
  Next j
  Next i
  Close 1#
End Sub

'开始游戏
Private Sub START_Click()
  drops = 15
  newgame
End Sub

Private Sub Timer1_Timer()
  check
End Sub

'撤销
Private Sub UNDO_Click()

End Sub

'重做
Private Sub REDO_Click()

End Sub

Function CreateMyFont(nSize As Integer, nDegrees As Long) As Long
  'Create a specified font
  CreateMyFont = CreateFont(-MulDiv(nSize, GetDeviceCaps(GetDC(0), LOGPIXELSY), 288), 0, nDegrees * 10, 0, FW_NORMAL, False, False, False, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, PROOF_QUALITY, DEFAULT_PITCH, "Times New Roman")
End Function

Sub check()
  Dim str As String
  Dim i As Long, j As Long
   
  Dim isdone As Boolean

上一页  [1] [2] [3] [4] 下一页

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。