⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 StoneChess棋牌类游戏开发控件,供初学者研究使用
💻 FRM
字号:
VERSION 5.00
Object = "{F51FD686-FFEF-4FBE-8473-2334DC8AEF12}#1.0#0"; "StoneChess.ocx"
Begin VB.Form frmIGO 
   Caption         =   "Form1"
   ClientHeight    =   7020
   ClientLeft      =   1170
   ClientTop       =   1110
   ClientWidth     =   8655
   LinkTopic       =   "Form1"
   ScaleHeight     =   7020
   ScaleWidth      =   8655
   Begin StoneChess.Igo Igo1 
      Height          =   7020
      Left            =   0
      TabIndex        =   2
      Top             =   0
      Width           =   7020
      _ExtentX        =   12383
      _ExtentY        =   12383
      BackColor       =   8438015
      Register        =   -1  'True
   End
   Begin VB.OptionButton Option1 
      Caption         =   "白方下"
      Height          =   375
      Index           =   1
      Left            =   7080
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   6480
      Width           =   1515
   End
   Begin VB.OptionButton Option1 
      Caption         =   "黑方下"
      Height          =   375
      Index           =   0
      Left            =   7080
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   6060
      Width           =   1515
   End
End
Attribute VB_Name = "frmIGO"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Card1_MouseDown(ByVal cIndex As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)

End Sub

Private Sub Igo1_ClickNode(nRow As Long, nCol As Long)

    Igo1.Node(nRow, nCol) = IIf(Option1(0).Value = True, igoBlack, igoWhite)
    Igo1.FlashChessman nRow, nCol, 3, 50
    
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -