Advertisement
imjyb1008

1406011201990

Oct 31st, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.24 KB | None | 0 0
  1. Public Class Form1
  2.  
  3.     '類別變數
  4.     Dim flag As Byte = 0
  5.  
  6.     Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
  7.  
  8.         If flag = 0 Then
  9.             flag = 1
  10.         Else
  11.             flag = 0
  12.         End If
  13.  
  14.     End Sub
  15.  
  16. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement