home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmInit
- BorderStyle = 3 'Fixed Dialog
- Caption = "Initialization"
- ClientHeight = 2904
- ClientLeft = 7776
- ClientTop = 240
- ClientWidth = 2652
- ControlBox = 0 'False
- Height = 3288
- Left = 7728
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MDIChild = -1 'True
- MinButton = 0 'False
- ScaleHeight = 2904
- ScaleWidth = 2652
- ShowInTaskbar = 0 'False
- Top = -96
- Width = 2748
- Begin VB.CommandButton pbAbort
- Caption = "Abort"
- Height = 372
- Left = 1440
- TabIndex = 8
- Top = 2040
- Width = 732
- End
- Begin VB.CommandButton pbOK
- Caption = "OK"
- Height = 372
- Left = 360
- TabIndex = 7
- Top = 2040
- Width = 732
- End
- Begin VB.CheckBox chkEuclidean
- Caption = "Euclidean space"
- Height = 192
- Left = 120
- TabIndex = 6
- Top = 1560
- Value = 1 'Checked
- Width = 1452
- End
- Begin VB.Frame Frame1
- Caption = "Number of Dimensions"
- Height = 732
- Left = 120
- TabIndex = 2
- Top = 600
- Width = 2292
- Begin VB.OptionButton optNumDimensions3
- Caption = "4"
- Height = 192
- Index = 2
- Left = 1560
- TabIndex = 5
- Top = 360
- Value = -1 'True
- Width = 372
- End
- Begin VB.OptionButton optNumDimensions2
- Caption = "3"
- Height = 192
- Index = 1
- Left = 960
- TabIndex = 4
- Top = 360
- Width = 492
- End
- Begin VB.OptionButton optNumDimensions1
- Caption = "2"
- Height = 192
- Index = 0
- Left = 360
- TabIndex = 3
- Top = 360
- Width = 492
- End
- End
- Begin VB.TextBox txtGameNumber
- Height = 288
- Left = 1440
- TabIndex = 1
- Text = "1"
- Top = 120
- Width = 972
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Caption = "Game number"
- Height = 252
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 1092
- End
- Attribute VB_Name = "frmInit"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Check1_Click()
- End Sub
- Private Sub chkEuclidean_Click()
- frmGame.bEuclidean = Not frmGame.bEuclidean
- End Sub
- Private Sub Form_Load()
- frmGame.nGame = 1
- frmGame.nDimensions = 4
- frmGame.bEuclidean = True
- End Sub
- Private Sub optNumDimensions1_Click(Index As Integer)
- frmGame.nDimensions = 2
- End Sub
- Private Sub optNumDimensions2_Click(Index As Integer)
- frmGame.nDimensions = 3
- End Sub
- Private Sub optNumDimensions3_Click(Index As Integer)
- frmGame.nDimensions = 4
- End Sub
- Private Sub pbAbort_Click()
- End
- End Sub
- Private Sub pbOK_Click()
- Dim bValue As Boolean
- frmInit.Visible = False
- frmGame.nGame = Val(txtGameNumber.Text)
- frmGame.Visible = True
- End Sub
-