亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? formb41d.frm

?? 基于VB開
?? FRM
?? 第 1 頁 / 共 5 頁
字號:
      _ExtentY        =   4471
      _Version        =   393216
   End
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid2 
      Height          =   2535
      Left            =   4200
      TabIndex        =   33
      Top             =   240
      Visible         =   0   'False
      Width           =   1935
      _ExtentX        =   3413
      _ExtentY        =   4471
      _Version        =   393216
   End
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid3 
      Height          =   2535
      Left            =   7080
      TabIndex        =   39
      Top             =   840
      Visible         =   0   'False
      Width           =   3375
      _ExtentX        =   5953
      _ExtentY        =   4471
      _Version        =   393216
   End
   Begin MSFlexGridLib.MSFlexGrid MSFlexGrid4 
      Height          =   2055
      Left            =   6960
      TabIndex        =   40
      Top             =   5040
      Visible         =   0   'False
      Width           =   3495
      _ExtentX        =   6165
      _ExtentY        =   3625
      _Version        =   393216
   End
   Begin VB.Label Label10 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "64"
      BeginProperty Font 
         Name            =   "宋體"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   180
      Left            =   5760
      TabIndex        =   32
      Top             =   7080
      Width           =   225
   End
   Begin VB.Label Label9 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "預選賽"
      BeginProperty Font 
         Name            =   "宋體"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   180
      Left            =   7320
      TabIndex        =   23
      Top             =   4680
      Visible         =   0   'False
      Width           =   600
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "1/2"
      BeginProperty Font 
         Name            =   "宋體"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   180
      Left            =   5640
      TabIndex        =   2
      Top             =   7560
      Width           =   330
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "抽簽種子"
      BeginProperty Font 
         Name            =   "宋體"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   180
      Left            =   1200
      TabIndex        =   1
      Top             =   7920
      Width           =   795
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "空位號"
      BeginProperty Font 
         Name            =   "宋體"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   180
      Left            =   7080
      TabIndex        =   0
      Top             =   480
      Width           =   600
   End
End
Attribute VB_Name = "FormB41d"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
  
'     ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
'     ┃       FormB41d       淘汰賽排位抽簽(單項)              ┃
'     ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Const intCy0 = &HFFFFFF, intCy1 = &HC0E0FF, intCx1 = &HC040FF        ' 4 - 128 人

Dim bytRo1 As Byte, bytRo2 As Byte, bytRo3 As Byte, bytRo4 As Byte
Dim strYh As String, strY1 As String, strY2 As String
Dim arrDw() As String, bytDs As Byte, arrDs(), arrBg() As String
Dim arrWz() As String, bytWs As Byte, arrCq() As String, arrWh() As String
Dim arrZz() As String, bytZs As Byte, blnZz As Boolean, arrKq(), arrXs() As String
Dim arrYm() As String, bytRs As Byte, blnCq As Boolean
Dim arrYx() As String, bytYs As Byte, blnYx As Boolean, blnLk As Boolean
Dim arrZm() As String, bytWm As Byte, zs As Byte
Dim arrFz() As String, bytFs As Byte, strYz As String
Dim Zm As Byte, Zn As Byte, Zp As Byte, Zq As Byte, Zx As Byte, Zy As Byte, Zg As Byte
Dim strTm As String
Dim strDw As String
Dim strGh As String, strGm As String                                 ' 分組名和代號
Dim strPh As String, strPm As String                                 ' 項目名和代號
Dim strTj1 As String, strTj2 As String, strTj3 As String
Dim strKwh As String


Dim bytLc As Byte, r As Integer, w As Integer, h As Integer
Dim ds As Integer, ps As Integer
Dim Rn As Integer, arrRh() As Byte
Dim qn As Integer, arrQh() As Byte, q As Byte
Dim Wn As Integer ', arrWh() As Byte
Dim Wh() As Byte
Dim intRy2, intRw2, intRoh As Integer
Dim intRok, intRop As Integer, blnPx, blnJh As Boolean
Dim arrGm(), arrYdg(), arrFg()
Dim arrWs(), Gs() As Integer, Rm() As String
Dim strZcy As String
Dim Rs As Integer, Gn As Integer
Dim strZcm, strBwm, strFsg As String, blnTh As Boolean
Dim y0 As Integer, yu As Integer, yd As Integer, yy As Integer
'


Private Sub Form_Load()
    
    If myF_ConnT(Db_fN2) = False Then Unload Me: Exit Sub        ' 連接庫 T                                               ' 打開數據庫 2
    
       StrT0 = "T_gm"                                            ' 分組表    T_gm  MyRs0
       StrT1 = "T_pm"                                            ' 項目表    T_pm  MyRs1
       StrT2 = "T_zz"
       StrT3 = "T_dw"                                            ' 單位表    T_dw  MyRs2
       StrT4 = "T_md"                                            ' 登記表    T_md  MyRs4
       StrT5 = "T_bm"                                            ' 報名表    T_bm  MyRs3
    
    bytRo1 = 1
    bytRo2 = 1
    bytRo3 = 1
    bytRo4 = 1
    Label2 = ""
    Label4 = ""
    
    SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, 3
    
End Sub

Private Sub Form_Activate()
    
    If BlnTc = True Then Unload Me: Exit Sub
    
    strGh = StrPa1  ' "Gm003" '
    strPh = StrPa2  ' "Pm004" '
       
    StrSQL = "Select * From " & StrT2 & " Where Gh='" & strGh & "' And Ph='" & strPh & "'"
    Set MyRs1 = New Recordset
    MyRs1.Open StrSQL, cnnTce, adOpenKeyset, adLockOptimistic
    If MyRs1.EOF = True And MyRs1.BOF = True Then
       bytZs = 0                                              ' 空表
    Else
       bytZs = MyRs1.RecordCount                              ' 返回記錄數
    End If
'bytZs = 0
    blnZz = IIf(bytZs < 1, False, True)
    
    BlnGf = IIf(strGh = "", False, True)
       
    If BlnGf Then
       Set MyRs1 = New Recordset
       StrSQL = "SELECT " & StrT1 & ".Pm," & StrT0 & ".Gm," & _
                            StrT1 & ".Ds," & StrT1 & ".Rs," & StrT1 & ".Zs" & _
                "  FROM " & StrT0 & "," & StrT1 & _
                " WHERE " & StrT0 & ".Gh=" & StrT1 & ".Gh " & _
                "   And " & StrT1 & ".Gh='" & strGh & "' And " & StrT1 & ".Ph='" & strPh & "'"
       MyRs1.Open StrSQL, cnnTce, adOpenKeyset, adLockOptimistic
          N1 = MyRs1.RecordCount
       If N1 > 0 Then
          strGm = MyRs1![Gm]
          strPm = MyRs1![Pm]
          bytDs = MyRs1![ds]
          bytRs = MyRs1![Rs]
          bytZs = MyRs1![zs]
       Else
          MsgBox " ", 48, "  Error"
          Unload Me: Exit Sub
       End If
    Else
       Set MyRs1 = New Recordset
       StrSQL = "SELECT * FROM " & StrT1 & " WHERE Ph='" & strPh & "'"
       MyRs1.Open StrSQL, cnnTce, adOpenKeyset, adLockOptimistic
          N1 = MyRs1.RecordCount
       If N1 > 0 Then
          strGm = ""
          strPm = MyRs1![Pm]
          bytDs = MyRs1![ds]
          bytRs = MyRs1![Rs]
          bytZs = MyRs1![zs]
       Else
          MsgBox " ", 48, "  Error"
          Unload Me: Exit Sub
       End If
    End If
    Me.Caption = " " & srtGm & " " & strPm & Me.Caption
'bytZs = 0
    Set MyRsT = New Recordset                                    ' T_dw T_bm 表
    StrSQL = "Select Distinct " & StrT3 & ".Xh," & StrT3 & ".Dh," & StrT3 & ".Dw" & _
             "  From " & StrT3 & "," & StrT5 & _
             " Where " & StrT3 & ".Dh=" & StrT5 & ".Dh" & _
             "   And " & StrT5 & ".Gh='" & strGh & "' And " & StrT5 & ".Ph='" & strPh & "'" & _
             " Order By " & StrT3 & ".Dh"
    MyRsT.Open StrSQL, cnnTce, adOpenKeyset, adLockOptimistic
       bytDs = MyRsT.RecordCount                                 ' 隊數
    ReDim arrDw(bytDs, 3), arrDs(bytDs, 3)
       For i = 1 To bytDs
           arrDw(i, 1) = MyRsT![Dh]
           arrDw(i, 2) = MyRsT![Dw]
           MyRsT.MoveNext
       Next
       MyRsT.Close
       
    Set MyRsT = New Recordset                                    ' T_bm 表
    StrSQL = "Select Dh,Count(*) As Rn" & _
             "  From " & StrT5 & _
             " Where Gh='" & strGh & "' And Ph='" & strPh & "'" & _
             " Group By Dh Order By Dh"
    MyRsT.Open StrSQL, cnnTce, adOpenKeyset, adLockOptimistic
          If MyRsT.RecordCount <> bytDs Then
             MsgBox "  ??? !!!  ", 48, "  Error"
             Exit Sub
          End If
       bytDs = MyRsT.RecordCount                                 ' 隊數
       For i = 1 To bytDs
           arrDw(i, 3) = MyRsT![Rn]                              ' 每隊人數
           MyRsT.MoveNext
       Next
       MyRsT.Close
    strTj1 = IIf(BlnGf = True, "And Gh='" & strGh & "'", "")

    Set MyRs3 = New Recordset                                    ' T_bm 表
    StrSQL = "SELECT a.Yh,a.Dh,b.Hm,b.Ym " & _
             "  FROM T_bm a,T_md b,T_dw c " & _
             " WHERE a.Dh=b.Dh And a.Dh=c.Dh " & _
             "   And a.Gh ='" & strGh & "' And a.Ph ='" & strPh & "'" & _
             " Order By c.Xh,a.Dh,a.Yh"        ' ?????
    StrSQL = "Select Distinct " & StrT4 & ".Xh," & StrT4 & ".Yh," & StrT4 & ".Ym," & StrT4 & ".Hm," & StrT4 & ".Dh" & _
             "  From " & StrT4 & "," & StrT5 & _
             " Where " & StrT4 & ".Yh=" & StrT5 & ".Yh" & _
             "   And " & StrT5 & ".Gh='" & strGh & "' And " & StrT5 & ".Ph='" & strPh & "'" & _
             " Order By " & StrT4 & ".Dh," & StrT4 & ".Xh"
    MyRs3.Open StrSQL, cnnTce, adOpenKeyset, adLockOptimistic
       bytRs = MyRs3.RecordCount                                 ' bytRs: 人數
       If bytRs > 0 Then
          MyRs3.MoveLast
          N3 = MyRs3.RecordCount
          ReDim arrYm(bytRs, 5)
          MyRs3.MoveFirst
          For i = 1 To bytRs                                     ' arrYm() 運動員數組
              arrYm(i, 1) = MyRs3![yh]
              arrYm(i, 2) = MyRs3![Ym]
              arrYm(i, 3) = MyRs3![Hm]
              arrYm(i, 4) = MyRs3![Dh]
              arrYm(i, 5) = ""
              MyRs3.MoveNext
          Next
          MyRs3.Close
       Else
          MsgBox "  ???  ", 48, "  Error":  Exit Sub
       End If
    
    bytWm = 0                                                    ' bytWm: 默認位數
       For i = 1 To 100
           If 2 ^ i >= bytRs Then: bytWm = 2 ^ i: Exit For
       Next
    
    Text1 = " " & bytRs
    Text2 = " " & bytWm
    Label3 = ""
    Label10 = ""
    If bytRs = m Then

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美四级电影在线观看| 国产自产高清不卡| 国产精品视频观看| 欧美乱妇一区二区三区不卡视频| 黄一区二区三区| 日韩av电影免费观看高清完整版| 1024成人网色www| 亚洲国产电影在线观看| 欧美色偷偷大香| 91啪亚洲精品| 日本韩国精品一区二区在线观看| 波多野结衣欧美| 成人av动漫在线| 国产成人免费视| 国产精品资源网| 国产在线播放一区| 国产在线视频精品一区| 国内精品久久久久影院一蜜桃| 日韩高清欧美激情| 蜜臀久久久久久久| 久久99精品国产| 国产一区二区剧情av在线| 国产一区二区三区av电影| 国产高清在线观看免费不卡| 久久9热精品视频| 国产精品一区久久久久| 成人午夜视频福利| 99久久免费精品高清特色大片| 91捆绑美女网站| 欧美日韩一二区| 欧美大片免费久久精品三p| 欧美不卡123| 综合久久久久久久| 亚洲国产日韩av| 精品无人区卡一卡二卡三乱码免费卡 | 欧美日韩综合不卡| 欧美福利视频一区| 久久久久99精品国产片| 亚洲人成伊人成综合网小说| 亚洲国产成人精品视频| 亚洲一级片在线观看| 日本va欧美va瓶| 国产jizzjizz一区二区| 欧美在线一区二区| 欧美xxxxxxxx| 亚洲欧美日韩国产成人精品影院 | 日本中文字幕一区| 国产99久久久国产精品免费看| 97久久精品人人澡人人爽| 91精品婷婷国产综合久久竹菊| 国产欧美精品日韩区二区麻豆天美| 亚洲精品久久嫩草网站秘色| 奇米在线7777在线精品 | 欧美成va人片在线观看| 久久久久久夜精品精品免费| 亚洲毛片av在线| 久草中文综合在线| 91麻豆国产自产在线观看| 日韩精品一区二区三区视频在线观看 | 亚洲天堂成人网| 麻豆91精品视频| 欧美日韩黄色一区二区| 国产视频在线观看一区二区三区 | 91小视频在线观看| 欧美va亚洲va在线观看蝴蝶网| 亚洲日本电影在线| 黑人精品欧美一区二区蜜桃| 成人的网站免费观看| 日韩精品自拍偷拍| 亚洲综合一区在线| 91女人视频在线观看| 久久久久久久精| 美美哒免费高清在线观看视频一区二区 | 欧美日韩国产首页在线观看| 中文字幕 久热精品 视频在线 | 精品一区二区免费| 欧美日韩不卡一区| 18涩涩午夜精品.www| 韩国精品久久久| 日韩欧美成人午夜| 亚洲地区一二三色| 欧美性色黄大片| 一区二区三区四区蜜桃| av在线不卡电影| 久久精品综合网| 蜜臀久久久99精品久久久久久| 日韩美女视频一区二区在线观看| 蜜臀av在线播放一区二区三区 | 国产精品免费丝袜| 高清不卡一二三区| 欧美韩国日本一区| www.亚洲国产| 国产精品国产三级国产aⅴ中文| 老司机精品视频导航| 欧美成人a视频| 国产乱码精品一区二区三区av| 精品蜜桃在线看| 国产成人免费av在线| 国产精品剧情在线亚洲| 成人国产精品免费网站| 久久亚洲二区三区| 国产精品一区二区不卡| 久久久久久久久久久黄色| 国产精品99久久久久| 亚洲人妖av一区二区| 欧洲色大大久久| 亚洲成av人影院| 日韩欧美一区在线观看| 精品一区二区久久| 国产精品美女久久福利网站| 91视视频在线观看入口直接观看www | 精品福利一二区| 成人av网站在线| 午夜激情久久久| 精品国产髙清在线看国产毛片 | 欧洲激情一区二区| 麻豆精品在线看| 欧美国产日产图区| 欧美性受xxxx黑人xyx性爽| 青青草国产精品97视觉盛宴| 久久综合久久鬼色| 91视频精品在这里| 视频一区国产视频| 精品区一区二区| 91免费观看视频| 免费观看一级特黄欧美大片| 国产片一区二区三区| 欧美写真视频网站| 国产一区 二区| 亚洲va欧美va人人爽| 久久久久久久国产精品影院| 高清国产一区二区三区| 香蕉影视欧美成人| 久久久久久日产精品| 欧美三级电影网| 不卡的av在线| 国产一区二区在线看| 亚洲午夜av在线| 亚洲图片另类小说| 欧美电影免费观看高清完整版| 国产成人免费在线视频| 午夜精品一区二区三区电影天堂| 国产日本亚洲高清| 欧美不卡在线视频| 欧美视频精品在线| av一本久道久久综合久久鬼色| 一区二区三区高清不卡| 1区2区3区欧美| 亚洲国产成人在线| 国产嫩草影院久久久久| 欧美一区二区三区视频在线| 欧美视频在线不卡| 91丨九色丨尤物| 国产高清视频一区| 久久国产乱子精品免费女| 午夜精品福利久久久| 亚洲国产wwwccc36天堂| 亚洲天天做日日做天天谢日日欢| 久久久亚洲综合| 国产精品超碰97尤物18| 亚洲美腿欧美偷拍| 日韩中文字幕麻豆| 麻豆精品在线播放| 成人免费毛片高清视频| 91网站在线播放| 这里只有精品免费| 久久亚洲一区二区三区明星换脸| 国产性做久久久久久| 亚洲视频图片小说| 天堂蜜桃一区二区三区| 国产资源在线一区| 色婷婷av一区| 日韩色视频在线观看| 日本一区二区在线不卡| 一区二区三区在线免费播放| 丝袜亚洲精品中文字幕一区| 麻豆免费精品视频| a级精品国产片在线观看| 欧美日韩一区二区三区在线 | 国产剧情一区二区| 日本久久电影网| 日韩女优制服丝袜电影| 日韩毛片在线免费观看| 丝袜脚交一区二区| 成人久久18免费网站麻豆| 欧美亚洲动漫精品| 国产日韩影视精品| 丝袜美腿亚洲综合| 成人18精品视频| 欧美xxxxx裸体时装秀| 亚洲伦理在线精品| 狠狠狠色丁香婷婷综合激情| 一本一道综合狠狠老| 精品欧美一区二区在线观看| 成人免费一区二区三区视频 | 亚洲午夜久久久| 久久精品国产亚洲a| 欧美自拍偷拍午夜视频| 久久久精品2019中文字幕之3| 一区二区三区四区精品在线视频|