📄 2.txt
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form fcon
BorderStyle = 1 'Fixed Single
Caption = "Form1"
ClientHeight = 3540
ClientLeft = 45
ClientTop = 330
ClientWidth = 5295
Icon = "worldcon.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3540
ScaleWidth = 5295
StartUpPosition = 2 '屏幕中心
Begin VB.Data Data4
Caption = "Data4"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 285
Left = 720
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 3240
Visible = 0 'False
Width = 1935
End
Begin MSFlexGridLib.MSFlexGrid ms0
Bindings = "worldcon.frx":030A
Height = 735
Left = 0
TabIndex = 15
Top = 1440
Visible = 0 'False
Width = 2175
_ExtentX = 3836
_ExtentY = 1296
_Version = 393216
Cols = 1
FixedCols = 0
End
Begin MSFlexGridLib.MSFlexGrid ms
Bindings = "worldcon.frx":031E
Height = 735
Left = 1080
TabIndex = 14
Top = 1440
Visible = 0 'False
Width = 1815
_ExtentX = 3201
_ExtentY = 1296
_Version = 393216
Rows = 1
Cols = 1
FixedRows = 0
FixedCols = 0
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 10
Left = 4560
Top = 0
End
Begin MSFlexGridLib.MSFlexGrid msf
Bindings = "worldcon.frx":0332
Height = 735
Left = 3480
TabIndex = 13
Top = 1440
Visible = 0 'False
Width = 1815
_ExtentX = 3201
_ExtentY = 1296
_Version = 393216
Rows = 1
Cols = 1
FixedRows = 0
FixedCols = 0
End
Begin VB.Frame Frame3
Caption = "3、数据处理"
Height = 1335
Left = 240
TabIndex = 6
Top = 1920
Width = 4815
Begin VB.CommandButton Command10
Caption = "第二阶段阵容"
Height = 375
Left = 3120
TabIndex = 12
Top = 720
Width = 1455
End
Begin VB.CommandButton Command9
Caption = "第二阶段战况"
Height = 375
Left = 1680
TabIndex = 11
Top = 720
Width = 1455
End
Begin VB.CommandButton Command8
Caption = "各小组赛战况"
Height = 375
Left = 240
TabIndex = 10
Top = 720
Width = 1455
End
Begin VB.CommandButton Command7
Caption = "入围球队输出"
Height = 375
Left = 3120
TabIndex = 9
Top = 360
Width = 1455
End
Begin VB.CommandButton Command6
Caption = "本届信息快报"
Height = 375
Left = 1680
TabIndex = 8
Top = 360
Width = 1455
End
Begin VB.CommandButton Command4
Caption = "八强竞猜游戏"
Height = 375
Left = 240
TabIndex = 7
Top = 360
Width = 1455
End
End
Begin VB.Frame Frame2
Caption = "2、赛况记录"
Height = 1455
Left = 2760
TabIndex = 3
Top = 240
Width = 2295
Begin VB.CommandButton Command5
Caption = "第二阶段战况录入"
Height = 375
Left = 240
TabIndex = 5
Top = 840
Width = 1815
End
Begin VB.CommandButton Command2
Caption = "八个小组战况录入"
Height = 375
Left = 240
TabIndex = 4
Top = 360
Width = 1815
End
End
Begin VB.Frame Frame1
Caption = "1、游戏规则"
Height = 1455
Left = 240
TabIndex = 0
Top = 240
Width = 2295
Begin VB.CommandButton Command1
Caption = "32支入围球队编排"
Height = 375
Left = 240
TabIndex = 2
Top = 360
Width = 1815
End
Begin VB.CommandButton Command3
Caption = "第二阶段对阵编排"
Height = 375
Left = 240
TabIndex = 1
Top = 840
Width = 1815
End
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 0
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 0
Visible = 0 'False
Width = 1815
End
Begin VB.Data Data2
Caption = "Data2"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 405
Left = 1800
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 0
Visible = 0 'False
Width = 1815
End
Begin VB.Data Data3
Caption = "Data3"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 3480
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 0
Visible = 0 'False
Width = 1695
End
End
Attribute VB_Name = "fcon"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Dir(wmdb) = "" Then
MsgBox Chr(13) + "找不到数据库文件: " + Chr(13) + Chr(13) + wmdb + " ", vbCritical
Exit Sub
End If
Me.Hide
fdui.Show
fdui.Timer1.Enabled = True
End Sub
Private Sub Command10_Click()
Dim no(1 To 8) As String
Dim d8(1 To 8) As String
Dim d16(1 To 16) As String
Dim fst As String
Dim tp As String
If Dir(wmdb) = "" Then
MsgBox Chr(13) + "找不到数据库文件: " + Chr(13) + Chr(13) + wmdb + " ", vbCritical
Exit Sub
End If
If jindu < 2 Then
MsgBox Chr(13) + "游戏规则尚未正确建立! ", vbCritical
Exit Sub
End If
Data4.DatabaseName = wmdb
Data4.RecordSource = "score2"
Data4.Refresh
On Error Resume Next
m = ""
'1
m = " ───────" + m
'2-冠军
If ms0.TextMatrix(16, 5) = "" Then
m = " 第①名" + Chr(13) + Chr(10) + m
Else
m = " ①、" + Space(10 - strlens(ms0.TextMatrix(16, 5))) + ms0.TextMatrix(16, 5) + Chr(13) + Chr(10) + m
End If
'3
m = " ───── ───┴─── ─────" + Chr(13) + Chr(10) + m
'4
tp = " "
If ms0.TextMatrix(13, 5) = "" Then
tp = tp + " "
Else
tp = tp + Space((10 - strlens(ms0.TextMatrix(13, 5))) \ 2) + ms0.TextMatrix(13, 5)
End If
tp = tp + Space(20 - strlens(tp)) + "├────64────┤"
If ms0.TextMatrix(14, 5) = "" Then
tp = tp + " "
Else
tp = tp + Space((10 - strlens(ms0.TextMatrix(14, 5))) \ 2) + ms0.TextMatrix(14, 5)
End If
m = tp + Chr(13) + Chr(10) + m
'5
m = " ──┴── ───┬─── ──┴──" + Chr(13) + Chr(10) + m
'6
tp = " │ "
If ms0.TextMatrix(16, 6) = "" Then
tp = tp + " 第②名"
Else
tp = tp + "②、" + Space(10 - strlens(ms0.TextMatrix(16, 6))) + ms0.TextMatrix(16, 6)
End If
tp = tp + Space(36 - strlens(tp)) + " │"
m = tp + Chr(13) + Chr(10) + m
'7
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -