VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H80000001&
   Caption         =   "Перевод чисел"
   ClientHeight    =   2052
   ClientLeft      =   3564
   ClientTop       =   3192
   ClientWidth     =   5232
   LinkTopic       =   "Form1"
   ScaleHeight     =   2052
   ScaleWidth      =   5232
   Begin VB.CommandButton cmdDecHex 
      Caption         =   "Dec-Hex"
      Height          =   375
      Left            =   3720
      TabIndex        =   9
      Top             =   960
      Width           =   975
   End
   Begin VB.CommandButton cmdHexDec 
      Caption         =   "Hex-Dec"
      Height          =   375
      Left            =   360
      TabIndex        =   8
      Top             =   1440
      Width           =   975
   End
   Begin VB.CommandButton cmdOctDec 
      Caption         =   "Oct-Dec"
      Height          =   375
      Left            =   360
      TabIndex        =   6
      Top             =   960
      Width           =   975
   End
   Begin VB.CommandButton cmdDecOct 
      Caption         =   "Dec-Oct"
      Height          =   375
      Left            =   1920
      TabIndex        =   3
      Top             =   960
      Width           =   975
   End
   Begin VB.TextBox txtDec 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   480
      TabIndex        =   2
      Top             =   480
      Width           =   735
   End
   Begin VB.TextBox txtHex 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   3840
      TabIndex        =   1
      Top             =   480
      Width           =   735
   End
   Begin VB.TextBox txtOct 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   2040
      TabIndex        =   0
      Top             =   480
      Width           =   735
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFC0&
      Caption         =   "Шестнадцатеричная"
      Height          =   252
      Left            =   3360
      TabIndex        =   7
      Top             =   120
      Width           =   1692
   End
   Begin VB.Label lblOct 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFC0&
      Caption         =   "Восьмеричная"
      Height          =   252
      Left            =   1800
      TabIndex        =   5
      Top             =   120
      Width           =   1332
   End
   Begin VB.Label lblDec 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFC0&
      Caption         =   "Десятичная"
      Height          =   252
      Left            =   120
      TabIndex        =   4
      Top             =   120
      Width           =   1332
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Sub cmdDecOct_Click()
txtOct.Text = Oct(Val(txtDec.Text))
End Sub
Sub cmdDecHex_Click()
txtHex.Text = Hex(Val(txtDec.Text))
End Sub
Sub cmdOctDec_Click()
txtDec.Text = Val("&O" + txtOct.Text)
End Sub
Sub cmdHexDec_Click()
txtDec.Text = Val("&H" + txtHex.Text)
End Sub
