home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / tab100 / tabboard.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-09-06  |  14.8 KB  |  491 lines

  1. VERSION 2.00
  2. Begin Form Form1 
  3.    BackColor       =   &H0000C000&
  4.    Caption         =   "Tablenette"
  5.    ClientHeight    =   5400
  6.    ClientLeft      =   885
  7.    ClientTop       =   1770
  8.    ClientWidth     =   8655
  9.    Height          =   6090
  10.    Icon            =   TABBOARD.FRX:0000
  11.    Left            =   825
  12.    LinkMode        =   1  'Source
  13.    LinkTopic       =   "Form1"
  14.    ScaleHeight     =   5400
  15.    ScaleWidth      =   8655
  16.    Top             =   1140
  17.    Width           =   8775
  18.    Begin PictureBox Picture4 
  19.       AutoSize        =   -1  'True
  20.       BackColor       =   &H00FFFFFF&
  21.       BorderStyle     =   0  'None
  22.       DragMode        =   1  'Automatic
  23.       Height          =   1455
  24.       Index           =   6
  25.       Left            =   6120
  26.       ScaleHeight     =   1455
  27.       ScaleWidth      =   1095
  28.       TabIndex        =   16
  29.       Top             =   6000
  30.       Visible         =   0   'False
  31.       Width           =   1095
  32.    End
  33.    Begin PictureBox Picture4 
  34.       AutoSize        =   -1  'True
  35.       BackColor       =   &H00FFFFFF&
  36.       BorderStyle     =   0  'None
  37.       DragMode        =   1  'Automatic
  38.       Height          =   1455
  39.       Index           =   5
  40.       Left            =   4920
  41.       ScaleHeight     =   1455
  42.       ScaleWidth      =   1095
  43.       TabIndex        =   15
  44.       Top             =   6000
  45.       Visible         =   0   'False
  46.       Width           =   1095
  47.    End
  48.    Begin PictureBox Picture4 
  49.       AutoSize        =   -1  'True
  50.       BackColor       =   &H00FFFFFF&
  51.       BorderStyle     =   0  'None
  52.       DragMode        =   1  'Automatic
  53.       Height          =   1455
  54.       Index           =   4
  55.       Left            =   3720
  56.       ScaleHeight     =   1455
  57.       ScaleWidth      =   1095
  58.       TabIndex        =   14
  59.       Top             =   6000
  60.       Visible         =   0   'False
  61.       Width           =   1095
  62.    End
  63.    Begin PictureBox Picture4 
  64.       AutoSize        =   -1  'True
  65.       BackColor       =   &H00FFFFFF&
  66.       BorderStyle     =   0  'None
  67.       DragMode        =   1  'Automatic
  68.       Height          =   1455
  69.       Index           =   3
  70.       Left            =   2520
  71.       ScaleHeight     =   1455
  72.       ScaleWidth      =   1095
  73.       TabIndex        =   13
  74.       Top             =   6000
  75.       Visible         =   0   'False
  76.       Width           =   1095
  77.    End
  78.    Begin PictureBox Picture4 
  79.       AutoSize        =   -1  'True
  80.       BackColor       =   &H00FFFFFF&
  81.       BorderStyle     =   0  'None
  82.       DragMode        =   1  'Automatic
  83.       Height          =   1455
  84.       Index           =   2
  85.       Left            =   1320
  86.       ScaleHeight     =   1455
  87.       ScaleWidth      =   1095
  88.       TabIndex        =   12
  89.       Top             =   6000
  90.       Visible         =   0   'False
  91.       Width           =   1095
  92.    End
  93.    Begin PictureBox Picture4 
  94.       AutoSize        =   -1  'True
  95.       BackColor       =   &H00FFFFFF&
  96.       BorderStyle     =   0  'None
  97.       DragMode        =   1  'Automatic
  98.       Height          =   1455
  99.       Index           =   1
  100.       Left            =   120
  101.       ScaleHeight     =   1455
  102.       ScaleWidth      =   1095
  103.       TabIndex        =   11
  104.       Top             =   6000
  105.       Visible         =   0   'False
  106.       Width           =   1095
  107.    End
  108.    Begin PictureBox Picture3 
  109.       AutoSize        =   -1  'True
  110.       BackColor       =   &H00FFFFFF&
  111.       BorderStyle     =   0  'None
  112.       Height          =   1455
  113.       Index           =   1
  114.       Left            =   7440
  115.       ScaleHeight     =   1455
  116.       ScaleWidth      =   1095
  117.       TabIndex        =   10
  118.       Top             =   3840
  119.       Visible         =   0   'False
  120.       Width           =   1095
  121.    End
  122.    Begin PictureBox Picture2 
  123.       AutoSize        =   -1  'True
  124.       BackColor       =   &H00FFFFFF&
  125.       BorderStyle     =   0  'None
  126.       DragMode        =   1  'Automatic
  127.       Height          =   1455
  128.       Index           =   6
  129.       Left            =   6120
  130.       ScaleHeight     =   1455
  131.       ScaleWidth      =   1095
  132.       TabIndex        =   9
  133.       Top             =   3840
  134.       Visible         =   0   'False
  135.       Width           =   1095
  136.    End
  137.    Begin PictureBox Picture2 
  138.       AutoSize        =   -1  'True
  139.       BackColor       =   &H00FFFFFF&
  140.       BorderStyle     =   0  'None
  141.       DragMode        =   1  'Automatic
  142.       Height          =   1455
  143.       Index           =   5
  144.       Left            =   4920
  145.       ScaleHeight     =   1455
  146.       ScaleWidth      =   1095
  147.       TabIndex        =   8
  148.       Top             =   3840
  149.       Visible         =   0   'False
  150.       Width           =   1095
  151.    End
  152.    Begin PictureBox Picture2 
  153.       AutoSize        =   -1  'True
  154.       BackColor       =   &H00FFFFFF&
  155.       BorderStyle     =   0  'None
  156.       DragMode        =   1  'Automatic
  157.       Height          =   1455
  158.       Index           =   4
  159.       Left            =   3720
  160.       ScaleHeight     =   1455
  161.       ScaleWidth      =   1095
  162.       TabIndex        =   7
  163.       Top             =   3840
  164.       Visible         =   0   'False
  165.       Width           =   1095
  166.    End
  167.    Begin PictureBox Picture2 
  168.       AutoSize        =   -1  'True
  169.       BackColor       =   &H00FFFFFF&
  170.       BorderStyle     =   0  'None
  171.       DragMode        =   1  'Automatic
  172.       Height          =   1455
  173.       Index           =   3
  174.       Left            =   2520
  175.       ScaleHeight     =   1455
  176.       ScaleWidth      =   1095
  177.       TabIndex        =   6
  178.       Top             =   3840
  179.       Visible         =   0   'False
  180.       Width           =   1095
  181.    End
  182.    Begin PictureBox Picture2 
  183.       AutoSize        =   -1  'True
  184.       BackColor       =   &H00FFFFFF&
  185.       BorderStyle     =   0  'None
  186.       DragMode        =   1  'Automatic
  187.       Height          =   1455
  188.       Index           =   2
  189.       Left            =   1320
  190.       ScaleHeight     =   1455
  191.       ScaleWidth      =   1095
  192.       TabIndex        =   5
  193.       Top             =   3840
  194.       Visible         =   0   'False
  195.       Width           =   1095
  196.    End
  197.    Begin PictureBox Picture2 
  198.       AutoSize        =   -1  'True
  199.       BackColor       =   &H00FFFFFF&
  200.       BorderStyle     =   0  'None
  201.       DragMode        =   1  'Automatic
  202.       Height          =   1455
  203.       Index           =   1
  204.       Left            =   120
  205.       ScaleHeight     =   1455
  206.       ScaleWidth      =   1095
  207.       TabIndex        =   4
  208.       Top             =   3840
  209.       Visible         =   0   'False
  210.       Width           =   1095
  211.    End
  212.    Begin Timer Timer1 
  213.       Interval        =   1
  214.       Left            =   5040
  215.       Top             =   3240
  216.    End
  217.    Begin CommandButton ComputerMove 
  218.       Caption         =   "Computer Move"
  219.       Height          =   495
  220.       Left            =   3120
  221.       TabIndex        =   29
  222.       Top             =   3240
  223.       Visible         =   0   'False
  224.       Width           =   1815
  225.    End
  226.    Begin PictureBox Picture5 
  227.       AutoSize        =   -1  'True
  228.       BackColor       =   &H00FFFFFF&
  229.       BorderStyle     =   0  'None
  230.       Enabled         =   0   'False
  231.       Height          =   1455
  232.       Index           =   1
  233.       Left            =   6120
  234.       ScaleHeight     =   1455
  235.       ScaleWidth      =   1095
  236.       TabIndex        =   30
  237.       Top             =   1680
  238.       Visible         =   0   'False
  239.       Width           =   1095
  240.    End
  241.    Begin PictureBox Picture1 
  242.       AutoSize        =   -1  'True
  243.       BackColor       =   &H00FFFFFF&
  244.       BorderStyle     =   0  'None
  245.       Enabled         =   0   'False
  246.       Height          =   1455
  247.       Index           =   12
  248.       Left            =   4920
  249.       ScaleHeight     =   1455
  250.       ScaleWidth      =   1095
  251.       TabIndex        =   24
  252.       Top             =   1680
  253.       Visible         =   0   'False
  254.       Width           =   1095
  255.    End
  256.    Begin PictureBox Picture1 
  257.       AutoSize        =   -1  'True
  258.       BackColor       =   &H00FFFFFF&
  259.       BorderStyle     =   0  'None
  260.       Enabled         =   0   'False
  261.       Height          =   1455
  262.       Index           =   11
  263.       Left            =   3720
  264.       ScaleHeight     =   1455
  265.       ScaleWidth      =   1095
  266.       TabIndex        =   23
  267.       Top             =   1680
  268.       Visible         =   0   'False
  269.       Width           =   1095
  270.    End
  271.    Begin PictureBox Picture1 
  272.       AutoSize        =   -1  'True
  273.       BackColor       =   &H00FFFFFF&
  274.       BorderStyle     =   0  'None
  275.       Enabled         =   0   'False
  276.       Height          =   1455
  277.       Index           =   10
  278.       Left            =   2520
  279.       ScaleHeight     =   1455
  280.       ScaleWidth      =   1095
  281.       TabIndex        =   22
  282.       Top             =   1680
  283.       Visible         =   0   'False
  284.       Width           =   1095
  285.    End
  286.    Begin PictureBox Picture1 
  287.       AutoSize        =   -1  'True
  288.       BackColor       =   &H00FFFFFF&
  289.       BorderStyle     =   0  'None
  290.       Enabled         =   0   'False
  291.       Height          =   1455
  292.       Index           =   9
  293.       Left            =   1320
  294.       ScaleHeight     =   1455
  295.       ScaleWidth      =   1095
  296.       TabIndex        =   21
  297.       Top             =   1680
  298.       Visible         =   0   'False
  299.       Width           =   1095
  300.    End
  301.    Begin PictureBox Picture1 
  302.       AutoSize        =   -1  'True
  303.       BackColor       =   &H00FFFFFF&
  304.       BorderStyle     =   0  'None
  305.       Enabled         =   0   'False
  306.       Height          =   1455
  307.       Index           =   8
  308.       Left            =   120
  309.       ScaleHeight     =   1455
  310.       ScaleWidth      =   1095
  311.       TabIndex        =   20
  312.       Top             =   1680
  313.       Visible         =   0   'False
  314.       Width           =   1095
  315.    End
  316.    Begin PictureBox Picture1 
  317.       AutoSize        =   -1  'True
  318.       BackColor       =   &H00FFFFFF&
  319.       BorderStyle     =   0  'None
  320.       Enabled         =   0   'False
  321.       Height          =   1455
  322.       Index           =   7
  323.       Left            =   7320
  324.       ScaleHeight     =   1455
  325.       ScaleWidth      =   1095
  326.       TabIndex        =   19
  327.       Top             =   120
  328.       Visible         =   0   'False
  329.       Width           =   1095
  330.    End
  331.    Begin PictureBox Picture1 
  332.       AutoSize        =   -1  'True
  333.       BackColor       =   &H00FFFFFF&
  334.       BorderStyle     =   0  'None
  335.       Enabled         =   0   'False
  336.       Height          =   1455
  337.       Index           =   6
  338.       Left            =   6120
  339.       ScaleHeight     =   1455
  340.       ScaleWidth      =   1095
  341.       TabIndex        =   18
  342.       Top             =   120
  343.       Visible         =   0   'False
  344.       Width           =   1095
  345.    End
  346.    Begin PictureBox Picture1 
  347.       AutoSize        =   -1  'True
  348.       BackColor       =   &H00FFFFFF&
  349.       BorderStyle     =   0  'None
  350.       Height          =   1455
  351.       Index           =   5
  352.       Left            =   4920
  353.       ScaleHeight     =   1455
  354.       ScaleWidth      =   1095
  355.       TabIndex        =   17
  356.       Top             =   120
  357.       Visible         =   0   'False
  358.       Width           =   1095
  359.    End
  360.    Begin PictureBox Picture1 
  361.       AutoSize        =   -1  'True
  362.       BackColor       =   &H00FFFFFF&
  363.       BorderStyle     =   0  'None
  364.       Height          =   1455
  365.       Index           =   4
  366.       Left            =   3720
  367.       ScaleHeight     =   1455
  368.       ScaleWidth      =   1095
  369.       TabIndex        =   3
  370.       Top             =   120
  371.       Visible         =   0   'False
  372.       Width           =   1095
  373.    End
  374.    Begin PictureBox Picture1 
  375.       AutoSize        =   -1  'True
  376.       BackColor       =   &H00FFFFFF&
  377.       BorderStyle     =   0  'None
  378.       Height          =   1455
  379.       Index           =   3
  380.       Left            =   2520
  381.       ScaleHeight     =   1455
  382.       ScaleWidth      =   1095
  383.       TabIndex        =   2
  384.       Top             =   120
  385.       Visible         =   0   'False
  386.       Width           =   1095
  387.    End
  388.    Begin PictureBox Picture1 
  389.       AutoSize        =   -1  'True
  390.       BackColor       =   &H00FFFFFF&
  391.       BorderStyle     =   0  'None
  392.       Height          =   1455
  393.       Index           =   2
  394.       Left            =   1320
  395.       ScaleHeight     =   1455
  396.       ScaleWidth      =   1095
  397.       TabIndex        =   1
  398.       Top             =   120
  399.       Visible         =   0   'False
  400.       Width           =   1095
  401.    End
  402.    Begin PictureBox Picture1 
  403.       AutoSize        =   -1  'True
  404.       BackColor       =   &H00FFFFFF&
  405.       BorderStyle     =   0  'None
  406.       Height          =   1455
  407.       Index           =   1
  408.       Left            =   120
  409.       ScaleHeight     =   1455
  410.       ScaleWidth      =   1095
  411.       TabIndex        =   0
  412.       Top             =   120
  413.       Visible         =   0   'False
  414.       Width           =   1095
  415.    End
  416.    Begin Label ComputerScore 
  417.       BackColor       =   &H0000FFFF&
  418.       BorderStyle     =   1  'Fixed Single
  419.       Height          =   255
  420.       Left            =   7200
  421.       TabIndex        =   28
  422.       Top             =   3360
  423.       Width           =   1335
  424.    End
  425.    Begin Label Label2 
  426.       BackColor       =   &H0000FFFF&
  427.       Caption         =   "Computer Score :"
  428.       Height          =   255
  429.       Left            =   5520
  430.       TabIndex        =   27
  431.       Top             =   3360
  432.       Width           =   1575
  433.    End
  434.    Begin Label PlayerScore 
  435.       BackColor       =   &H0000FFFF&
  436.       BorderStyle     =   1  'Fixed Single
  437.       Height          =   255
  438.       Left            =   1440
  439.       TabIndex        =   26
  440.       Top             =   3360
  441.       Width           =   1335
  442.    End
  443.    Begin Label Label1 
  444.       BackColor       =   &H0000FFFF&
  445.       Caption         =   "Player Score:"
  446.       Height          =   255
  447.       Left            =   120
  448.       TabIndex        =   25
  449.       Top             =   3360
  450.       Width           =   1215
  451.    End
  452.    Begin Menu File 
  453.       Caption         =   "&File"
  454.       Begin Menu FileNew 
  455.          Caption         =   "&New Game"
  456.          Shortcut        =   {F2}
  457.       End
  458.       Begin Menu FileExit 
  459.          Caption         =   "E&xit"
  460.       End
  461.    End
  462.    Begin Menu Help 
  463.       Caption         =   "Help"
  464.       Begin Menu HelpAbout 
  465.          Caption         =   "&About"
  466.       End
  467.    End
  468. Sub ComputerMove_Click ()
  469.     MakeComputerMove
  470. End Sub
  471. Sub FileExit_Click ()
  472.     End
  473. End Sub
  474. Sub FileNew_Click ()
  475.     NewGame
  476.     FirstDeal
  477. End Sub
  478. Sub HelpAbout_Click ()
  479.     AboutForm.Show MODAL
  480. End Sub
  481. Sub Picture1_DragDrop (Index As Integer, Source As Control, X As Single, Y As Single)
  482.     MakeMove Index, Source, X, Y
  483. End Sub
  484. Sub Timer1_Timer ()
  485.     LoadSuits
  486.     NewGame
  487.     FirstDeal
  488.     Timer1.Enabled = False
  489.     HelpAbout_Click
  490. End Sub
  491.