VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{22D6F304-B0F6-11D0-94AB-0080C74C7E95}#1.0#0"; "msdxm.ocx"
Begin VB.Form Plyer1 
   AutoRedraw      =   -1  'True
   Caption         =   "Form1"
   ClientHeight    =   6375
   ClientLeft      =   2250
   ClientTop       =   1980
   ClientWidth     =   4470
   LinkTopic       =   "Form1"
   ScaleHeight     =   6375
   ScaleWidth      =   4470
   Begin VB.CommandButton Command1 
      Caption         =   "выход"
      Height          =   495
      Left            =   3360
      TabIndex        =   0
      Top             =   5760
      Width           =   855
   End
   Begin MSComDlg.CommonDialog Dlg1 
      Left            =   0
      Top             =   5880
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
      DialogTitle     =   "Открытие файла"
      InitDir         =   "E:\Video\Вид\Video\"
   End
   Begin MediaPlayerCtl.MediaPlayer MediaPlayer1 
      Height          =   3915
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   4425
      AudioStream     =   -1
      AutoSize        =   -1  'True
      AutoStart       =   0   'False
      AnimationAtStart=   -1  'True
      AllowScan       =   -1  'True
      AllowChangeDisplaySize=   -1  'True
      AutoRewind      =   -1  'True
      Balance         =   0
      BaseURL         =   ""
      BufferingTime   =   5
      CaptioningID    =   ""
      ClickToPlay     =   -1  'True
      CursorType      =   0
      CurrentPosition =   -1
      CurrentMarker   =   0
      DefaultFrame    =   ""
      DisplayBackColor=   0
      DisplayForeColor=   16777215
      DisplayMode     =   0
      DisplaySize     =   4
      Enabled         =   -1  'True
      EnableContextMenu=   -1  'True
      EnablePositionControls=   -1  'True
      EnableFullScreenControls=   0   'False
      EnableTracker   =   -1  'True
      Filename        =   ""
      InvokeURLs      =   -1  'True
      Language        =   -1
      Mute            =   0   'False
      PlayCount       =   1
      PreviewMode     =   0   'False
      Rate            =   1
      SAMILang        =   ""
      SAMIStyle       =   ""
      SAMIFileName    =   ""
      SelectionStart  =   -1
      SelectionEnd    =   -1
      SendOpenStateChangeEvents=   -1  'True
      SendWarningEvents=   -1  'True
      SendErrorEvents =   -1  'True
      SendKeyboardEvents=   0   'False
      SendMouseClickEvents=   0   'False
      SendMouseMoveEvents=   0   'False
      SendPlayStateChangeEvents=   -1  'True
      ShowCaptioning  =   0   'False
      ShowControls    =   -1  'True
      ShowAudioControls=   -1  'True
      ShowDisplay     =   0   'False
      ShowGotoBar     =   0   'False
      ShowPositionControls=   0   'False
      ShowStatusBar   =   -1  'True
      ShowTracker     =   -1  'True
      TransparentAtStart=   0   'False
      VideoBorderWidth=   0
      VideoBorderColor=   0
      VideoBorder3D   =   -1  'True
      Volume          =   -600
      WindowlessVideo =   0   'False
   End
   Begin VB.Menu file 
      Caption         =   "Файл"
      Index           =   0
      Begin VB.Menu fileOpen 
         Caption         =   "открыть"
      End
      Begin VB.Menu fileExit 
         Caption         =   "выход"
         Index           =   2
      End
   End
End
Attribute VB_Name = "Plyer1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()
Form1.Visible = True
Plyer1.Visible = False
End Sub

Private Sub fileExit_Click(Index As Integer)
Form1.Visible = True
Plyer1.Visible = False
End Sub

Private Sub fileOpen_Click()
Dlg1.ShowOpen
MediaPlayer1.Open Dlg1.FileName

End Sub

