Пример #1
40
 public MP3Player(string url , AxWMPLib.AxWindowsMediaPlayer p)
 {
     _player = p;
     _fileUrl = url;
     ThreadStart ts = new ThreadStart(GetMp3File);
     _httpThread = new Thread(ts);
     _httpThread.Start();
     _checkTimer = new DispatcherTimer();
     _checkTimer.Interval = new TimeSpan(0,0,0,0,20);
     _checkTimer.Tick += _checkTimer_Tick;
     _checkTimer.Start();
 }
Пример #2
30
        public MediaPlayer(Liedje liedje, string filename)
        {
            InitializeComponent();

            DoNotTriggerUpdateEvent = true;
            selectionPanel.Size = new Size(this.Size.Width, this.Size.Height);
            fadeinPanel.Size = new Size(0, this.Size.Height);
            fadeoutPanel.Size = new Size(0, this.Size.Height);
            currentPanel.Size = new Size(3, this.Size.Height);

            this.filename = filename;

            if (filename != "")
            {
                lengte = liedje.Lengte;

                wmp = new AxWMPLib.AxWindowsMediaPlayer();
                wmp.CreateControl();
                wmp.URL = filename;
                wmp.PlayStateChange += wmp_PlayStateChange;
                wmp.Ctlcontrols.stop();
                ChangeButtonText("Play");

                label3.Text = liedje.Artiest + " / " + liedje.Titel;
                label4.Text = "0.00 / 0.00";

                numericUpDown1.Maximum = (decimal)lengte;
                numericUpDown2.Maximum = (decimal)lengte;
                numericUpDown3.Maximum = (decimal)lengte;
                numericUpDown3.Value = (decimal)lengte;

                UpdateSelection();
            }
        }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCBaseControl));
     this.player = new AxWMPLib.AxWindowsMediaPlayer();
     ((System.ComponentModel.ISupportInitialize)(this.player)).BeginInit();
     this.SuspendLayout();
     //
     // player
     //
     this.player.Enabled  = true;
     this.player.Location = new System.Drawing.Point(0, 0);
     this.player.Name     = "player";
     this.player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("player.OcxState")));
     this.player.Size     = new System.Drawing.Size(75, 23);
     this.player.TabIndex = 0;
     this.player.Visible  = false;
     //
     // UCBaseControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.player);
     this.Cursor = System.Windows.Forms.Cursors.PanWest;
     this.Name   = "UCBaseControl";
     this.Size   = new System.Drawing.Size(163, 25);
     ((System.ComponentModel.ISupportInitialize)(this.player)).EndInit();
     this.ResumeLayout(false);
 }
Пример #4
0
        public MediaPlayer(Liedje liedje, string filename)
        {
            InitializeComponent();

            DoNotTriggerUpdateEvent = true;
            selectionPanel.Size     = new Size(this.Size.Width, this.Size.Height);
            fadeinPanel.Size        = new Size(0, this.Size.Height);
            fadeoutPanel.Size       = new Size(0, this.Size.Height);
            currentPanel.Size       = new Size(3, this.Size.Height);

            this.filename = filename;

            if (filename != "")
            {
                lengte = liedje.Lengte;

                wmp = new AxWMPLib.AxWindowsMediaPlayer();
                wmp.CreateControl();
                wmp.URL              = filename;
                wmp.PlayStateChange += wmp_PlayStateChange;
                wmp.Ctlcontrols.stop();
                ChangeButtonText("Play");

                label3.Text = liedje.Artiest + " / " + liedje.Titel;
                label4.Text = "0.00 / 0.00";

                numericUpDown1.Maximum = (decimal)lengte;
                numericUpDown2.Maximum = (decimal)lengte;
                numericUpDown3.Maximum = (decimal)lengte;
                numericUpDown3.Value   = (decimal)lengte;

                UpdateSelection();
            }
        }
Пример #5
0
        /**
         * Initialization and create picture_box, media_player and music_player.
         *
         * picture_box for show the picture from the LINE Bot.
         * media_player for playing wedding mv.
         * music_player for playing backgrond music.
         */
        public Form1()
        {
            // initialization
            InitializeComponent();
            this.DoubleBuffered = true;

            path = System.IO.Directory.GetCurrentDirectory();

            // add defult picture
            local_img.Add(path + @"\bnb\2jXNJAo.jpg");
            local_img.Add(path + @"\bnb\zVgqz9n.jpg");

            picture_box          = new System.Windows.Forms.PictureBox();
            picture_box.Location = new Point(0, label1.Height + 10);
            picture_box.Size     = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height - (label1.Height + 50));
            picture_box.SizeMode = PictureBoxSizeMode.Zoom;
            Controls.Add(picture_box);

            media_player               = new AxWMPLib.AxWindowsMediaPlayer();
            media_player.Location      = new Point(0, label1.Height + 10);
            media_player.Size          = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height - 25);
            media_player.KeyDownEvent += axWindowsMediaPlayer_KeyDownEvent;
            Controls.Add(media_player);
            media_player.Visible = false;

            music_player               = new AxWMPLib.AxWindowsMediaPlayer();
            music_player.Location      = new Point(-Screen.PrimaryScreen.Bounds.Width, -Screen.PrimaryScreen.Bounds.Height);
            music_player.KeyDownEvent += axWindowsMediaPlayer_KeyDownEvent;
            music_player.MediaChange  += axWindowsMediaPlayer_MediaChange;
            Controls.Add(music_player);

            this.ShowInTaskbar = false;
        }
Пример #6
0
        private void müzikVideoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd_ac = new OpenFileDialog();

            ofd_ac.Title = "Müzik/Video Dosyası Aç";
            if (ofd_ac.ShowDialog() == DialogResult.OK)
            {
                try
                {
                    AxWMPLib.AxWindowsMediaPlayer ax_ac = new AxWMPLib.AxWindowsMediaPlayer();
                    this.Controls.Add(ax_ac);
                    ax_ac.BringToFront();
                    ax_ac.URL = ofd_ac.FileName;
                    ax_ac.Ctlcontrols.play();
                    ax_ac.Dock = DockStyle.Fill;
                    (this.Parent as Telerik.WinControls.UI.RadPageViewPage).ToolTipText = ofd_ac.FileName;

                    if (ofd_ac.FileName.Length >= 20)
                    {
                        (this.Parent as Control).Text = ofd_ac.FileName.Substring(0, 20) + "...";
                    }
                    else
                    {
                        (this.Parent as Control).Text = ofd_ac.FileName;
                    }
                    (this.Parent.Parent as Telerik.WinControls.UI.RadPageView).ControlRemoved += new ControlEventHandler((sender2, e2) => Usr_sayfa_ControlRemoved(sender2, e2, ax_ac, (this.Parent as Telerik.WinControls.UI.RadPageViewPage)));
                }
                catch
                {
                    MessageBox.Show("Bu Dosya Türü Desteklenmiyor.", "Uyarı", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
        }
Пример #7
0
 private void DisposeWave()
 {
     if (waveOut != null)
     {
         if (waveOut.PlaybackState == PlaybackState.Playing)
         {
             waveOut.Stop();
         }
         waveOut.Dispose();
         waveOut = null;
     }
     if (waveReader != null)
     {
         waveReader.Flush();
         waveReader.Dispose();
         waveReader = null;
     }
     if (waveWriter != null)
     {
         waveWriter.Flush();
         waveWriter.Dispose();
         waveWriter = null;
     }
     if (axWindowsMediaPlayer1.IsDisposed != true)
     {
         axWindowsMediaPlayer1.URL = null;
         axWindowsMediaPlayer1.currentPlaylist.clear();
         //axWindowsMediaPlayer1.Dispose();
         //axWindowsMediaPlayer1.Visible = true;
         AxWMPLib.AxWindowsMediaPlayer myMediaPlayer = new AxWMPLib.AxWindowsMediaPlayer();
         this.Controls.Add(myMediaPlayer);
     }
 }
Пример #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     AxWMPLib.AxWindowsMediaPlayer axWindowsMediaPlayer1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormHDSD));
     this.lblTittleHuongDan = new System.Windows.Forms.Label();
     this.lblHuongDan       = new System.Windows.Forms.Label();
     axWindowsMediaPlayer1  = new AxWMPLib.AxWindowsMediaPlayer();
     ((System.ComponentModel.ISupportInitialize)(axWindowsMediaPlayer1)).BeginInit();
     this.SuspendLayout();
     //
     // axWindowsMediaPlayer1
     //
     axWindowsMediaPlayer1.Enabled     = true;
     axWindowsMediaPlayer1.Location    = new System.Drawing.Point(12, 34);
     axWindowsMediaPlayer1.MaximumSize = new System.Drawing.Size(500, 430);
     axWindowsMediaPlayer1.Name        = "axWindowsMediaPlayer1";
     axWindowsMediaPlayer1.OcxState    = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
     axWindowsMediaPlayer1.Size        = new System.Drawing.Size(486, 383);
     axWindowsMediaPlayer1.TabIndex    = 0;
     //
     // lblTittleHuongDan
     //
     this.lblTittleHuongDan.AutoSize  = true;
     this.lblTittleHuongDan.Font      = new System.Drawing.Font("Times New Roman", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTittleHuongDan.ForeColor = System.Drawing.Color.Red;
     this.lblTittleHuongDan.Location  = new System.Drawing.Point(516, 71);
     this.lblTittleHuongDan.Name      = "lblTittleHuongDan";
     this.lblTittleHuongDan.Size      = new System.Drawing.Size(243, 31);
     this.lblTittleHuongDan.TabIndex  = 1;
     this.lblTittleHuongDan.Text      = "Hướng Dẫn Sử Dụng";
     //
     // lblHuongDan
     //
     this.lblHuongDan.AutoSize = true;
     this.lblHuongDan.Font     = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblHuongDan.Location = new System.Drawing.Point(518, 123);
     this.lblHuongDan.Name     = "lblHuongDan";
     this.lblHuongDan.Size     = new System.Drawing.Size(240, 126);
     this.lblHuongDan.TabIndex = 2;
     this.lblHuongDan.Text     = "Xin mời xem video hướng dẫn \r\nsử dụng.\r\n\r\nMọi thắc mắc xin liên hệ : \r\nEmail : pn" +
                                 "[email protected]\r\nPhone: 0972670046\r\n";
     //
     // FormHDSD
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.SystemColors.ActiveCaption;
     this.ClientSize          = new System.Drawing.Size(758, 456);
     this.ControlBox          = false;
     this.Controls.Add(this.lblHuongDan);
     this.Controls.Add(this.lblTittleHuongDan);
     this.Controls.Add(axWindowsMediaPlayer1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Name            = "FormHDSD";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Hướng Dẫn Sử Dụng";
     ((System.ComponentModel.ISupportInitialize)(axWindowsMediaPlayer1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #9
0
        public FlowLayoutPanel Render(int maxWidth)
        {
            FlowLayoutPanel pnl = new FlowLayoutPanel();

            pnl.FlowDirection = FlowDirection.TopDown;
            pnl.AutoSize      = true;
            Label title = new Label
            {
                Text     = Title,
                Font     = new System.Drawing.Font("Times New Roman", 20, System.Drawing.FontStyle.Bold),
                AutoSize = true
            };

            pnl.Controls.Add(title);

            var player = new AxWMPLib.AxWindowsMediaPlayer();

            ((System.ComponentModel.ISupportInitialize)(player)).BeginInit();
            player.Width   = 300;
            player.Height  = 300;
            player.Enabled = true;
            pnl.Controls.Add(player);
            player.Margin = new Padding(250, 3, 3, 3);
            ((System.ComponentModel.ISupportInitialize)(player)).EndInit();

            player.URL = Url;
            return(pnl);
        }
Пример #10
0
 private void Usr_sayfa_ControlRemoved(object sender, ControlEventArgs e, AxWMPLib.AxWindowsMediaPlayer media, Telerik.WinControls.UI.RadPageViewPage page)
 {
     if (e.Control.Handle == page.Handle)
     {
         media.Dispose();
     }
 }
Пример #11
0
 private void Form1_Load(object sender, EventArgs e)
 {
     // 動画プレイヤーの設定
     wplayer = axWindowsMediaPlayer1;
     wplayer.settings.autoStart = false; // 自動再生無効
     wplayer.Ctlenabled         = false; // ダブルクリックによるフルスクリーン出力を無効化
 }
Пример #12
0
        private void fullscreen_mediaplayer_Load(object sender, EventArgs e)
        {
            Form1 instancia = (Form1)Application.OpenForms["Form1"];
            var   pantalla  = Screen.FromControl(instancia);

            locviejaa          = instancia.Location;
            instancia.Location = Screen.AllScreens.First(a => a.DeviceName == pantalla.DeviceName).WorkingArea.Location;
            this.Location      = Screen.AllScreens.First(a => a.DeviceName == pantalla.DeviceName).WorkingArea.Location;
            cliente.Client.Connect(ipadre, 1024);

            foreach (Control c in panel1.Controls)
            {
                panel1.Controls.Remove(c);
            }

            AxWMPLib.AxWindowsMediaPlayer ctr = instancia.gettearinstancia().axWindowsMediaPlayer1;
            tamanoviejo  = ctr.Size;
            locvieja     = ctr.Location;
            ctr.Size     = panel1.Size;
            ctr.Location = new Point(0, 0);

            this.panel1.Controls.Add(ctr);
            //   this.Location = new Point(0, 0);
            this.Size = new Size(pantalla.Bounds.Width, pantalla.Bounds.Height);
        }
Пример #13
0
        public ChannelAutoRetry(AxWMPLib.AxWindowsMediaPlayer wmp)
        {
            // 5秒間パケット受信がなければリトライ
            int   packet = 0;
            Timer timer  = new Timer();

            timer.Interval = 5000;
            timer.Tick    += (sender, e) =>
            {
                if (packet == wmp.network.receivedPackets)
                {
                    Logger.Instance.Info("5秒間パケット受信がないため、再接続します。");
                    Retry(wmp);
                }
                packet = wmp.network.receivedPackets;
            };
            timer.Start();

            // 停止されたらリトライ
            wmp.PlayStateChange += (sender, e) =>
            {
                // 停止
                if (e.newState == (int)WMPLib.WMPPlayState.wmppsStopped)
                {
                    Logger.Instance.Info("動画が停止状態のため、再接続します。");
                    Retry(wmp);
                }
            };
        }
Пример #14
0
        private void StartVideo_Click(object sender, EventArgs e)
        {
            if (JeZakliknuetVideo())
            {
                if (z == null)
                {
                    z = new Zobrazovac();
                }
                AxWMPLib.AxWindowsMediaPlayer prehravac = z.WMP();
                WMPLib.IWMPPlaylist           playlist  = prehravac.playlistCollection.newPlaylist("myplaylist");
                WMPLib.IWMPMedia media;
                for (int i = 0; i < pocetVidei; i++)
                {
                    if (cLBZoznamReklam.GetItemCheckState(i) == CheckState.Checked)
                    {
                        string s = "..\\..\\Reklamy\\" + cLBZoznamReklam.Items[i].ToString();
                        //media = prehravac.newMedia(s);
                        media = prehravac.newMedia(cLBZoznamReklam.Items[i].ToString());
                        playlist.appendItem(media);
                    }
                }

                z.Show();
                prehravac.currentPlaylist = playlist;
                prehravac.Ctlcontrols.play();
                pauseVideo.Text        = "Pause";
                prehravac.stretchToFit = true;
            }
            else
            {
                MessageBox.Show("Nevybral si žiadne video");
            }
        }
Пример #15
0
 public CtrlSong()
 {
     songs     = new List <Song>();
     IndexSong = 0;
     wmPlayer  = new AxWMPLib.AxWindowsMediaPlayer();
     wmPlayer.CreateControl();
 }
        /* Player
         * Description: Base constructor. Invokes the window and does nothing else
         */
        public Player()
        {
            InitializeComponent();

            // Get the AxHost wrapper from the WindowsFormsHost control.
            axWmp = formsHost.Child as AxWMPLib.AxWindowsMediaPlayer;
        }
Пример #17
0
 public Agregar_Canción(AxWMPLib.AxWindowsMediaPlayer _mediaPlayer, List <Playlist> _music)
 {
     InitializeComponent();
     mediaPlayer = _mediaPlayer;
     Music       = _music;
     showPlaylists();
 }
Пример #18
0
 private void StopEvent(AxWMPLib.AxWindowsMediaPlayer WMP)
 {
     if (WMP.playState == WMPLib.WMPPlayState.wmppsPlaying)
     {
         WMP.Ctlcontrols.stop();
     }
 }
Пример #19
0
 public static void Close()
 {
     if (axMediaplayer == null)
     {
         return;
     }
     curcount = 0;
     axMediaplayer.Ctlcontrols.stop();
     axMediaplayer.close();
     //axMediaplayer.Dispose();
     axMediaplayer = null;
     if (null != playthread)
     {
         try
         {
             if (playthread.IsAlive)
             {
                 playthread.Abort();
             }
         }
         catch (Exception ex)
         {
             Console.WriteLine(ex.ToString());
         }
         finally
         {
             playthread = null;
         }
     }
 }
Пример #20
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MovieControl"/> class.
        /// </summary>
        public MovieControl()
        {
            // set the model to page model
            this.DataContext = PageModel.GetInstance;

            // initialise the movie model
            new MovieControlModel(Dispatcher, this.ComponentName);


            // bind events
            MovieControlModel.GetInstance.FileCacheManager.CacheLoadingStarted  += FileCacheManager_CacheLoadingStarted;
            MovieControlModel.GetInstance.FileCacheManager.CacheLoadingComplete += FileCacheManager_CacheLoadingComplete;

            InitializeComponent();


            // Create the interop host control.
            System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
            host.Focusable = false;

            // Create the ActiveX control.
            AxWMPLib.AxWindowsMediaPlayer axWmp = new AxWMPLib.AxWindowsMediaPlayer();

            // Assign the ActiveX control as the host control's child.
            host.Child = axWmp;

            // Add the interop host control to the Grid
            // control's collection of child controls.
            this.mediaPlayerGrid.Children.Add(host);

            // initialise media models
            new MediaPlayerModel(axWmp);
        }
Пример #21
0
        CPitchMeter mcPitchMeter;                           // The Pitch Meter


        // Class constructor
        public CShootingGallery(AxWMPLib.AxWindowsMediaPlayer cWindowsMediaPlayer)
        {
            try
            {
                // Pre-load images
                mcTargetFacingLeftImage  = Image.FromFile("../../Data/Images/ShootingGalleryDuckFacingLeft.png");
                mcTargetFacingRightImage = Image.FromFile("../../Data/Images/ShootingGalleryDuckFacingRight.png");

                // Pre-load sounds
            }
            catch (Exception e)
            {
                MessageBox.Show(e.ToString(), "Exception caught");
            }

            // Seed the Random number generator
            mcRandom = new Random(Environment.TickCount);

            // Save a handle to the Windows Media Player
            mcWindowsMediaPlayer = cWindowsMediaPlayer;

            // Set the Transparent Color of the Images
            mcTargetImageAttributes = new ImageAttributes();
            mcTargetImageAttributes.SetColorKey(Color.FromArgb(255, 0, 255), Color.FromArgb(255, 0, 255));

            // Setup the Fonts
            mcFontText             = new Font("Arial", 20, FontStyle.Regular);
            mcFontPause            = new Font("Arial", 120, FontStyle.Regular);
            mcFontChooseMusicTitle = new Font("Arial", 40, FontStyle.Bold);

            // Set the Row Y coordinates
            miTOP_ROW_Y    = 75;
            miMIDDLE_ROW_Y = 210;
            miBOTTOM_ROW_Y = 350;

            // Set the Shoot Target Area Range
            miSHOOT_TARGET_AREA_LEFT   = 375;
            miSHOOT_TARGET_AREA_RIGHT  = 426;
            miSHOOT_TARGET_AREA_TOP    = 75;
            miSHOOT_TARGET_AREA_BOTTOM = 450;

            // Specify the Center X pixel of the screen
            miCENTER_OF_SCREEN_X = 398;

            // Initialize the Pitch Meter
            mcPitchMeter = new CPitchMeter(miSHOOT_TARGET_AREA_LEFT + 22, miSHOOT_TARGET_AREA_TOP, 5, (miSHOOT_TARGET_AREA_BOTTOM - miSHOOT_TARGET_AREA_TOP));
            mcPitchMeter.ShowThirdsMarkers(true);

            // Set the Mario Music parameters
            mcSIMPLE_MUSIC     = new CMusic(EMusic.Simple, 1, 52, 55);
            mcDANS_MARIO_MUSIC = new CMusic(EMusic.DansMario, 1, 76, 78);
            mcMARIO_MUSIC      = new CMusic(EMusic.Mario, 1, 54, 59);

            // Set the Players Score to zero
            miScore = 0;

            // Set the other variables default values
            Reset();
        }
Пример #22
0
        public static void Play(AxWMPLib.AxWindowsMediaPlayer axplayer, string AudioAddress, int PlayTime)
        {
            try
            {
                axMediaplayer = axplayer;
                curwait       = 0;
                axplayer.URL  = AudioAddress;
                axplayer.settings.autoStart = true;
                axplayer.settings.setMode("loop", true);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            try
            {
                while (axplayer.playState != WMPLib.WMPPlayState.wmppsPlaying && curwait < waittime)
                {
                    System.Threading.Thread.Sleep(10);
                    System.Windows.Forms.Application.DoEvents();
                    curwait += 10;
                }
                if (axplayer.playState != WMPLib.WMPPlayState.wmppsPlaying)
                {
                    Close();
                }
            }catch (Exception ex)
            {
                FileOperation.WriteLog("播放音频文件出错!错误原因:" + ex.ToString());
            }
            double totaltime = axplayer.currentMedia.duration;

            if (PlayTime < totaltime)
            {
                playthread = new Thread((object param) =>
                {
                    curtime = axplayer.Ctlcontrols.currentPosition;
                    while (curtime < PlayTime)
                    {
                        Thread.Sleep(10);
                        if (null == axplayer)
                        {
                            break;
                        }
                        curtime = axplayer.Ctlcontrols.currentPosition;
                    }
                    Close();
                });
                playthread.Start();
            }
            else
            {
                //此时播放的时间要大于音乐的总时间
                //判断需要播放的次数
                playtotalcount         = (UInt32)(PlayTime / totaltime);
                offtime                = PlayTime % totaltime;
                axplayer.StatusChange += axplayer_StatusChange;
            }
        }
Пример #23
0
        public SampleListener(ref AxWMPLib.AxWindowsMediaPlayer media, ref ListView list)
        {
            EState state = EState.NONE;

            _mediaPlayer = media;
            _list        = list;
            _height      = 0.0f;
        }
Пример #24
0
 private void axWindowsMediaPlayer1_Enter(object sender, EventArgs e)
 {
     AxWMPLib.AxWindowsMediaPlayer p = (AxWMPLib.AxWindowsMediaPlayer)sender;
     if (!p.fullScreen)
     {
         p.fullScreen = true;
     }
 }
        public VideoStream()
        {
            InitializeComponent();

            this.axVideoPlayer      = new AxWMPLib.AxWindowsMediaPlayer();
            this.axVideoPlayer.Size = new System.Drawing.Size(200, 100);
            this.Controls.Add(this.axVideoPlayer);
        }
 public static void PlayPreviousTrack(AxWMPLib.AxWindowsMediaPlayer player)
 {
     if (AutoPlay)
     {
         //CurrentTrack = Playlist.SelectTrack('P', CurrentTrack, AllowRepitition, AllowShuffle);
         //ControlCentre.OpenMedia(CurrentTrack, player);
     }
 }
        /* Player
         * Description: Overloaded constructor, which also takes in a file and starts it.
         * Args: mediaFilePath - The path to the file to be played
         */
        public Player(string mediaFilePath)
        {
            InitializeComponent();

            // Get the AxHost wrapper from the WindowsFormsHost control.
            axWmp     = formsHost.Child as AxWMPLib.AxWindowsMediaPlayer;
            axWmp.URL = mediaFilePath;
        }
Пример #28
0
        private void WindowLoaded(object sender, RoutedEventArgs e)
        {
            // Get the AxHost wrapper from the WindowsFormsHost control.
            AxWMPLib.AxWindowsMediaPlayer axWmp =
                wfh.Child as AxWMPLib.AxWindowsMediaPlayer;

            // Play a .wav file with the ActiveX control.
            axWmp.URL = @"C:\WINDOWS\Media\Windows XP Startup.wav";
        }
Пример #29
0
 public LrcFrm(AxWMPLib.AxWindowsMediaPlayer axWmplayer, System.Windows.Forms.Timer timer)
 {
     InitializeComponent();
     this.DoubleBuffered     = true;
     LrcConnections.lrcfrm   = this;
     LrcConnections.lrcPanel = this.lrcPanel1;
     this.axWmplayer         = axWmplayer;
     this.timer = timer;
 }
Пример #30
0
 public void setMediaPlayerProperties(string videoPath, AxWMPLib.AxWindowsMediaPlayer mediaPlayer)
 {
     mediaPlayer.URL          = videoPath;
     mediaPlayer.Location     = new Point(5, 213);
     mediaPlayer.Size         = new Size(507, 300);
     mediaPlayer.stretchToFit = false;
     mediaPlayer.Ctlenabled   = false;
     mediaPlayer.uiMode       = "none";
 }
Пример #31
0
        public PlayList(WMPLib.IWMPPlaylist p, AxWMPLib.AxWindowsMediaPlayer mp)
        {
            InitializeComponent();

            this.p  = p;
            this.mp = mp;

            ChangePL += idd;
        }
Пример #32
0
 public WindowsMediaPlayer()
 {
     WindowsFormsHost host = new WindowsFormsHost();
     AxWMP = new AxWMPLib.AxWindowsMediaPlayer();
     host.Child = AxWMP;
     Content = host;
     Loaded += WindowsMediaPlayer_Loaded;
     Unloaded += WindowsMediaPlayer_Unloaded;
 }
Пример #33
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MediaPlayerModel"/> class.
        /// </summary>
        /// <param name="mediaPlayer">The media player.</param>
        public MediaPlayerModel(AxWMPLib.AxWindowsMediaPlayer mediaPlayer)
        {
            UserPressedStop   = true;
            _instance         = this;
            this._mediaPlayer = mediaPlayer;
            this._mediaPlayer.PlayStateChange += _mediaPlayer_PlayStateChange;

            this._mediaPreviewModel = new MediaPreviewModel(mediaPlayer);
        }
Пример #34
0
        public Playlist(string[] Songs, AxWMPLib.AxWindowsMediaPlayer Player)
        {
            AddSongs(Songs);

            MediaPlayer = Player;

            this.play_components = new System.ComponentModel.Container();
            this.CheckSong = new System.Windows.Forms.Timer(this.play_components);
            this.CheckSong.Tick += new System.EventHandler(this.CheckSong_Tick);

            MediaPlayer.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(MediaPlayer_PlayStateChange);

            Play();
        }
Пример #35
0
        public TrimVideoControl()
        {
            InitializeComponent();

            BackColor = Color.Transparent;

            // Try creating WMP control
            // We do this here so we can gracefully catch errors if the control doesn't load
            try
            {

                wmPlayer = new AxWMPLib.AxWindowsMediaPlayer();
                ((System.ComponentModel.ISupportInitialize)(wmPlayer)).BeginInit();
                //SuspendLayout();
                wmPlayer.CreateControl();
                wmPlayer.Parent = this;
                wmPlayer.Name = "wmPlayer";
                wmPlayer.Ctlenabled = true;
                System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TrimVideoControl));
                wmPlayer.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("wmPlayer.OcxState")));
                wmPlayer.Location = new Point(12, 13);
                wmPlayer.Size = new Size(636, 358);
                wmPlayer.enableContextMenu = true;
                wmPlayer.stretchToFit = true;
                wmPlayer.uiMode = "none";
                wmPlayer.settings.autoStart = false;
                wmPlayer.ErrorEvent += wmPlayer_ErrorEvent;
                wmPlayer.MediaChange += wmPlayer_MediaChange;
                wmPlayer.MediaError += wmPlayer_MediaError;
                wmPlayer.OpenStateChange += wmPlayer_OpenStateChange;
                wmPlayer.PlayStateChange += wmPlayer_PlayStateChange;
                wmPlayer.Warning += wmPlayer_Warning;
                this.Controls.Add(wmPlayer);
                ((System.ComponentModel.ISupportInitialize)(wmPlayer)).EndInit();

                //this.ResumeLayout(false);
                //this.PerformLayout();
                //wmPlayer.Show();
                //wmPlayer.BringToFront();
            }
            catch (Exception ex)
            {
                Logger.Error("Error creating WMP control: " + ex);
            }

            videoPlayerSeekHelper.mediaPlayer = wmPlayer;

            videoPlayerSeekHelper.DoneWorking += new VideoPlayerSeekHelper.DoneWorkingEventHandler(videoPlayerSeekHelper_DoneWorking);
        }
Пример #36
0
        //Initializes the music player 
        //Passes it the URL for the music (badly done)
        private void createMusic()
        {
            musicPlayer = new AxWMPLib.AxWindowsMediaPlayer();
            musicPlayer.CreateControl();
            musicPlayer.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(this.musicPlayer_PlayStateChange);
            musicPlayer.URL = "C:\\Users\\arturpopov\\Desktop\\C#\\projectSharp\\MatchThree\\WindowsFormsApplication1\\WindowsFormsApplication1\\Resources\\song18_0.mp3";
            musicPlayer.Ctlcontrols.play();
            
            sfx = new SoundPlayer();
            sfx.LoadCompleted += new AsyncCompletedEventHandler(this.loadedSFX);

            //First sound. Makes sure there is a sfx for the first match
            sfx.Stream = Resources.Item1A;
            
        }
Пример #37
0
        public DrawMovieElement(int posX, int posY, string fileName)
            : base(posX, posY)
        {
            this.fileName = fileName;

            this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
            ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();

            //
            // axWindowsMediaPlayer1
            //
            this.axWindowsMediaPlayer1.Enabled = true;
            this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(422, 304);
            this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
            this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(75, 23);
            this.axWindowsMediaPlayer1.TabIndex = 0;
            this.axWindowsMediaPlayer1.URL = "C:\\Documents and Settings\\Administrator\\My Documents\\Mass Effect 3 - Synthesis Ending(SPOILERS)!.wmv";
        }
Пример #38
0
        public WMPlayer(ILogger Logger_)
        {

            axWindowsMediaPlayer = new AxWMPLib.AxWindowsMediaPlayer();

            Logger = Logger_;

            ((System.ComponentModel.ISupportInitialize)(axWindowsMediaPlayer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(axWindowsMediaPlayer)).EndInit();

            PreviousPosition = 0;
            ClearTargetPosition();
            TargetSoundTrack = null;
            timer = new System.Timers.Timer(20);
            timer.Enabled = true;
            timer.Elapsed += timer_Elapsed;
            timer.AutoReset = false;
            timer.Start();

            TargetURL = "";
            TargetPosition_ = 0;
        }
Пример #39
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
     this.SuspendLayout();
     //
     // axWindowsMediaPlayer1
     //
     this.axWindowsMediaPlayer1.Enabled = true;
     this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(160, 80);
     this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
     this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
     this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(216, 200);
     this.axWindowsMediaPlayer1.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(848, 534);
     this.Controls.Add(this.axWindowsMediaPlayer1);
     this.Name = "Form1";
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(fclsMain));
     System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("");
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menFile = new System.Windows.Forms.MenuItem();
     this.menNewAlbm = new System.Windows.Forms.MenuItem();
     this.menDelAlbm = new System.Windows.Forms.MenuItem();
     this.menSep = new System.Windows.Forms.MenuItem();
     this.menQuit = new System.Windows.Forms.MenuItem();
     this.menEdit = new System.Windows.Forms.MenuItem();
     this.menEditAlbm = new System.Windows.Forms.MenuItem();
     this.toolBar = new System.Windows.Forms.ToolBar();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.tbblSeparator = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.imgMain = new System.Windows.Forms.ImageList(this.components);
     this.my_ListView = new System.Windows.Forms.ListView();
     this.Album = new System.Windows.Forms.ColumnHeader();
     this.Artist = new System.Windows.Forms.ColumnHeader();
     this.AFL = new System.Windows.Forms.ColumnHeader();
     this.ofdArt = new System.Windows.Forms.OpenFileDialog();
     this.dbOpen = new System.Windows.Forms.OpenFileDialog();
     this.my_player = new AxWMPLib.AxWindowsMediaPlayer();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.my_player)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menFile,
                                                                               this.menEdit});
     //
     // menFile
     //
     this.menFile.Index = 0;
     this.menFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                             this.menNewAlbm,
                                                                             this.menDelAlbm,
                                                                             this.menSep,
                                                                             this.menQuit});
     this.menFile.Text = "&File";
     //
     // menNewAlbm
     //
     this.menNewAlbm.Index = 0;
     this.menNewAlbm.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.menNewAlbm.Text = "&New Album";
     //
     // menDelAlbm
     //
     this.menDelAlbm.Index = 1;
     this.menDelAlbm.Text = "&Delete Album";
     //
     // menSep
     //
     this.menSep.Index = 2;
     this.menSep.Text = "-";
     //
     // menQuit
     //
     this.menQuit.Index = 3;
     this.menQuit.Shortcut = System.Windows.Forms.Shortcut.CtrlQ;
     this.menQuit.Text = "&Quit";
     //
     // menEdit
     //
     this.menEdit.Index = 1;
     this.menEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                             this.menEditAlbm});
     this.menEdit.Text = "&Edit";
     //
     // menEditAlbm
     //
     this.menEditAlbm.Index = 0;
     this.menEditAlbm.Text = "&Edit Album";
     //
     // toolBar
     //
     this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                this.toolBarButton1,
                                                                                this.tbblSeparator,
                                                                                this.toolBarButton2,
                                                                                this.toolBarButton3,
                                                                                this.toolBarButton4,
                                                                                this.toolBarButton5});
     this.toolBar.DropDownArrows = true;
     this.toolBar.ImageList = this.imgMain;
     this.toolBar.Location = new System.Drawing.Point(0, 0);
     this.toolBar.Name = "toolBar";
     this.toolBar.ShowToolTips = true;
     this.toolBar.Size = new System.Drawing.Size(434, 28);
     this.toolBar.TabIndex = 0;
     this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 0;
     this.toolBarButton1.ToolTipText = "Open Database";
     //
     // tbblSeparator
     //
     this.tbblSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex = 1;
     this.toolBarButton2.ToolTipText = "New Album";
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex = 2;
     this.toolBarButton3.ToolTipText = "Edit Album";
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex = 3;
     this.toolBarButton4.ToolTipText = "Delete Album";
     //
     // toolBarButton5
     //
     this.toolBarButton5.ImageIndex = 4;
     this.toolBarButton5.ToolTipText = "Play Album";
     //
     // imgMain
     //
     this.imgMain.ImageSize = new System.Drawing.Size(16, 16);
     this.imgMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgMain.ImageStream")));
     this.imgMain.TransparentColor = System.Drawing.Color.Transparent;
     //
     // my_ListView
     //
     this.my_ListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.my_ListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                   this.Album,
                                                                                   this.Artist,
                                                                                   this.AFL});
     this.my_ListView.FullRowSelect = true;
     this.my_ListView.GridLines = true;
     this.my_ListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
                                                                                 listViewItem1});
     this.my_ListView.Location = new System.Drawing.Point(0, 32);
     this.my_ListView.MultiSelect = false;
     this.my_ListView.Name = "my_ListView";
     this.my_ListView.Size = new System.Drawing.Size(418, 241);
     this.my_ListView.SmallImageList = this.imgMain;
     this.my_ListView.TabIndex = 5;
     this.my_ListView.View = System.Windows.Forms.View.Details;
     this.my_ListView.DoubleClick += new System.EventHandler(this.my_ListView_DoubleClick);
     //
     // Album
     //
     this.Album.Text = "Album";
     this.Album.Width = 112;
     //
     // Artist
     //
     this.Artist.Text = "Artist";
     this.Artist.Width = 139;
     //
     // AFL
     //
     this.AFL.Text = "Audio File Location";
     this.AFL.Width = 223;
     //
     // ofdArt
     //
     this.ofdArt.Filter = "Microsoft Access Databases | *.mdb";
     //
     // dbOpen
     //
     this.dbOpen.Filter = "Microsoft Access Databases | *.mdb";
     //
     // my_player
     //
     this.my_player.Enabled = true;
     this.my_player.Location = new System.Drawing.Point(32, 88);
     this.my_player.Name = "my_player";
     this.my_player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("my_player.OcxState")));
     this.my_player.Size = new System.Drawing.Size(264, 144);
     this.my_player.TabIndex = 6;
     this.my_player.Visible = false;
     //
     // fclsMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(434, 283);
     this.Controls.Add(this.my_player);
     this.Controls.Add(this.my_ListView);
     this.Controls.Add(this.toolBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Menu = this.mainMenu1;
     this.Name = "fclsMain";
     this.Text = "Album Catalog";
     this.Load += new System.EventHandler(this.fclsMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.my_player)).EndInit();
     this.ResumeLayout(false);
 }
Пример #41
0
 public PlayMode(AxWMPLib.AxWindowsMediaPlayer real, BreakManager bm)
 {
     this.real = real;
     this.bm = bm;
 }
Пример #42
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
			this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
			this.btnBrowse = new System.Windows.Forms.Button();
			this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
			this.panel1 = new System.Windows.Forms.Panel();
			this.button1 = new System.Windows.Forms.Button();
			this.btnPause = new System.Windows.Forms.Button();
			this.btnPlay = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// axWindowsMediaPlayer1
			// 
			this.axWindowsMediaPlayer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.axWindowsMediaPlayer1.Enabled = true;
			this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(0, 0);
			this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
			this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
			this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(296, 272);
			this.axWindowsMediaPlayer1.TabIndex = 0;
			this.axWindowsMediaPlayer1.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(this.axWindowsMediaPlayer1_PlayStateChange);
			// 
			// btnBrowse
			// 
			this.btnBrowse.Location = new System.Drawing.Point(208, 8);
			this.btnBrowse.Name = "btnBrowse";
			this.btnBrowse.TabIndex = 1;
			this.btnBrowse.Text = "Browse...";
			this.btnBrowse.Click += new System.EventHandler(this.button1_Click);
			// 
			// openFileDialog1
			// 
			this.openFileDialog1.Title = "Open Media File...";
			// 
			// panel1
			// 
			this.panel1.Controls.Add(this.button1);
			this.panel1.Controls.Add(this.btnPause);
			this.panel1.Controls.Add(this.btnPlay);
			this.panel1.Controls.Add(this.btnBrowse);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.panel1.Location = new System.Drawing.Point(0, 226);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(292, 40);
			this.panel1.TabIndex = 2;
			// 
			// button1
			// 
			this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.button1.Location = new System.Drawing.Point(72, 8);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(24, 23);
			this.button1.TabIndex = 4;
			this.button1.Text = "#";
			this.button1.Click += new System.EventHandler(this.button1_Click_1);
			// 
			// btnPause
			// 
			this.btnPause.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnPause.Location = new System.Drawing.Point(40, 8);
			this.btnPause.Name = "btnPause";
			this.btnPause.Size = new System.Drawing.Size(24, 23);
			this.btnPause.TabIndex = 3;
			this.btnPause.Text = "||";
			this.btnPause.Click += new System.EventHandler(this.btnPause_Click);
			// 
			// btnPlay
			// 
			this.btnPlay.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.btnPlay.Location = new System.Drawing.Point(8, 8);
			this.btnPlay.Name = "btnPlay";
			this.btnPlay.Size = new System.Drawing.Size(24, 23);
			this.btnPlay.TabIndex = 2;
			this.btnPlay.Text = ">";
			this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click);
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 266);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.axWindowsMediaPlayer1);
			this.Name = "Form1";
			this.Text = "Windows Media Player in C#";
			((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Пример #43
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RendererForm));
     this.statusBar = new System.Windows.Forms.StatusBar();
     this.mainMenu = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.openFileMenuItem = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.exitMenuItem = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.viewControlMenuItem = new System.Windows.Forms.MenuItem();
     this.viewConnectionMenuItem = new System.Windows.Forms.MenuItem();
     this.viewStatusMenuItem = new System.Windows.Forms.MenuItem();
     this.viewProgressBarMenuItem = new System.Windows.Forms.MenuItem();
     this.viewMediaPlayerCtrlsMenuItem = new System.Windows.Forms.MenuItem();
     this.menuItem4 = new System.Windows.Forms.MenuItem();
     this.helpMenuItem = new System.Windows.Forms.MenuItem();
     this.menuItem9 = new System.Windows.Forms.MenuItem();
     this.debugMenuItem = new System.Windows.Forms.MenuItem();
     this.controlPanel = new System.Windows.Forms.Panel();
     this.RecordRed = new System.Windows.Forms.PictureBox();
     this.RecordGrey = new System.Windows.Forms.PictureBox();
     this.RecordButton = new System.Windows.Forms.Button();
     this.PauseGrey = new System.Windows.Forms.PictureBox();
     this.StopGrey = new System.Windows.Forms.PictureBox();
     this.PlayGrey = new System.Windows.Forms.PictureBox();
     this.PauseGreen = new System.Windows.Forms.PictureBox();
     this.StopGreen = new System.Windows.Forms.PictureBox();
     this.PlayGreen = new System.Windows.Forms.PictureBox();
     this.pictureBox5 = new System.Windows.Forms.PictureBox();
     this.pictureBox4 = new System.Windows.Forms.PictureBox();
     this.pictureBox3 = new System.Windows.Forms.PictureBox();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.volumeTrackBar = new System.Windows.Forms.TrackBar();
     this.mutePictureBox = new System.Windows.Forms.PictureBox();
     this.mutedPictureBox = new System.Windows.Forms.PictureBox();
     this.muteButton = new System.Windows.Forms.Button();
     this.pauseButton = new System.Windows.Forms.Button();
     this.stopButton = new System.Windows.Forms.Button();
     this.playButton = new System.Windows.Forms.Button();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.leftChannelTrackBar = new System.Windows.Forms.TrackBar();
     this.rightChannelTrackBar = new System.Windows.Forms.TrackBar();
     this.connectionPanel = new System.Windows.Forms.Panel();
     this.VideoButton = new System.Windows.Forms.Button();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.RecordQualityModeLabel = new System.Windows.Forms.Label();
     this.PlayModeLabel = new System.Windows.Forms.Label();
     this.PresetLabel = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.nextContentUriLabel = new System.Windows.Forms.Label();
     this.setNextContentUriButton = new System.Windows.Forms.Button();
     this.setContentUriButton = new System.Windows.Forms.Button();
     this.contentUriLabel = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.progressPanel = new System.Windows.Forms.Panel();
     this.progressBar = new System.Windows.Forms.ProgressBar();
     this.positionTimer = new System.Windows.Forms.Timer(this.components);
     this.player = new AxWMPLib.AxWindowsMediaPlayer();
     this.controlPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.RecordRed)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.RecordGrey)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PauseGrey)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StopGrey)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlayGrey)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PauseGreen)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StopGreen)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlayGreen)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.volumeTrackBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mutePictureBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mutedPictureBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.leftChannelTrackBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rightChannelTrackBar)).BeginInit();
     this.connectionPanel.SuspendLayout();
     this.progressPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.player)).BeginInit();
     this.SuspendLayout();
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 423);
     this.statusBar.Name = "statusBar";
     this.statusBar.Size = new System.Drawing.Size(488, 16);
     this.statusBar.TabIndex = 1;
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem1,
     this.menuItem3,
     this.menuItem4});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.openFileMenuItem,
     this.menuItem2,
     this.menuItem5,
     this.menuItem6,
     this.exitMenuItem});
     this.menuItem1.Text = "&File";
     //
     // openFileMenuItem
     //
     this.openFileMenuItem.Index = 0;
     this.openFileMenuItem.Text = "Open File...";
     this.openFileMenuItem.Click += new System.EventHandler(this.openFileMenuItem_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text = "Set &Content URI...";
     this.menuItem2.Click += new System.EventHandler(this.setContentUriButton_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 2;
     this.menuItem5.Text = "Set &Next Content URI...";
     this.menuItem5.Click += new System.EventHandler(this.setNextContentUriButton_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 3;
     this.menuItem6.Text = "-";
     //
     // exitMenuItem
     //
     this.exitMenuItem.Index = 4;
     this.exitMenuItem.Text = "E&xit";
     this.exitMenuItem.Click += new System.EventHandler(this.exitMenuItem_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.viewControlMenuItem,
     this.viewConnectionMenuItem,
     this.viewStatusMenuItem,
     this.viewProgressBarMenuItem,
     this.viewMediaPlayerCtrlsMenuItem});
     this.menuItem3.Text = "&View";
     //
     // viewControlMenuItem
     //
     this.viewControlMenuItem.Checked = true;
     this.viewControlMenuItem.Index = 0;
     this.viewControlMenuItem.Text = "&Controls";
     this.viewControlMenuItem.Click += new System.EventHandler(this.viewControlMenuItem_Click);
     //
     // viewConnectionMenuItem
     //
     this.viewConnectionMenuItem.Index = 1;
     this.viewConnectionMenuItem.Text = "C&onnection";
     this.viewConnectionMenuItem.Click += new System.EventHandler(this.viewConnectionMenuItem_Click);
     //
     // viewStatusMenuItem
     //
     this.viewStatusMenuItem.Checked = true;
     this.viewStatusMenuItem.Index = 2;
     this.viewStatusMenuItem.Text = "&Status Bar";
     this.viewStatusMenuItem.Click += new System.EventHandler(this.viewStatusMenuItem_Click);
     //
     // viewProgressBarMenuItem
     //
     this.viewProgressBarMenuItem.Checked = true;
     this.viewProgressBarMenuItem.Index = 3;
     this.viewProgressBarMenuItem.Text = "Progress Bar";
     this.viewProgressBarMenuItem.Click += new System.EventHandler(this.viewProgressBarMenuItem_Click);
     //
     // viewMediaPlayerCtrlsMenuItem
     //
     this.viewMediaPlayerCtrlsMenuItem.Index = 4;
     this.viewMediaPlayerCtrlsMenuItem.Text = "Media Controls";
     this.viewMediaPlayerCtrlsMenuItem.Click += new System.EventHandler(this.viewMediaPlayerCtrlsMenuItem_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 2;
     this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.helpMenuItem,
     this.menuItem9,
     this.debugMenuItem});
     this.menuItem4.Text = "&Help";
     //
     // helpMenuItem
     //
     this.helpMenuItem.Index = 0;
     this.helpMenuItem.Shortcut = System.Windows.Forms.Shortcut.F1;
     this.helpMenuItem.Text = "&Help Topics";
     this.helpMenuItem.Click += new System.EventHandler(this.helpMenuItem_Click);
     //
     // menuItem9
     //
     this.menuItem9.Index = 1;
     this.menuItem9.Text = "-";
     //
     // debugMenuItem
     //
     this.debugMenuItem.Index = 2;
     this.debugMenuItem.Text = "&Show Debug Information";
     this.debugMenuItem.Click += new System.EventHandler(this.debugMenuItem_Click);
     //
     // controlPanel
     //
     this.controlPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.controlPanel.Controls.Add(this.RecordRed);
     this.controlPanel.Controls.Add(this.RecordGrey);
     this.controlPanel.Controls.Add(this.RecordButton);
     this.controlPanel.Controls.Add(this.PauseGrey);
     this.controlPanel.Controls.Add(this.StopGrey);
     this.controlPanel.Controls.Add(this.PlayGrey);
     this.controlPanel.Controls.Add(this.PauseGreen);
     this.controlPanel.Controls.Add(this.StopGreen);
     this.controlPanel.Controls.Add(this.PlayGreen);
     this.controlPanel.Controls.Add(this.pictureBox5);
     this.controlPanel.Controls.Add(this.pictureBox4);
     this.controlPanel.Controls.Add(this.pictureBox3);
     this.controlPanel.Controls.Add(this.pictureBox2);
     this.controlPanel.Controls.Add(this.volumeTrackBar);
     this.controlPanel.Controls.Add(this.mutePictureBox);
     this.controlPanel.Controls.Add(this.mutedPictureBox);
     this.controlPanel.Controls.Add(this.muteButton);
     this.controlPanel.Controls.Add(this.pauseButton);
     this.controlPanel.Controls.Add(this.stopButton);
     this.controlPanel.Controls.Add(this.playButton);
     this.controlPanel.Controls.Add(this.pictureBox1);
     this.controlPanel.Controls.Add(this.leftChannelTrackBar);
     this.controlPanel.Controls.Add(this.rightChannelTrackBar);
     this.controlPanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.controlPanel.Location = new System.Drawing.Point(0, 0);
     this.controlPanel.Name = "controlPanel";
     this.controlPanel.Size = new System.Drawing.Size(488, 40);
     this.controlPanel.TabIndex = 4;
     //
     // RecordRed
     //
     this.RecordRed.Image = ((System.Drawing.Image)(resources.GetObject("RecordRed.Image")));
     this.RecordRed.Location = new System.Drawing.Point(152, 48);
     this.RecordRed.Name = "RecordRed";
     this.RecordRed.Size = new System.Drawing.Size(32, 24);
     this.RecordRed.TabIndex = 27;
     this.RecordRed.TabStop = false;
     //
     // RecordGrey
     //
     this.RecordGrey.BackColor = System.Drawing.Color.Transparent;
     this.RecordGrey.Image = ((System.Drawing.Image)(resources.GetObject("RecordGrey.Image")));
     this.RecordGrey.Location = new System.Drawing.Point(152, 72);
     this.RecordGrey.Name = "RecordGrey";
     this.RecordGrey.Size = new System.Drawing.Size(24, 24);
     this.RecordGrey.TabIndex = 26;
     this.RecordGrey.TabStop = false;
     //
     // RecordButton
     //
     this.RecordButton.Image = ((System.Drawing.Image)(resources.GetObject("RecordButton.Image")));
     this.RecordButton.Location = new System.Drawing.Point(64, 3);
     this.RecordButton.Name = "RecordButton";
     this.RecordButton.Size = new System.Drawing.Size(32, 32);
     this.RecordButton.TabIndex = 25;
     this.RecordButton.Click += new System.EventHandler(this.RecordButton_Click);
     //
     // PauseGrey
     //
     this.PauseGrey.Image = ((System.Drawing.Image)(resources.GetObject("PauseGrey.Image")));
     this.PauseGrey.Location = new System.Drawing.Point(120, 72);
     this.PauseGrey.Name = "PauseGrey";
     this.PauseGrey.Size = new System.Drawing.Size(24, 24);
     this.PauseGrey.TabIndex = 24;
     this.PauseGrey.TabStop = false;
     this.PauseGrey.Visible = false;
     //
     // StopGrey
     //
     this.StopGrey.Image = ((System.Drawing.Image)(resources.GetObject("StopGrey.Image")));
     this.StopGrey.Location = new System.Drawing.Point(88, 72);
     this.StopGrey.Name = "StopGrey";
     this.StopGrey.Size = new System.Drawing.Size(24, 24);
     this.StopGrey.TabIndex = 23;
     this.StopGrey.TabStop = false;
     this.StopGrey.Visible = false;
     //
     // PlayGrey
     //
     this.PlayGrey.Image = ((System.Drawing.Image)(resources.GetObject("PlayGrey.Image")));
     this.PlayGrey.Location = new System.Drawing.Point(56, 72);
     this.PlayGrey.Name = "PlayGrey";
     this.PlayGrey.Size = new System.Drawing.Size(24, 24);
     this.PlayGrey.TabIndex = 22;
     this.PlayGrey.TabStop = false;
     this.PlayGrey.Visible = false;
     //
     // PauseGreen
     //
     this.PauseGreen.Image = ((System.Drawing.Image)(resources.GetObject("PauseGreen.Image")));
     this.PauseGreen.Location = new System.Drawing.Point(120, 48);
     this.PauseGreen.Name = "PauseGreen";
     this.PauseGreen.Size = new System.Drawing.Size(24, 24);
     this.PauseGreen.TabIndex = 21;
     this.PauseGreen.TabStop = false;
     this.PauseGreen.Visible = false;
     //
     // StopGreen
     //
     this.StopGreen.Image = ((System.Drawing.Image)(resources.GetObject("StopGreen.Image")));
     this.StopGreen.Location = new System.Drawing.Point(88, 48);
     this.StopGreen.Name = "StopGreen";
     this.StopGreen.Size = new System.Drawing.Size(24, 24);
     this.StopGreen.TabIndex = 20;
     this.StopGreen.TabStop = false;
     this.StopGreen.Visible = false;
     //
     // PlayGreen
     //
     this.PlayGreen.Image = ((System.Drawing.Image)(resources.GetObject("PlayGreen.Image")));
     this.PlayGreen.Location = new System.Drawing.Point(56, 48);
     this.PlayGreen.Name = "PlayGreen";
     this.PlayGreen.Size = new System.Drawing.Size(24, 24);
     this.PlayGreen.TabIndex = 19;
     this.PlayGreen.TabStop = false;
     this.PlayGreen.Visible = false;
     //
     // pictureBox5
     //
     this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image")));
     this.pictureBox5.Location = new System.Drawing.Point(338, 8);
     this.pictureBox5.Name = "pictureBox5";
     this.pictureBox5.Size = new System.Drawing.Size(11, 17);
     this.pictureBox5.TabIndex = 12;
     this.pictureBox5.TabStop = false;
     //
     // pictureBox4
     //
     this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image")));
     this.pictureBox4.Location = new System.Drawing.Point(408, 9);
     this.pictureBox4.Name = "pictureBox4";
     this.pictureBox4.Size = new System.Drawing.Size(18, 15);
     this.pictureBox4.TabIndex = 11;
     this.pictureBox4.TabStop = false;
     //
     // pictureBox3
     //
     this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
     this.pictureBox3.Location = new System.Drawing.Point(204, 6);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new System.Drawing.Size(19, 24);
     this.pictureBox3.TabIndex = 9;
     this.pictureBox3.TabStop = false;
     //
     // pictureBox2
     //
     this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
     this.pictureBox2.Location = new System.Drawing.Point(304, 6);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(24, 24);
     this.pictureBox2.TabIndex = 8;
     this.pictureBox2.TabStop = false;
     //
     // volumeTrackBar
     //
     this.volumeTrackBar.Location = new System.Drawing.Point(216, 0);
     this.volumeTrackBar.Maximum = 100;
     this.volumeTrackBar.Name = "volumeTrackBar";
     this.volumeTrackBar.Size = new System.Drawing.Size(96, 45);
     this.volumeTrackBar.TabIndex = 4;
     this.volumeTrackBar.TickFrequency = 10;
     this.toolTip.SetToolTip(this.volumeTrackBar, "Volume");
     this.volumeTrackBar.Value = 50;
     this.volumeTrackBar.Scroll += new System.EventHandler(this.volumeTrackBar_Scroll);
     //
     // mutePictureBox
     //
     this.mutePictureBox.Image = ((System.Drawing.Image)(resources.GetObject("mutePictureBox.Image")));
     this.mutePictureBox.Location = new System.Drawing.Point(216, 72);
     this.mutePictureBox.Name = "mutePictureBox";
     this.mutePictureBox.Size = new System.Drawing.Size(24, 24);
     this.mutePictureBox.TabIndex = 7;
     this.mutePictureBox.TabStop = false;
     this.mutePictureBox.Visible = false;
     //
     // mutedPictureBox
     //
     this.mutedPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("mutedPictureBox.Image")));
     this.mutedPictureBox.Location = new System.Drawing.Point(192, 72);
     this.mutedPictureBox.Name = "mutedPictureBox";
     this.mutedPictureBox.Size = new System.Drawing.Size(24, 24);
     this.mutedPictureBox.TabIndex = 6;
     this.mutedPictureBox.TabStop = false;
     this.mutedPictureBox.Visible = false;
     //
     // muteButton
     //
     this.muteButton.Image = ((System.Drawing.Image)(resources.GetObject("muteButton.Image")));
     this.muteButton.Location = new System.Drawing.Point(168, 3);
     this.muteButton.Name = "muteButton";
     this.muteButton.Size = new System.Drawing.Size(32, 32);
     this.muteButton.TabIndex = 5;
     this.toolTip.SetToolTip(this.muteButton, "Mute");
     this.muteButton.Click += new System.EventHandler(this.muteButton_Click);
     //
     // pauseButton
     //
     this.pauseButton.Image = ((System.Drawing.Image)(resources.GetObject("pauseButton.Image")));
     this.pauseButton.Location = new System.Drawing.Point(128, 3);
     this.pauseButton.Name = "pauseButton";
     this.pauseButton.Size = new System.Drawing.Size(32, 32);
     this.pauseButton.TabIndex = 3;
     this.toolTip.SetToolTip(this.pauseButton, "Pause");
     this.pauseButton.Click += new System.EventHandler(this.pauseButton_Click);
     //
     // stopButton
     //
     this.stopButton.Image = ((System.Drawing.Image)(resources.GetObject("stopButton.Image")));
     this.stopButton.Location = new System.Drawing.Point(96, 3);
     this.stopButton.Name = "stopButton";
     this.stopButton.Size = new System.Drawing.Size(32, 32);
     this.stopButton.TabIndex = 2;
     this.toolTip.SetToolTip(this.stopButton, "Stop");
     this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
     //
     // playButton
     //
     this.playButton.Image = ((System.Drawing.Image)(resources.GetObject("playButton.Image")));
     this.playButton.Location = new System.Drawing.Point(32, 3);
     this.playButton.Name = "playButton";
     this.playButton.Size = new System.Drawing.Size(32, 32);
     this.playButton.TabIndex = 1;
     this.toolTip.SetToolTip(this.playButton, "Play");
     this.playButton.Click += new System.EventHandler(this.playButton_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(2, 3);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(32, 32);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // leftChannelTrackBar
     //
     this.leftChannelTrackBar.Location = new System.Drawing.Point(340, 0);
     this.leftChannelTrackBar.Maximum = 100;
     this.leftChannelTrackBar.Name = "leftChannelTrackBar";
     this.leftChannelTrackBar.Size = new System.Drawing.Size(56, 45);
     this.leftChannelTrackBar.TabIndex = 10;
     this.leftChannelTrackBar.TickFrequency = 20;
     this.toolTip.SetToolTip(this.leftChannelTrackBar, "Left Audio Channel Volume");
     this.leftChannelTrackBar.Value = 100;
     this.leftChannelTrackBar.Scroll += new System.EventHandler(this.LeftVolumeChanged);
     //
     // rightChannelTrackBar
     //
     this.rightChannelTrackBar.Location = new System.Drawing.Point(416, 0);
     this.rightChannelTrackBar.Maximum = 100;
     this.rightChannelTrackBar.Name = "rightChannelTrackBar";
     this.rightChannelTrackBar.Size = new System.Drawing.Size(56, 45);
     this.rightChannelTrackBar.TabIndex = 28;
     this.rightChannelTrackBar.TickFrequency = 20;
     this.toolTip.SetToolTip(this.rightChannelTrackBar, "Right Audio Channel Volume");
     this.rightChannelTrackBar.Value = 100;
     this.rightChannelTrackBar.Scroll += new System.EventHandler(this.RightVolumeChanged);
     //
     // connectionPanel
     //
     this.connectionPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.connectionPanel.Controls.Add(this.VideoButton);
     this.connectionPanel.Controls.Add(this.label5);
     this.connectionPanel.Controls.Add(this.label4);
     this.connectionPanel.Controls.Add(this.RecordQualityModeLabel);
     this.connectionPanel.Controls.Add(this.PlayModeLabel);
     this.connectionPanel.Controls.Add(this.PresetLabel);
     this.connectionPanel.Controls.Add(this.label3);
     this.connectionPanel.Controls.Add(this.nextContentUriLabel);
     this.connectionPanel.Controls.Add(this.setNextContentUriButton);
     this.connectionPanel.Controls.Add(this.setContentUriButton);
     this.connectionPanel.Controls.Add(this.contentUriLabel);
     this.connectionPanel.Controls.Add(this.label2);
     this.connectionPanel.Controls.Add(this.label1);
     this.connectionPanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.connectionPanel.Location = new System.Drawing.Point(0, 40);
     this.connectionPanel.Name = "connectionPanel";
     this.connectionPanel.Size = new System.Drawing.Size(488, 128);
     this.connectionPanel.TabIndex = 5;
     this.connectionPanel.Visible = false;
     //
     // VideoButton
     //
     this.VideoButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.VideoButton.Location = new System.Drawing.Point(448, 80);
     this.VideoButton.Name = "VideoButton";
     this.VideoButton.Size = new System.Drawing.Size(32, 32);
     this.VideoButton.TabIndex = 13;
     this.VideoButton.Text = ">>";
     this.VideoButton.Click += new System.EventHandler(this.VideoButton_Click);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 104);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(80, 16);
     this.label5.TabIndex = 12;
     this.label5.Text = "RecQuality";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 80);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(72, 16);
     this.label4.TabIndex = 11;
     this.label4.Text = "Play Mode";
     //
     // RecordQualityModeLabel
     //
     this.RecordQualityModeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.RecordQualityModeLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.RecordQualityModeLabel.Location = new System.Drawing.Point(104, 104);
     this.RecordQualityModeLabel.Name = "RecordQualityModeLabel";
     this.RecordQualityModeLabel.Size = new System.Drawing.Size(336, 16);
     this.RecordQualityModeLabel.TabIndex = 10;
     //
     // PlayModeLabel
     //
     this.PlayModeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.PlayModeLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.PlayModeLabel.Location = new System.Drawing.Point(104, 80);
     this.PlayModeLabel.Name = "PlayModeLabel";
     this.PlayModeLabel.Size = new System.Drawing.Size(336, 16);
     this.PlayModeLabel.TabIndex = 9;
     //
     // PresetLabel
     //
     this.PresetLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.PresetLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.PresetLabel.Location = new System.Drawing.Point(104, 56);
     this.PresetLabel.Name = "PresetLabel";
     this.PresetLabel.Size = new System.Drawing.Size(336, 17);
     this.PresetLabel.TabIndex = 8;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 58);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(80, 16);
     this.label3.TabIndex = 7;
     this.label3.Text = "Current Preset";
     //
     // nextContentUriLabel
     //
     this.nextContentUriLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.nextContentUriLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.nextContentUriLabel.Location = new System.Drawing.Point(104, 31);
     this.nextContentUriLabel.Name = "nextContentUriLabel";
     this.nextContentUriLabel.Size = new System.Drawing.Size(336, 16);
     this.nextContentUriLabel.TabIndex = 5;
     //
     // setNextContentUriButton
     //
     this.setNextContentUriButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.setNextContentUriButton.Location = new System.Drawing.Point(447, 29);
     this.setNextContentUriButton.Name = "setNextContentUriButton";
     this.setNextContentUriButton.Size = new System.Drawing.Size(32, 18);
     this.setNextContentUriButton.TabIndex = 4;
     this.setNextContentUriButton.Text = "Set";
     this.setNextContentUriButton.Click += new System.EventHandler(this.setNextContentUriButton_Click);
     //
     // setContentUriButton
     //
     this.setContentUriButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.setContentUriButton.Location = new System.Drawing.Point(447, 7);
     this.setContentUriButton.Name = "setContentUriButton";
     this.setContentUriButton.Size = new System.Drawing.Size(32, 18);
     this.setContentUriButton.TabIndex = 3;
     this.setContentUriButton.Text = "Set";
     this.setContentUriButton.Click += new System.EventHandler(this.setContentUriButton_Click);
     //
     // contentUriLabel
     //
     this.contentUriLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.contentUriLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.contentUriLabel.Location = new System.Drawing.Point(104, 8);
     this.contentUriLabel.Name = "contentUriLabel";
     this.contentUriLabel.Size = new System.Drawing.Size(336, 16);
     this.contentUriLabel.TabIndex = 2;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 32);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(96, 16);
     this.label2.TabIndex = 1;
     this.label2.Text = "Next Content URI:";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "Content URI:";
     //
     // openFileDialog
     //
     this.openFileDialog.Filter = "Media Files (*.mp3, *.avi, *.wmv, *.wma, *.wav)|*.mp3;*.avi;*.wmv;*.wma;*.wav";
     this.openFileDialog.Title = "Open Media File";
     //
     // progressPanel
     //
     this.progressPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.progressPanel.Controls.Add(this.progressBar);
     this.progressPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.progressPanel.Location = new System.Drawing.Point(0, 409);
     this.progressPanel.Name = "progressPanel";
     this.progressPanel.Size = new System.Drawing.Size(488, 14);
     this.progressPanel.TabIndex = 6;
     //
     // progressBar
     //
     this.progressBar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.progressBar.Location = new System.Drawing.Point(0, 0);
     this.progressBar.Name = "progressBar";
     this.progressBar.Size = new System.Drawing.Size(484, 10);
     this.progressBar.TabIndex = 0;
     //
     // positionTimer
     //
     this.positionTimer.Enabled = true;
     this.positionTimer.Interval = 1000;
     this.positionTimer.Tick += new System.EventHandler(this.positionTimer_Tick);
     //
     // player
     //
     this.player.Dock = System.Windows.Forms.DockStyle.Fill;
     this.player.Enabled = true;
     this.player.Location = new System.Drawing.Point(0, 168);
     this.player.Name = "player";
     this.player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("player.OcxState")));
     this.player.Size = new System.Drawing.Size(488, 241);
     this.player.TabIndex = 7;
     this.player.DoubleClickEvent += new AxWMPLib._WMPOCXEvents_DoubleClickEventHandler(this.player_DoubleClickEvent);
     this.player.MouseDownEvent += new AxWMPLib._WMPOCXEvents_MouseDownEventHandler(this.player_MouseDownEvent);
     this.player.OpenStateChange += new AxWMPLib._WMPOCXEvents_OpenStateChangeEventHandler(this.player_OpenStateChange);
     this.player.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(this.player_PlayStateChange);
     //
     // RendererForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(488, 439);
     this.Controls.Add(this.player);
     this.Controls.Add(this.progressPanel);
     this.Controls.Add(this.connectionPanel);
     this.Controls.Add(this.controlPanel);
     this.Controls.Add(this.statusBar);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.mainMenu;
     this.Name = "RendererForm";
     this.Text = "AV Media Renderer";
     this.Closed += new System.EventHandler(this.OnFormClose);
     this.Load += new System.EventHandler(this.RendererForm_Load);
     this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.RendererForm_HelpRequested);
     this.controlPanel.ResumeLayout(false);
     this.controlPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.RecordRed)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.RecordGrey)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PauseGrey)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StopGrey)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlayGrey)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PauseGreen)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StopGreen)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlayGreen)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.volumeTrackBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mutePictureBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mutedPictureBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.leftChannelTrackBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rightChannelTrackBar)).EndInit();
     this.connectionPanel.ResumeLayout(false);
     this.progressPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.player)).EndInit();
     this.ResumeLayout(false);
 }
Пример #44
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.contentPanel = new System.Windows.Forms.Panel();
     this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
     this.timer2 = new System.Windows.Forms.Timer(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.linkLabel1 = new System.Windows.Forms.LinkLabel();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.timer3 = new System.Windows.Forms.Timer(this.components);
     this.ContentPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // timer1
     //
     this.timer1.Enabled = true;
     this.timer1.Interval = 1;
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // contentPanel
     //
     this.ContentPanel.AutoScroll = true;
     this.ContentPanel.Controls.Add(this.axWindowsMediaPlayer1);
     this.ContentPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ContentPanel.Location = new System.Drawing.Point(0, 22);
     this.ContentPanel.Name = "contentPanel";
     this.ContentPanel.Size = new System.Drawing.Size(667, 419);
     this.ContentPanel.TabIndex = 1;
     this.ContentPanel.VisibleChanged += new System.EventHandler(this.ContentPanel_VisibleChanged);
     this.ContentPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.ContentPanel_Paint);
     //
     // axWindowsMediaPlayer1
     //
     this.axWindowsMediaPlayer1.Enabled = true;
     this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(161, 346);
     this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
     this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
     this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(75, 23);
     this.axWindowsMediaPlayer1.TabIndex = 0;
     this.axWindowsMediaPlayer1.Visible = false;
     //
     // timer2
     //
     this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
     //
     // panel1
     //
     this.panel1.BackgroundImage = global::Spofity.Properties.Resources.ascendia;
     this.panel1.Controls.Add(this.linkLabel1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(667, 22);
     this.panel1.TabIndex = 0;
     this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize = true;
     this.linkLabel1.BackColor = System.Drawing.Color.Transparent;
     this.linkLabel1.Location = new System.Drawing.Point(134, 5);
     this.linkLabel1.Name = "linkLabel1";
     this.linkLabel1.Size = new System.Drawing.Size(55, 13);
     this.linkLabel1.TabIndex = 2;
     this.linkLabel1.TabStop = true;
     this.linkLabel1.Text = "linkLabel1";
     this.linkLabel1.Visible = false;
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(489, 0);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 1;
     this.comboBox1.Visible = false;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     this.comboBox1.SelectedValueChanged += new System.EventHandler(this.comboBox1_SelectedValueChanged);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Dock = System.Windows.Forms.DockStyle.Right;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location = new System.Drawing.Point(567, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(100, 22);
     this.label1.TabIndex = 0;
     this.label1.Text = "Section";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label1.Click += new System.EventHandler(this.label1_Click);
     //
     // timer3
     //
     this.timer3.Enabled = true;
     this.timer3.Interval = 10000;
     this.timer3.Tick += new System.EventHandler(this.timer3_Tick);
     //
     // Form1
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(55)))), ((int)(((byte)(55)))));
     this.ClientSize = new System.Drawing.Size(667, 441);
     this.Controls.Add(this.ContentPanel);
     this.Controls.Add(this.panel1);
     this.DoubleBuffered = true;
     this.ForeColor = System.Drawing.Color.Silver;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "Form1";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.Activated += new System.EventHandler(this.Form1_Activated_1);
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Shown += new System.EventHandler(this.Form1_Shown);
     this.VisibleChanged += new System.EventHandler(this.Form1_VisibleChanged);
     this.ContentPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Пример #45
0
        public void TheFix_Playlist(AxWMPLib.AxWindowsMediaPlayer Player)
        {
            MediaPlayer = Player;
            Index = 0;

            this.play_components = new System.ComponentModel.Container();
            this.CheckSong = new System.Windows.Forms.Timer(this.play_components);
            this.CheckSong.Tick += new System.EventHandler(this.CheckSong_Tick);

            MediaPlayer.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(MediaPlayer_PlayStateChange);

            Play();
        }
Пример #46
0
 /// <summary>
 /// �f�U�C�i �T�|�[�g�ɕK�v�ȃ��\�b�h�ł��B���̃��\�b�h�̓�e��
 /// �R�[�h �G�f�B�^�ŕύX���Ȃ��ł��������B
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
     this.SuspendLayout();
     //
     // listBox1
     //
     this.listBox1.ItemHeight = 12;
     this.listBox1.Location = new System.Drawing.Point(8, 8);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(264, 220);
     this.listBox1.TabIndex = 0;
     //
     // axWindowsMediaPlayer1
     //
     this.axWindowsMediaPlayer1.Enabled = true;
     this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(280, 8);
     this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
     this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
     this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(288, 224);
     this.axWindowsMediaPlayer1.TabIndex = 1;
     this.axWindowsMediaPlayer1.OpenStateChange += new AxWMPLib._WMPOCXEvents_OpenStateChangeEventHandler(this.axWindowsMediaPlayer1_OpenStateChange);
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem1});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem2});
     this.menuItem1.Text = "�t�@�C��";
     //
     // menuItem2
     //
     this.menuItem2.Index = 0;
     this.menuItem2.Text = "�J��";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize = new System.Drawing.Size(576, 238);
     this.Controls.Add(this.axWindowsMediaPlayer1);
     this.Controls.Add(this.listBox1);
     this.Menu = this.mainMenu1;
     this.Name = "Form1";
     this.Text = "�}�[�J�[�`�F�b�J�[";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #47
0
		private void LoadPLayer(PlayerType Player)
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PlaybackCtrl));
			switch(Player)
			{
				case PlayerType.CarverLabPlayer:
					throw new NotSupportedException("Player type not supported.");
//					if(axWMPlayer1 != null)
//					{
//						try
//						{
//							axWMPlayer1.Ctlcontrols.stop();						
//						}
//						catch(Exception Err)
//						{
//							string peekErrorTrap = Err.Message;
//						}						
//					}
//					if(this.axUMediaPlayer1 == null)
//					{
//					
//						try
//						{
//							this.axUMediaPlayer1 = new AxUMediaControlLib.AxUMediaPlayer();
//						}
//						catch(Exception Err)
//						{
//							throw new Exception("Player does not exist.");
//						}
//						((System.ComponentModel.ISupportInitialize)(this.axUMediaPlayer1)).BeginInit();
//						//			((System.ComponentModel.ISupportInitialize)(this.axUMediaPlayer1)).EndInit();
//						/// Add Carver Lab Player to pnlVideo since it is known to be good
//						try
//						{					
//							this.pnlVideo.Controls.Add(this.axUMediaPlayer1);
//						}
//						catch(Exception Err)
//						{
//							string peekErrorTrap = Err.Message;
//						}
//						// 
//						// axUMediaPlayer1
//						// 
//						this.axUMediaPlayer1.ContainingControl = this;
//						this.axUMediaPlayer1.Dock = System.Windows.Forms.DockStyle.Fill;
//						this.axUMediaPlayer1.Enabled = true;
//						this.axUMediaPlayer1.Location = new System.Drawing.Point(0, 0);
//						this.axUMediaPlayer1.Name = "axUMediaPlayer1";
//						//this.axUMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axUMediaPlayer1.OcxState")));
//						this.axUMediaPlayer1.Size = new System.Drawing.Size(420, 268);
//						this.axUMediaPlayer1.TabIndex = 0;						
//						((System.ComponentModel.ISupportInitialize)(this.axUMediaPlayer1)).EndInit();
//					}
//					this.m_PlayerType = PlayerType.CarverLabPlayer;
//					this.m_Player = this.axUMediaPlayer1;
//					
//					this.axUMediaPlayer1.Visible = true;
//					this.axUMediaPlayer1.EnableFlowControl = false;
//					this.axUMediaPlayer1.EnableContextMenu = false;
//					if(this.axWMPlayer1 != null)
//					{
//						this.axWMPlayer1.Visible = false;
//					}
//					break;
				case PlayerType.WindowMediaPlayer:
//					if(axUMediaPlayer1 != null)
//					{
//						try
//						{
//							axUMediaPlayer1.Stop();						
//						}
//						catch(Exception Err)
//						{
//							string peekErrorTrap = Err.Message;
//						}						
//					}
					if(this.axWMPlayer1 == null)
					{
					
						try
						{					
							this.axWMPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
						}
						catch
						{
							throw new Exception("Player does not exist.");

						}
						((System.ComponentModel.ISupportInitialize)(this.axWMPlayer1)).BeginInit();
						/// Add Windows Media Player to pnlVideo since it is known to be good
						try
						{					
							this.pnlVideo.Controls.Add(this.axWMPlayer1);
						}
						catch(Exception Err)
						{
							string peekErrorTrap = Err.Message;
						}				

						// 
						// axWMPlayer1
						// 
						this.axWMPlayer1.ContainingControl = this;
						this.axWMPlayer1.Dock = System.Windows.Forms.DockStyle.Fill;
						this.axWMPlayer1.Enabled = true;						
						this.axWMPlayer1.Location = new System.Drawing.Point(0, 0);
						this.axWMPlayer1.Name = "axWMPlayer1";
						this.axWMPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWMPlayer1.OcxState")));
						this.axWMPlayer1.Size = new System.Drawing.Size(420, 268);
						this.axWMPlayer1.TabIndex = 1;	
						
						((System.ComponentModel.ISupportInitialize)(this.axWMPlayer1)).EndInit();
					}
					this.axWMPlayer1.Visible = true;
					this.m_PlayerType = PlayerType.WindowMediaPlayer;
					this.m_Player = this.axWMPlayer1;
					this.axWMPlayer1.settings.invokeURLs = false;
					this.axWMPlayer1.uiMode = "none"; 
					this.axWMPlayer1.enableContextMenu = false;					
					this.axWMPlayer1.stretchToFit = true;
//					if(this.axUMediaPlayer1 != null)
//					{
//						this.axUMediaPlayer1.Visible = false;
//					}					
					break;
			}			
		}
Пример #48
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.mnuSave = new System.Windows.Forms.MenuItem();
     this.mnuSaveAs = new System.Windows.Forms.MenuItem();
     this.mnuOpenMedia = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.mnuLibraryAttributesByType = new System.Windows.Forms.MenuItem();
     this.mnuCDTOC = new System.Windows.Forms.MenuItem();
     this.mnuCDTrack = new System.Windows.Forms.MenuItem();
     this.mnuDVDTOC = new System.Windows.Forms.MenuItem();
     this.mnuDVDTitleChapter = new System.Windows.Forms.MenuItem();
     this.mnuPlaylistCollection = new System.Windows.Forms.MenuItem();
     this.mnuCurrentMedia = new System.Windows.Forms.MenuItem();
     this.mnuCurrentPlaylist = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.btnTop = new System.Windows.Forms.Button();
     this.btnTitle = new System.Windows.Forms.Button();
     this.cmbDrives = new System.Windows.Forms.ComboBox();
     this.chkVals = new System.Windows.Forms.CheckBox();
     this.chkReadOnly = new System.Windows.Forms.CheckBox();
     this.listView1 = new System.Windows.Forms.ListView();
     this.colSchema = new System.Windows.Forms.ColumnHeader();
     this.colAttribute = new System.Windows.Forms.ColumnHeader();
     this.colValue = new System.Windows.Forms.ColumnHeader();
     this.colWritable = new System.Windows.Forms.ColumnHeader();
     this.lblStatus = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.chkLegacyMC = new System.Windows.Forms.CheckBox();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.Player = new AxWMPLib.AxWindowsMediaPlayer();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Player)).BeginInit();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.menuItem3,
     this.menuItem5,
     this.menuItem6});
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.mnuSave,
     this.mnuSaveAs,
     this.mnuOpenMedia});
     this.menuItem3.Text = "File";
     //
     // mnuSave
     //
     this.mnuSave.Index = 0;
     this.mnuSave.Text = "Save";
     this.mnuSave.Click += new System.EventHandler(this.mnuSave_Click);
     //
     // mnuSaveAs
     //
     this.mnuSaveAs.Index = 1;
     this.mnuSaveAs.Text = "Save as...";
     this.mnuSaveAs.Click += new System.EventHandler(this.mnuSaveAs_Click);
     //
     // mnuOpenMedia
     //
     this.mnuOpenMedia.Index = 2;
     this.mnuOpenMedia.Text = "Open media";
     this.mnuOpenMedia.Click += new System.EventHandler(this.mnuOpenMedia_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 1;
     this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this.mnuLibraryAttributesByType,
     this.mnuCDTOC,
     this.mnuCDTrack,
     this.mnuDVDTOC,
     this.mnuDVDTitleChapter,
     this.mnuPlaylistCollection,
     this.mnuCurrentMedia,
     this.mnuCurrentPlaylist});
     this.menuItem5.Text = "Capture";
     //
     // mnuLibraryAttributesByType
     //
     this.mnuLibraryAttributesByType.Index = 0;
     this.mnuLibraryAttributesByType.Text = "Library Attributes by Media Type";
     this.mnuLibraryAttributesByType.Click += new System.EventHandler(this.mnuLibraryAttributes_Click);
     //
     // mnuCDTOC
     //
     this.mnuCDTOC.Index = 1;
     this.mnuCDTOC.Text = "CD TOC Attributes";
     this.mnuCDTOC.Click += new System.EventHandler(this.mnuCDTOC_Click);
     //
     // mnuCDTrack
     //
     this.mnuCDTrack.Index = 2;
     this.mnuCDTrack.Text = "CD Track Attributes";
     this.mnuCDTrack.Click += new System.EventHandler(this.mnuCDTrack_Click);
     //
     // mnuDVDTOC
     //
     this.mnuDVDTOC.Index = 3;
     this.mnuDVDTOC.Text = "DVD TOC Attributes";
     this.mnuDVDTOC.Click += new System.EventHandler(this.mnuDVDTOC_Click);
     //
     // mnuDVDTitleChapter
     //
     this.mnuDVDTitleChapter.Index = 4;
     this.mnuDVDTitleChapter.Text = "DVD Title/Chapter Attributes";
     this.mnuDVDTitleChapter.Click += new System.EventHandler(this.mnuDVDTitleChapter_Click);
     //
     // mnuPlaylistCollection
     //
     this.mnuPlaylistCollection.Index = 5;
     this.mnuPlaylistCollection.Text = "PlaylistCollection Attributes";
     this.mnuPlaylistCollection.Click += new System.EventHandler(this.mnuPlaylistCollection_Click);
     //
     // mnuCurrentMedia
     //
     this.mnuCurrentMedia.Index = 6;
     this.mnuCurrentMedia.Text = "Current Media Attributes";
     this.mnuCurrentMedia.Click += new System.EventHandler(this.mnuCurrentMedia_Click);
     //
     // mnuCurrentPlaylist
     //
     this.mnuCurrentPlaylist.Index = 7;
     this.mnuCurrentPlaylist.Text = "Current Playlist Attributes";
     this.mnuCurrentPlaylist.Click += new System.EventHandler(this.mnuCurrentPlaylist_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 2;
     this.menuItem6.Text = "";
     //
     // btnTop
     //
     this.btnTop.Location = new System.Drawing.Point(40, 24);
     this.btnTop.Name = "btnTop";
     this.btnTop.Size = new System.Drawing.Size(75, 23);
     this.btnTop.TabIndex = 2;
     this.btnTop.Text = "Top Menu";
     this.btnTop.Click += new System.EventHandler(this.btnTop_Click);
     //
     // btnTitle
     //
     this.btnTitle.Location = new System.Drawing.Point(40, 56);
     this.btnTitle.Name = "btnTitle";
     this.btnTitle.Size = new System.Drawing.Size(75, 23);
     this.btnTitle.TabIndex = 3;
     this.btnTitle.Text = "Title Menu";
     this.btnTitle.Click += new System.EventHandler(this.btnTitle_Click);
     //
     // cmbDrives
     //
     this.cmbDrives.Location = new System.Drawing.Point(34, 38);
     this.cmbDrives.Name = "cmbDrives";
     this.cmbDrives.Size = new System.Drawing.Size(64, 21);
     this.cmbDrives.TabIndex = 4;
     this.cmbDrives.SelectedIndexChanged += new System.EventHandler(this.cmbDrives_SelectedIndexChanged);
     //
     // chkVals
     //
     this.chkVals.Location = new System.Drawing.Point(16, 56);
     this.chkVals.Name = "chkVals";
     this.chkVals.Size = new System.Drawing.Size(104, 24);
     this.chkVals.TabIndex = 5;
     this.chkVals.Text = "Values";
     this.chkVals.CheckedChanged += new System.EventHandler(this.chkVals_CheckedChanged);
     //
     // chkReadOnly
     //
     this.chkReadOnly.Location = new System.Drawing.Point(16, 32);
     this.chkReadOnly.Name = "chkReadOnly";
     this.chkReadOnly.Size = new System.Drawing.Size(104, 24);
     this.chkReadOnly.TabIndex = 6;
     this.chkReadOnly.Text = "R/O Status";
     this.chkReadOnly.CheckedChanged += new System.EventHandler(this.chkReadOnly_CheckedChanged);
     //
     // listView1
     //
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this.colSchema,
     this.colAttribute,
     this.colValue,
     this.colWritable});
     this.listView1.GridLines = true;
     this.listView1.Location = new System.Drawing.Point(8, 216);
     this.listView1.Name = "listView1";
     this.listView1.Size = new System.Drawing.Size(640, 272);
     this.listView1.TabIndex = 8;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // colSchema
     //
     this.colSchema.Text = "Schema";
     this.colSchema.Width = 80;
     //
     // colAttribute
     //
     this.colAttribute.Text = "Attribute";
     this.colAttribute.Width = 150;
     //
     // colValue
     //
     this.colValue.Text = "Value";
     this.colValue.Width = 330;
     //
     // colWritable
     //
     this.colWritable.Text = "ReadOnly";
     //
     // lblStatus
     //
     this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblStatus.Location = new System.Drawing.Point(8, 496);
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.Size = new System.Drawing.Size(640, 24);
     this.lblStatus.TabIndex = 9;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnTop);
     this.groupBox1.Controls.Add(this.btnTitle);
     this.groupBox1.Location = new System.Drawing.Point(176, 8);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(160, 104);
     this.groupBox1.TabIndex = 10;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "DVD Menus";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.chkVals);
     this.groupBox2.Controls.Add(this.chkReadOnly);
     this.groupBox2.Location = new System.Drawing.Point(16, 8);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(144, 104);
     this.groupBox2.TabIndex = 11;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Log options";
     //
     // chkLegacyMC
     //
     this.chkLegacyMC.AutoSize = true;
     this.chkLegacyMC.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chkLegacyMC.Location = new System.Drawing.Point(10, 41);
     this.chkLegacyMC.Name = "chkLegacyMC";
     this.chkLegacyMC.Size = new System.Drawing.Size(150, 17);
     this.chkLegacyMC.TabIndex = 14;
     this.chkLegacyMC.Text = "Use IWMPLibraryServices";
     this.chkLegacyMC.UseVisualStyleBackColor = true;
     this.chkLegacyMC.CheckedChanged += new System.EventHandler(this.chkLegacyMC_CheckedChanged);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.chkLegacyMC);
     this.groupBox3.Location = new System.Drawing.Point(16, 118);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(178, 90);
     this.groupBox3.TabIndex = 15;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Library";
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.cmbDrives);
     this.groupBox4.Location = new System.Drawing.Point(200, 118);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(133, 90);
     this.groupBox4.TabIndex = 16;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "CD/DVD Drive";
     //
     // Player
     //
     this.Player.Enabled = true;
     this.Player.Location = new System.Drawing.Point(352, 8);
     this.Player.Name = "Player";
     this.Player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Player.OcxState")));
     this.Player.Size = new System.Drawing.Size(288, 200);
     this.Player.TabIndex = 0;
     this.Player.OpenPlaylistSwitch += new AxWMPLib._WMPOCXEvents_OpenPlaylistSwitchEventHandler(this.Player_OpenPlaylistSwitch);
     this.Player.OpenStateChange += new AxWMPLib._WMPOCXEvents_OpenStateChangeEventHandler(this.Player_OpenStateChange);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(664, 528);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.lblStatus);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.Player);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Menu = this.mainMenu1;
     this.Name = "Form1";
     this.Text = "Schema and Attribute Viewer";
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Player)).EndInit();
     this.ResumeLayout(false);
 }
Пример #49
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCBaseControl));
     this.player = new AxWMPLib.AxWindowsMediaPlayer();
     ((System.ComponentModel.ISupportInitialize)(this.player)).BeginInit();
     this.SuspendLayout();
     //
     // player
     //
     this.player.Enabled = true;
     this.player.Location = new System.Drawing.Point(0, 0);
     this.player.Name = "player";
     this.player.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("player.OcxState")));
     this.player.Size = new System.Drawing.Size(75, 23);
     this.player.TabIndex = 0;
     this.player.Visible = false;
     //
     // UCBaseControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.player);
     this.Cursor = System.Windows.Forms.Cursors.PanWest;
     this.Name = "UCBaseControl";
     this.Size = new System.Drawing.Size(163, 25);
     ((System.ComponentModel.ISupportInitialize)(this.player)).EndInit();
     this.ResumeLayout(false);
 }
Пример #50
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.pnlUserInfo = new System.Windows.Forms.Panel();
     this.lbPassword = new System.Windows.Forms.Label();
     this.tbPassword = new System.Windows.Forms.TextBox();
     this.lbLoginName = new System.Windows.Forms.Label();
     this.tbLoginName = new System.Windows.Forms.TextBox();
     this.lbCardNumber = new System.Windows.Forms.Label();
     this.tbCardNumber = new System.Windows.Forms.TextBox();
     this.tbLastName = new System.Windows.Forms.TextBox();
     this.lbMiddleName = new System.Windows.Forms.Label();
     this.lbFirstName = new System.Windows.Forms.Label();
     this.tbMiddleName = new System.Windows.Forms.TextBox();
     this.tbFirstName = new System.Windows.Forms.TextBox();
     this.lbLastName = new System.Windows.Forms.Label();
     this.labelUD1A = new System.Windows.Forms.Label();
     this.lbUserInfo = new System.Windows.Forms.Label();
     this.lvMemberGroup = new System.Windows.Forms.ListView();
     this.clmBodyName = new System.Windows.Forms.ColumnHeader();
     this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
     this.pnlGroupInfo = new System.Windows.Forms.Panel();
     this.lstvMembersOfGroup = new System.Windows.Forms.ListView();
     this.clmLastName = new System.Windows.Forms.ColumnHeader();
     this.clmFirstName = new System.Windows.Forms.ColumnHeader();
     this.clmMiddleName = new System.Windows.Forms.ColumnHeader();
     this.lbMembersOfGroup = new System.Windows.Forms.Label();
     this.lbGroupLabel = new System.Windows.Forms.Label();
     this.lbGroupOwner = new System.Windows.Forms.Label();
     this.lbGroupDescription = new System.Windows.Forms.Label();
     this.tbGroupDescription = new System.Windows.Forms.TextBox();
     this.tbGroupOwner = new System.Windows.Forms.TextBox();
     this.cbGroupOwner = new System.Windows.Forms.ComboBox();
     this.ForwardTimer = new System.Windows.Forms.Timer(this.components);
     this.pnlMainInfo = new System.Windows.Forms.Panel();
     this.pnlCameraInfo = new System.Windows.Forms.Panel();
     this.lbCameraInfo = new System.Windows.Forms.Label();
     this.pnlCameraPlayer = new System.Windows.Forms.Panel();
     this.CameraPlayer = new AxWMPLib.AxWindowsMediaPlayer();
     this.pnlRecordingInfo = new System.Windows.Forms.Panel();
     this.lbRecordingInfo = new System.Windows.Forms.Label();
     this.pnlMediaPlayerControls = new System.Windows.Forms.Panel();
     this.btnReverse = new System.Windows.Forms.Button();
     this.tbSec = new System.Windows.Forms.TextBox();
     this.lbc2 = new System.Windows.Forms.Label();
     this.tbMin = new System.Windows.Forms.TextBox();
     this.lbc1 = new System.Windows.Forms.Label();
     this.tbHR = new System.Windows.Forms.TextBox();
     this.btnGoTo = new System.Windows.Forms.Button();
     this.btnPlay = new System.Windows.Forms.Button();
     this.btnPause = new System.Windows.Forms.Button();
     this.btnStop = new System.Windows.Forms.Button();
     this.btnForward = new System.Windows.Forms.Button();
     this.pnlMediaPlayer = new System.Windows.Forms.Panel();
     this.MediaPlayer = new AxWMPLib.AxWindowsMediaPlayer();
     this.panel2 = new System.Windows.Forms.Panel();
     this.pnlBigMain = new System.Windows.Forms.Panel();
     this.tbActionBar = new System.Windows.Forms.ToolBar();
     this.btnNew = new System.Windows.Forms.ToolBarButton();
     this.Serator = new System.Windows.Forms.ToolBarButton();
     this.btnNew2 = new System.Windows.Forms.ToolBarButton();
     this.Seperator2 = new System.Windows.Forms.ToolBarButton();
     this.btnEdit = new System.Windows.Forms.ToolBarButton();
     this.Seperator3 = new System.Windows.Forms.ToolBarButton();
     this.btnDelete = new System.Windows.Forms.ToolBarButton();
     this.Seperator4 = new System.Windows.Forms.ToolBarButton();
     this.btnNotes = new System.Windows.Forms.ToolBarButton();
     this.splitter2 = new System.Windows.Forms.Splitter();
     this.pnlTreeView = new System.Windows.Forms.Panel();
     this.tabMain = new System.Windows.Forms.TabControl();
     this.tabRecordings = new System.Windows.Forms.TabPage();
     this.treeView1 = new System.Windows.Forms.TreeView();
     this.imgL1 = new System.Windows.Forms.ImageList(this.components);
     this.tabCameras = new System.Windows.Forms.TabPage();
     this.tvCameras = new System.Windows.Forms.TreeView();
     this.imgL2 = new System.Windows.Forms.ImageList(this.components);
     this.ReverseTimer = new System.Windows.Forms.Timer(this.components);
     this.StatusInfo = new System.Windows.Forms.StatusBar();
     this.sbInfo = new System.Windows.Forms.StatusBarPanel();
     this.sbVideoLabel = new System.Windows.Forms.StatusBarPanel();
     this.sbVideoTime = new System.Windows.Forms.StatusBarPanel();
     this.sbTotalDuration = new System.Windows.Forms.StatusBarPanel();
     this.sbTotalTime = new System.Windows.Forms.StatusBarPanel();
     this.sbLogTime = new System.Windows.Forms.StatusBarPanel();
     this.sbConnected = new System.Windows.Forms.StatusBarPanel();
     this.StatusTimer = new System.Windows.Forms.Timer(this.components);
     this.ActivityTimer = new System.Windows.Forms.Timer(this.components);
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.mnuSystem = new System.Windows.Forms.MenuItem();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.mnuHelp = new System.Windows.Forms.MenuItem();
     this.mnuLogOff = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.pnlUserInfo.SuspendLayout();
     this.pnlGroupInfo.SuspendLayout();
     this.pnlMainInfo.SuspendLayout();
     this.pnlCameraInfo.SuspendLayout();
     this.pnlCameraPlayer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CameraPlayer)).BeginInit();
     this.pnlRecordingInfo.SuspendLayout();
     this.pnlMediaPlayerControls.SuspendLayout();
     this.pnlMediaPlayer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.MediaPlayer)).BeginInit();
     this.panel2.SuspendLayout();
     this.pnlBigMain.SuspendLayout();
     this.pnlTreeView.SuspendLayout();
     this.tabMain.SuspendLayout();
     this.tabRecordings.SuspendLayout();
     this.tabCameras.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sbInfo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbVideoLabel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbVideoTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbTotalDuration)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbTotalTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbLogTime)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbConnected)).BeginInit();
     this.SuspendLayout();
     //
     // pnlUserInfo
     //
     this.pnlUserInfo.AutoScroll = true;
     this.pnlUserInfo.BackColor = System.Drawing.SystemColors.Control;
     this.pnlUserInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlUserInfo.Controls.Add(this.lbPassword);
     this.pnlUserInfo.Controls.Add(this.tbPassword);
     this.pnlUserInfo.Controls.Add(this.lbLoginName);
     this.pnlUserInfo.Controls.Add(this.tbLoginName);
     this.pnlUserInfo.Controls.Add(this.lbCardNumber);
     this.pnlUserInfo.Controls.Add(this.tbCardNumber);
     this.pnlUserInfo.Controls.Add(this.tbLastName);
     this.pnlUserInfo.Controls.Add(this.lbMiddleName);
     this.pnlUserInfo.Controls.Add(this.lbFirstName);
     this.pnlUserInfo.Controls.Add(this.tbMiddleName);
     this.pnlUserInfo.Controls.Add(this.tbFirstName);
     this.pnlUserInfo.Controls.Add(this.lbLastName);
     this.pnlUserInfo.Controls.Add(this.labelUD1A);
     this.pnlUserInfo.Controls.Add(this.lbUserInfo);
     this.pnlUserInfo.Controls.Add(this.lvMemberGroup);
     this.pnlUserInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlUserInfo.Location = new System.Drawing.Point(0, 0);
     this.pnlUserInfo.Name = "pnlUserInfo";
     this.pnlUserInfo.Size = new System.Drawing.Size(724, 654);
     this.pnlUserInfo.TabIndex = 11;
     this.pnlUserInfo.Visible = false;
     //
     // lbPassword
     //
     this.lbPassword.AutoSize = true;
     this.lbPassword.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbPassword.Location = new System.Drawing.Point(64, 272);
     this.lbPassword.Name = "lbPassword";
     this.lbPassword.Size = new System.Drawing.Size(73, 21);
     this.lbPassword.TabIndex = 86;
     this.lbPassword.Text = "Password";
     this.lbPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tbPassword
     //
     this.tbPassword.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbPassword.Location = new System.Drawing.Point(152, 272);
     this.tbPassword.Name = "tbPassword";
     this.tbPassword.PasswordChar = '*';
     this.tbPassword.ReadOnly = true;
     this.tbPassword.Size = new System.Drawing.Size(224, 25);
     this.tbPassword.TabIndex = 84;
     this.tbPassword.TabStop = false;
     this.tbPassword.Text = "";
     //
     // lbLoginName
     //
     this.lbLoginName.AutoSize = true;
     this.lbLoginName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbLoginName.Location = new System.Drawing.Point(48, 224);
     this.lbLoginName.Name = "lbLoginName";
     this.lbLoginName.Size = new System.Drawing.Size(89, 21);
     this.lbLoginName.TabIndex = 88;
     this.lbLoginName.Text = "Login Name";
     this.lbLoginName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tbLoginName
     //
     this.tbLoginName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbLoginName.Location = new System.Drawing.Point(152, 224);
     this.tbLoginName.Name = "tbLoginName";
     this.tbLoginName.ReadOnly = true;
     this.tbLoginName.Size = new System.Drawing.Size(224, 25);
     this.tbLoginName.TabIndex = 83;
     this.tbLoginName.TabStop = false;
     this.tbLoginName.Text = "";
     //
     // lbCardNumber
     //
     this.lbCardNumber.AutoSize = true;
     this.lbCardNumber.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbCardNumber.Location = new System.Drawing.Point(40, 320);
     this.lbCardNumber.Name = "lbCardNumber";
     this.lbCardNumber.Size = new System.Drawing.Size(98, 21);
     this.lbCardNumber.TabIndex = 87;
     this.lbCardNumber.Text = "Card Number";
     this.lbCardNumber.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tbCardNumber
     //
     this.tbCardNumber.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
     this.tbCardNumber.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbCardNumber.Location = new System.Drawing.Point(152, 320);
     this.tbCardNumber.Name = "tbCardNumber";
     this.tbCardNumber.PasswordChar = '*';
     this.tbCardNumber.ReadOnly = true;
     this.tbCardNumber.Size = new System.Drawing.Size(224, 25);
     this.tbCardNumber.TabIndex = 85;
     this.tbCardNumber.TabStop = false;
     this.tbCardNumber.Text = "";
     //
     // tbLastName
     //
     this.tbLastName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbLastName.Location = new System.Drawing.Point(152, 176);
     this.tbLastName.Name = "tbLastName";
     this.tbLastName.ReadOnly = true;
     this.tbLastName.Size = new System.Drawing.Size(224, 25);
     this.tbLastName.TabIndex = 78;
     this.tbLastName.TabStop = false;
     this.tbLastName.Text = "";
     //
     // lbMiddleName
     //
     this.lbMiddleName.AutoSize = true;
     this.lbMiddleName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbMiddleName.Location = new System.Drawing.Point(40, 136);
     this.lbMiddleName.Name = "lbMiddleName";
     this.lbMiddleName.Size = new System.Drawing.Size(97, 21);
     this.lbMiddleName.TabIndex = 81;
     this.lbMiddleName.Text = "Middle Name";
     this.lbMiddleName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lbFirstName
     //
     this.lbFirstName.AutoSize = true;
     this.lbFirstName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbFirstName.Location = new System.Drawing.Point(48, 88);
     this.lbFirstName.Name = "lbFirstName";
     this.lbFirstName.Size = new System.Drawing.Size(81, 21);
     this.lbFirstName.TabIndex = 80;
     this.lbFirstName.Text = "First Name";
     this.lbFirstName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tbMiddleName
     //
     this.tbMiddleName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbMiddleName.Location = new System.Drawing.Point(152, 128);
     this.tbMiddleName.MaxLength = 3200;
     this.tbMiddleName.Name = "tbMiddleName";
     this.tbMiddleName.ReadOnly = true;
     this.tbMiddleName.Size = new System.Drawing.Size(224, 25);
     this.tbMiddleName.TabIndex = 79;
     this.tbMiddleName.TabStop = false;
     this.tbMiddleName.Text = "";
     this.tbMiddleName.WordWrap = false;
     //
     // tbFirstName
     //
     this.tbFirstName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbFirstName.Location = new System.Drawing.Point(152, 87);
     this.tbFirstName.Name = "tbFirstName";
     this.tbFirstName.ReadOnly = true;
     this.tbFirstName.Size = new System.Drawing.Size(224, 25);
     this.tbFirstName.TabIndex = 77;
     this.tbFirstName.TabStop = false;
     this.tbFirstName.Text = "";
     //
     // lbLastName
     //
     this.lbLastName.AutoSize = true;
     this.lbLastName.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbLastName.Location = new System.Drawing.Point(56, 184);
     this.lbLastName.Name = "lbLastName";
     this.lbLastName.Size = new System.Drawing.Size(80, 21);
     this.lbLastName.TabIndex = 82;
     this.lbLastName.Text = "Last Name";
     this.lbLastName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // labelUD1A
     //
     this.labelUD1A.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelUD1A.Location = new System.Drawing.Point(384, 56);
     this.labelUD1A.Name = "labelUD1A";
     this.labelUD1A.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.labelUD1A.Size = new System.Drawing.Size(312, 16);
     this.labelUD1A.TabIndex = 74;
     this.labelUD1A.Text = "Current Memberships";
     this.labelUD1A.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.labelUD1A.Click += new System.EventHandler(this.labelUD1A_Click);
     //
     // lbUserInfo
     //
     this.lbUserInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbUserInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.lbUserInfo.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbUserInfo.Location = new System.Drawing.Point(0, 0);
     this.lbUserInfo.Name = "lbUserInfo";
     this.lbUserInfo.Size = new System.Drawing.Size(720, 40);
     this.lbUserInfo.TabIndex = 72;
     this.lbUserInfo.Text = "Creating: New User";
     this.lbUserInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lvMemberGroup
     //
     this.lvMemberGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.lvMemberGroup.BackColor = System.Drawing.SystemColors.Window;
     this.lvMemberGroup.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                     this.clmBodyName,
                                                                                     this.columnHeader1});
     this.lvMemberGroup.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lvMemberGroup.FullRowSelect = true;
     this.lvMemberGroup.GridLines = true;
     this.lvMemberGroup.Location = new System.Drawing.Point(380, 80);
     this.lvMemberGroup.MultiSelect = false;
     this.lvMemberGroup.Name = "lvMemberGroup";
     this.lvMemberGroup.Size = new System.Drawing.Size(340, 488);
     this.lvMemberGroup.Sorting = System.Windows.Forms.SortOrder.Ascending;
     this.lvMemberGroup.TabIndex = 73;
     this.lvMemberGroup.View = System.Windows.Forms.View.Details;
     //
     // clmBodyName
     //
     this.clmBodyName.Text = "Description";
     this.clmBodyName.Width = 170;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Type";
     this.columnHeader1.Width = 116;
     //
     // pnlGroupInfo
     //
     this.pnlGroupInfo.AutoScroll = true;
     this.pnlGroupInfo.BackColor = System.Drawing.SystemColors.Control;
     this.pnlGroupInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlGroupInfo.Controls.Add(this.lstvMembersOfGroup);
     this.pnlGroupInfo.Controls.Add(this.lbMembersOfGroup);
     this.pnlGroupInfo.Controls.Add(this.lbGroupLabel);
     this.pnlGroupInfo.Controls.Add(this.lbGroupOwner);
     this.pnlGroupInfo.Controls.Add(this.lbGroupDescription);
     this.pnlGroupInfo.Controls.Add(this.tbGroupDescription);
     this.pnlGroupInfo.Controls.Add(this.tbGroupOwner);
     this.pnlGroupInfo.Controls.Add(this.cbGroupOwner);
     this.pnlGroupInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlGroupInfo.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.pnlGroupInfo.ForeColor = System.Drawing.SystemColors.ControlText;
     this.pnlGroupInfo.Location = new System.Drawing.Point(0, 0);
     this.pnlGroupInfo.Name = "pnlGroupInfo";
     this.pnlGroupInfo.Size = new System.Drawing.Size(724, 654);
     this.pnlGroupInfo.TabIndex = 12;
     //
     // lstvMembersOfGroup
     //
     this.lstvMembersOfGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.lstvMembersOfGroup.BackColor = System.Drawing.SystemColors.Window;
     this.lstvMembersOfGroup.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                          this.clmLastName,
                                                                                          this.clmFirstName,
                                                                                          this.clmMiddleName});
     this.lstvMembersOfGroup.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lstvMembersOfGroup.FullRowSelect = true;
     this.lstvMembersOfGroup.GridLines = true;
     this.lstvMembersOfGroup.Location = new System.Drawing.Point(376, 80);
     this.lstvMembersOfGroup.MultiSelect = false;
     this.lstvMembersOfGroup.Name = "lstvMembersOfGroup";
     this.lstvMembersOfGroup.Size = new System.Drawing.Size(340, 488);
     this.lstvMembersOfGroup.Sorting = System.Windows.Forms.SortOrder.Ascending;
     this.lstvMembersOfGroup.TabIndex = 77;
     this.lstvMembersOfGroup.View = System.Windows.Forms.View.Details;
     //
     // clmLastName
     //
     this.clmLastName.Text = "Last Name";
     this.clmLastName.Width = 103;
     //
     // clmFirstName
     //
     this.clmFirstName.Text = "First Name";
     this.clmFirstName.Width = 117;
     //
     // clmMiddleName
     //
     this.clmMiddleName.Text = "Middle";
     this.clmMiddleName.Width = 76;
     //
     // lbMembersOfGroup
     //
     this.lbMembersOfGroup.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbMembersOfGroup.Location = new System.Drawing.Point(376, 48);
     this.lbMembersOfGroup.Name = "lbMembersOfGroup";
     this.lbMembersOfGroup.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lbMembersOfGroup.Size = new System.Drawing.Size(312, 24);
     this.lbMembersOfGroup.TabIndex = 78;
     this.lbMembersOfGroup.Text = "Members of Course";
     //
     // lbGroupLabel
     //
     this.lbGroupLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbGroupLabel.Dock = System.Windows.Forms.DockStyle.Top;
     this.lbGroupLabel.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbGroupLabel.Location = new System.Drawing.Point(0, 0);
     this.lbGroupLabel.Name = "lbGroupLabel";
     this.lbGroupLabel.Size = new System.Drawing.Size(720, 40);
     this.lbGroupLabel.TabIndex = 73;
     this.lbGroupLabel.Text = "Creating: New Course";
     this.lbGroupLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // lbGroupOwner
     //
     this.lbGroupOwner.Location = new System.Drawing.Point(0, 145);
     this.lbGroupOwner.Name = "lbGroupOwner";
     this.lbGroupOwner.Size = new System.Drawing.Size(152, 24);
     this.lbGroupOwner.TabIndex = 52;
     this.lbGroupOwner.Text = "Course Instructor";
     this.lbGroupOwner.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lbGroupDescription
     //
     this.lbGroupDescription.Location = new System.Drawing.Point(5, 79);
     this.lbGroupDescription.Name = "lbGroupDescription";
     this.lbGroupDescription.Size = new System.Drawing.Size(152, 43);
     this.lbGroupDescription.TabIndex = 48;
     this.lbGroupDescription.Text = "Course Description";
     this.lbGroupDescription.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tbGroupDescription
     //
     this.tbGroupDescription.Location = new System.Drawing.Point(157, 87);
     this.tbGroupDescription.Name = "tbGroupDescription";
     this.tbGroupDescription.ReadOnly = true;
     this.tbGroupDescription.Size = new System.Drawing.Size(211, 26);
     this.tbGroupDescription.TabIndex = 40;
     this.tbGroupDescription.TabStop = false;
     this.tbGroupDescription.Text = "";
     //
     // tbGroupOwner
     //
     this.tbGroupOwner.Location = new System.Drawing.Point(157, 144);
     this.tbGroupOwner.Name = "tbGroupOwner";
     this.tbGroupOwner.ReadOnly = true;
     this.tbGroupOwner.Size = new System.Drawing.Size(211, 26);
     this.tbGroupOwner.TabIndex = 81;
     this.tbGroupOwner.TabStop = false;
     this.tbGroupOwner.Text = "";
     //
     // cbGroupOwner
     //
     this.cbGroupOwner.Location = new System.Drawing.Point(157, 144);
     this.cbGroupOwner.Name = "cbGroupOwner";
     this.cbGroupOwner.Size = new System.Drawing.Size(203, 26);
     this.cbGroupOwner.TabIndex = 41;
     //
     // ForwardTimer
     //
     this.ForwardTimer.Tick += new System.EventHandler(this.FastForward_Tick);
     //
     // pnlMainInfo
     //
     this.pnlMainInfo.Controls.Add(this.pnlUserInfo);
     this.pnlMainInfo.Controls.Add(this.pnlCameraInfo);
     this.pnlMainInfo.Controls.Add(this.pnlRecordingInfo);
     this.pnlMainInfo.Controls.Add(this.pnlGroupInfo);
     this.pnlMainInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlMainInfo.Location = new System.Drawing.Point(0, 0);
     this.pnlMainInfo.Name = "pnlMainInfo";
     this.pnlMainInfo.Size = new System.Drawing.Size(724, 654);
     this.pnlMainInfo.TabIndex = 19;
     //
     // pnlCameraInfo
     //
     this.pnlCameraInfo.AutoScroll = true;
     this.pnlCameraInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlCameraInfo.Controls.Add(this.lbCameraInfo);
     this.pnlCameraInfo.Controls.Add(this.pnlCameraPlayer);
     this.pnlCameraInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlCameraInfo.Location = new System.Drawing.Point(0, 0);
     this.pnlCameraInfo.Name = "pnlCameraInfo";
     this.pnlCameraInfo.Size = new System.Drawing.Size(724, 654);
     this.pnlCameraInfo.TabIndex = 21;
     this.pnlCameraInfo.Visible = false;
     //
     // lbCameraInfo
     //
     this.lbCameraInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbCameraInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.lbCameraInfo.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbCameraInfo.Location = new System.Drawing.Point(0, 0);
     this.lbCameraInfo.Name = "lbCameraInfo";
     this.lbCameraInfo.Size = new System.Drawing.Size(720, 40);
     this.lbCameraInfo.TabIndex = 73;
     this.lbCameraInfo.Text = "Viewing Live Camera";
     this.lbCameraInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pnlCameraPlayer
     //
     this.pnlCameraPlayer.Controls.Add(this.CameraPlayer);
     this.pnlCameraPlayer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlCameraPlayer.Location = new System.Drawing.Point(0, 0);
     this.pnlCameraPlayer.Name = "pnlCameraPlayer";
     this.pnlCameraPlayer.Size = new System.Drawing.Size(720, 650);
     this.pnlCameraPlayer.TabIndex = 89;
     this.pnlCameraPlayer.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlMediaPlayer_Paint);
     //
     // CameraPlayer
     //
     this.CameraPlayer.ContainingControl = this;
     this.CameraPlayer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.CameraPlayer.Enabled = true;
     this.CameraPlayer.Location = new System.Drawing.Point(0, 0);
     this.CameraPlayer.Name = "CameraPlayer";
     this.CameraPlayer.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("CameraPlayer.OcxState")));
     this.CameraPlayer.Size = new System.Drawing.Size(720, 650);
     this.CameraPlayer.TabIndex = 0;
     //
     // pnlRecordingInfo
     //
     this.pnlRecordingInfo.AutoScroll = true;
     this.pnlRecordingInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlRecordingInfo.Controls.Add(this.lbRecordingInfo);
     this.pnlRecordingInfo.Controls.Add(this.pnlMediaPlayerControls);
     this.pnlRecordingInfo.Controls.Add(this.pnlMediaPlayer);
     this.pnlRecordingInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlRecordingInfo.Location = new System.Drawing.Point(0, 0);
     this.pnlRecordingInfo.Name = "pnlRecordingInfo";
     this.pnlRecordingInfo.Size = new System.Drawing.Size(724, 654);
     this.pnlRecordingInfo.TabIndex = 21;
     this.pnlRecordingInfo.Visible = false;
     //
     // lbRecordingInfo
     //
     this.lbRecordingInfo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbRecordingInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.lbRecordingInfo.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbRecordingInfo.Location = new System.Drawing.Point(0, 0);
     this.lbRecordingInfo.Name = "lbRecordingInfo";
     this.lbRecordingInfo.Size = new System.Drawing.Size(720, 40);
     this.lbRecordingInfo.TabIndex = 73;
     this.lbRecordingInfo.Text = "Creating: New Recording";
     this.lbRecordingInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pnlMediaPlayerControls
     //
     this.pnlMediaPlayerControls.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlMediaPlayerControls.Controls.Add(this.btnReverse);
     this.pnlMediaPlayerControls.Controls.Add(this.tbSec);
     this.pnlMediaPlayerControls.Controls.Add(this.lbc2);
     this.pnlMediaPlayerControls.Controls.Add(this.tbMin);
     this.pnlMediaPlayerControls.Controls.Add(this.lbc1);
     this.pnlMediaPlayerControls.Controls.Add(this.tbHR);
     this.pnlMediaPlayerControls.Controls.Add(this.btnGoTo);
     this.pnlMediaPlayerControls.Controls.Add(this.btnPlay);
     this.pnlMediaPlayerControls.Controls.Add(this.btnPause);
     this.pnlMediaPlayerControls.Controls.Add(this.btnStop);
     this.pnlMediaPlayerControls.Controls.Add(this.btnForward);
     this.pnlMediaPlayerControls.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.pnlMediaPlayerControls.Location = new System.Drawing.Point(0, 594);
     this.pnlMediaPlayerControls.Name = "pnlMediaPlayerControls";
     this.pnlMediaPlayerControls.Size = new System.Drawing.Size(720, 56);
     this.pnlMediaPlayerControls.TabIndex = 97;
     //
     // btnReverse
     //
     this.btnReverse.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnReverse.Font = new System.Drawing.Font("Webdings", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(2)));
     this.btnReverse.Location = new System.Drawing.Point(206, 8);
     this.btnReverse.Name = "btnReverse";
     this.btnReverse.Size = new System.Drawing.Size(88, 40);
     this.btnReverse.TabIndex = 46;
     this.btnReverse.Text = "7";
     //
     // tbSec
     //
     this.tbSec.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.tbSec.AutoSize = false;
     this.tbSec.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbSec.Location = new System.Drawing.Point(620, 26);
     this.tbSec.MaxLength = 2;
     this.tbSec.Name = "tbSec";
     this.tbSec.Size = new System.Drawing.Size(32, 24);
     this.tbSec.TabIndex = 45;
     this.tbSec.Text = "00";
     this.tbSec.Validating += new System.ComponentModel.CancelEventHandler(this.tbSec_Validating);
     //
     // lbc2
     //
     this.lbc2.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.lbc2.BackColor = System.Drawing.SystemColors.Control;
     this.lbc2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbc2.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbc2.Location = new System.Drawing.Point(604, 26);
     this.lbc2.Name = "lbc2";
     this.lbc2.Size = new System.Drawing.Size(15, 25);
     this.lbc2.TabIndex = 44;
     this.lbc2.Text = ":";
     this.lbc2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // tbMin
     //
     this.tbMin.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.tbMin.AutoSize = false;
     this.tbMin.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbMin.Location = new System.Drawing.Point(572, 26);
     this.tbMin.MaxLength = 2;
     this.tbMin.Name = "tbMin";
     this.tbMin.Size = new System.Drawing.Size(32, 24);
     this.tbMin.TabIndex = 43;
     this.tbMin.Text = "00";
     this.tbMin.Validating += new System.ComponentModel.CancelEventHandler(this.tbMin_Validating);
     //
     // lbc1
     //
     this.lbc1.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.lbc1.BackColor = System.Drawing.SystemColors.Control;
     this.lbc1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lbc1.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbc1.Location = new System.Drawing.Point(556, 26);
     this.lbc1.Name = "lbc1";
     this.lbc1.Size = new System.Drawing.Size(16, 24);
     this.lbc1.TabIndex = 42;
     this.lbc1.Text = ":";
     this.lbc1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // tbHR
     //
     this.tbHR.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.tbHR.AutoSize = false;
     this.tbHR.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbHR.Location = new System.Drawing.Point(524, 26);
     this.tbHR.MaxLength = 2;
     this.tbHR.Name = "tbHR";
     this.tbHR.Size = new System.Drawing.Size(32, 24);
     this.tbHR.TabIndex = 41;
     this.tbHR.Text = "00";
     this.tbHR.Validating += new System.ComponentModel.CancelEventHandler(this.tbHR_Validating);
     //
     // btnGoTo
     //
     this.btnGoTo.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnGoTo.Enabled = false;
     this.btnGoTo.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnGoTo.Location = new System.Drawing.Point(524, 2);
     this.btnGoTo.Name = "btnGoTo";
     this.btnGoTo.Size = new System.Drawing.Size(128, 24);
     this.btnGoTo.TabIndex = 40;
     this.btnGoTo.Text = "Sync To";
     this.btnGoTo.Click += new System.EventHandler(this.btnGoTo_Click);
     //
     // btnPlay
     //
     this.btnPlay.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnPlay.Font = new System.Drawing.Font("Webdings", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(2)));
     this.btnPlay.Location = new System.Drawing.Point(-28, 8);
     this.btnPlay.Name = "btnPlay";
     this.btnPlay.Size = new System.Drawing.Size(104, 40);
     this.btnPlay.TabIndex = 30;
     this.btnPlay.Text = "4";
     this.toolTip1.SetToolTip(this.btnPlay, "Click to Play selected Recording");
     this.btnPlay.Click += new System.EventHandler(this.btnPlay_Click);
     //
     // btnPause
     //
     this.btnPause.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnPause.Font = new System.Drawing.Font("Webdings", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(2)));
     this.btnPause.Location = new System.Drawing.Point(94, 8);
     this.btnPause.Name = "btnPause";
     this.btnPause.Size = new System.Drawing.Size(96, 40);
     this.btnPause.TabIndex = 32;
     this.btnPause.Text = ";";
     this.toolTip1.SetToolTip(this.btnPause, "Click to Pause or Resume Play of selected Recording");
     this.btnPause.Click += new System.EventHandler(this.btnPause_Click);
     //
     // btnStop
     //
     this.btnStop.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnStop.Font = new System.Drawing.Font("Webdings", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(2)));
     this.btnStop.Location = new System.Drawing.Point(412, 8);
     this.btnStop.Name = "btnStop";
     this.btnStop.Size = new System.Drawing.Size(88, 40);
     this.btnStop.TabIndex = 34;
     this.btnStop.Text = "<";
     this.toolTip1.SetToolTip(this.btnStop, "Click to Stop the currently playing Recording");
     this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
     //
     // btnForward
     //
     this.btnForward.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.btnForward.Font = new System.Drawing.Font("Webdings", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(2)));
     this.btnForward.Location = new System.Drawing.Point(308, 8);
     this.btnForward.Name = "btnForward";
     this.btnForward.Size = new System.Drawing.Size(88, 40);
     this.btnForward.TabIndex = 33;
     this.btnForward.Text = "8";
     this.btnForward.Click += new System.EventHandler(this.btnForward_Click);
     //
     // pnlMediaPlayer
     //
     this.pnlMediaPlayer.BackColor = System.Drawing.SystemColors.Control;
     this.pnlMediaPlayer.Controls.Add(this.MediaPlayer);
     this.pnlMediaPlayer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlMediaPlayer.Location = new System.Drawing.Point(0, 0);
     this.pnlMediaPlayer.Name = "pnlMediaPlayer";
     this.pnlMediaPlayer.Size = new System.Drawing.Size(720, 650);
     this.pnlMediaPlayer.TabIndex = 89;
     this.pnlMediaPlayer.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlMediaPlayer_Paint);
     //
     // MediaPlayer
     //
     this.MediaPlayer.CausesValidation = false;
     this.MediaPlayer.ContainingControl = this;
     this.MediaPlayer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.MediaPlayer.Enabled = true;
     this.MediaPlayer.Location = new System.Drawing.Point(0, 0);
     this.MediaPlayer.Name = "MediaPlayer";
     this.MediaPlayer.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("MediaPlayer.OcxState")));
     this.MediaPlayer.Size = new System.Drawing.Size(720, 650);
     this.MediaPlayer.TabIndex = 0;
     this.MediaPlayer.TabStop = false;
     this.MediaPlayer.EndOfStream += new AxWMPLib._WMPOCXEvents_EndOfStreamEventHandler(this.MediaPlayer_EndOfStream);
     this.MediaPlayer.MediaError += new AxWMPLib._WMPOCXEvents_MediaErrorEventHandler(this.MediaPlayer_MediaError);
     this.MediaPlayer.ErrorEvent += new System.EventHandler(this.MediaPlayer_ErrorEvent);
     this.MediaPlayer.Enter += new System.EventHandler(this.MediaPlayer_Enter);
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Controls.Add(this.pnlBigMain);
     this.panel2.Controls.Add(this.splitter2);
     this.panel2.Controls.Add(this.pnlTreeView);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(1016, 689);
     this.panel2.TabIndex = 20;
     //
     // pnlBigMain
     //
     this.pnlBigMain.Controls.Add(this.pnlMainInfo);
     this.pnlBigMain.Controls.Add(this.tbActionBar);
     this.pnlBigMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlBigMain.Location = new System.Drawing.Point(288, 0);
     this.pnlBigMain.Name = "pnlBigMain";
     this.pnlBigMain.Size = new System.Drawing.Size(724, 685);
     this.pnlBigMain.TabIndex = 24;
     //
     // tbActionBar
     //
     this.tbActionBar.AutoSize = false;
     this.tbActionBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                    this.btnNew,
                                                                                    this.Serator,
                                                                                    this.btnNew2,
                                                                                    this.Seperator2,
                                                                                    this.btnEdit,
                                                                                    this.Seperator3,
                                                                                    this.btnDelete,
                                                                                    this.Seperator4,
                                                                                    this.btnNotes});
     this.tbActionBar.ButtonSize = new System.Drawing.Size(130, 25);
     this.tbActionBar.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.tbActionBar.DropDownArrows = true;
     this.tbActionBar.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbActionBar.Location = new System.Drawing.Point(0, 654);
     this.tbActionBar.Name = "tbActionBar";
     this.tbActionBar.ShowToolTips = true;
     this.tbActionBar.Size = new System.Drawing.Size(724, 31);
     this.tbActionBar.TabIndex = 23;
     this.tbActionBar.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right;
     this.tbActionBar.Wrappable = false;
     this.tbActionBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tbActionBar_ButtonClick);
     //
     // btnNew
     //
     this.btnNew.Text = "      NEW";
     this.btnNew.Visible = false;
     //
     // Serator
     //
     this.Serator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.Serator.Text = "ThisisaSeperate";
     this.Serator.Visible = false;
     //
     // btnNew2
     //
     this.btnNew2.Text = "       NEW";
     this.btnNew2.Visible = false;
     //
     // Seperator2
     //
     this.Seperator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.Seperator2.Text = "Seperator";
     //
     // btnEdit
     //
     this.btnEdit.Text = "        EDIT";
     this.btnEdit.Visible = false;
     //
     // Seperator3
     //
     this.Seperator3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.Seperator3.Visible = false;
     //
     // btnDelete
     //
     this.btnDelete.Text = "   REMOVE";
     this.btnDelete.Visible = false;
     //
     // Seperator4
     //
     this.Seperator4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.Seperator4.Visible = false;
     //
     // btnNotes
     //
     this.btnNotes.Text = "  View Notes";
     this.btnNotes.Visible = false;
     //
     // splitter2
     //
     this.splitter2.BackColor = System.Drawing.SystemColors.Control;
     this.splitter2.Location = new System.Drawing.Point(280, 0);
     this.splitter2.Name = "splitter2";
     this.splitter2.Size = new System.Drawing.Size(8, 685);
     this.splitter2.TabIndex = 20;
     this.splitter2.TabStop = false;
     //
     // pnlTreeView
     //
     this.pnlTreeView.Controls.Add(this.tabMain);
     this.pnlTreeView.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlTreeView.Location = new System.Drawing.Point(0, 0);
     this.pnlTreeView.Name = "pnlTreeView";
     this.pnlTreeView.Size = new System.Drawing.Size(280, 685);
     this.pnlTreeView.TabIndex = 25;
     //
     // tabMain
     //
     this.tabMain.Controls.Add(this.tabRecordings);
     this.tabMain.Controls.Add(this.tabCameras);
     this.tabMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabMain.Location = new System.Drawing.Point(0, 0);
     this.tabMain.Name = "tabMain";
     this.tabMain.SelectedIndex = 0;
     this.tabMain.Size = new System.Drawing.Size(280, 685);
     this.tabMain.TabIndex = 0;
     this.tabMain.SelectedIndexChanged += new System.EventHandler(this.tabMain_SelectedIndexChanged);
     //
     // tabRecordings
     //
     this.tabRecordings.Controls.Add(this.treeView1);
     this.tabRecordings.Location = new System.Drawing.Point(4, 26);
     this.tabRecordings.Name = "tabRecordings";
     this.tabRecordings.Size = new System.Drawing.Size(272, 655);
     this.tabRecordings.TabIndex = 0;
     this.tabRecordings.Text = "   Recordings     ";
     //
     // treeView1
     //
     this.treeView1.AllowDrop = true;
     this.treeView1.BackColor = System.Drawing.SystemColors.Window;
     this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Font = new System.Drawing.Font("Arial Black", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.treeView1.ForeColor = System.Drawing.SystemColors.WindowText;
     this.treeView1.HideSelection = false;
     this.treeView1.HotTracking = true;
     this.treeView1.ImageList = this.imgL1;
     this.treeView1.Indent = 19;
     this.treeView1.Location = new System.Drawing.Point(0, 0);
     this.treeView1.Name = "treeView1";
     this.treeView1.Size = new System.Drawing.Size(272, 655);
     this.treeView1.TabIndex = 4;
     this.treeView1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseDown);
     this.treeView1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeView1_MouseUp);
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     this.treeView1.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeCollapse);
     this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
     //
     // imgL1
     //
     this.imgL1.ImageSize = new System.Drawing.Size(16, 16);
     this.imgL1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgL1.ImageStream")));
     this.imgL1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // tabCameras
     //
     this.tabCameras.Controls.Add(this.tvCameras);
     this.tabCameras.Location = new System.Drawing.Point(4, 22);
     this.tabCameras.Name = "tabCameras";
     this.tabCameras.Size = new System.Drawing.Size(272, 659);
     this.tabCameras.TabIndex = 1;
     this.tabCameras.Text = "       Cameras       ";
     //
     // tvCameras
     //
     this.tvCameras.AllowDrop = true;
     this.tvCameras.BackColor = System.Drawing.SystemColors.Window;
     this.tvCameras.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tvCameras.Font = new System.Drawing.Font("Arial Black", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tvCameras.ForeColor = System.Drawing.SystemColors.WindowText;
     this.tvCameras.HideSelection = false;
     this.tvCameras.HotTracking = true;
     this.tvCameras.ImageList = this.imgL2;
     this.tvCameras.Indent = 19;
     this.tvCameras.Location = new System.Drawing.Point(0, 0);
     this.tvCameras.Name = "tvCameras";
     this.tvCameras.Size = new System.Drawing.Size(272, 659);
     this.tvCameras.TabIndex = 5;
     this.tvCameras.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvCameras_MouseDown);
     this.tvCameras.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tvCameras_MouseUp);
     this.tvCameras.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvCameras_AfterSelect);
     //
     // imgL2
     //
     this.imgL2.ImageSize = new System.Drawing.Size(16, 16);
     this.imgL2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgL2.ImageStream")));
     this.imgL2.TransparentColor = System.Drawing.Color.Transparent;
     //
     // ReverseTimer
     //
     this.ReverseTimer.Tick += new System.EventHandler(this.FastRewind_Tick);
     //
     // StatusInfo
     //
     this.StatusInfo.Location = new System.Drawing.Point(0, 689);
     this.StatusInfo.Name = "StatusInfo";
     this.StatusInfo.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
                                                                                   this.sbInfo,
                                                                                   this.sbVideoLabel,
                                                                                   this.sbVideoTime,
                                                                                   this.sbTotalDuration,
                                                                                   this.sbTotalTime,
                                                                                   this.sbLogTime,
                                                                                   this.sbConnected});
     this.StatusInfo.ShowPanels = true;
     this.StatusInfo.Size = new System.Drawing.Size(1016, 24);
     this.StatusInfo.TabIndex = 23;
     this.StatusInfo.Text = "statusBar1";
     //
     // sbInfo
     //
     this.sbInfo.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.sbInfo.Text = "InfoBar";
     this.sbInfo.Width = 514;
     //
     // sbVideoLabel
     //
     this.sbVideoLabel.Text = "Current Position:";
     this.sbVideoLabel.Width = 120;
     //
     // sbVideoTime
     //
     this.sbVideoTime.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.sbVideoTime.Text = "N/A";
     this.sbVideoTime.Width = 33;
     //
     // sbTotalDuration
     //
     this.sbTotalDuration.Text = "Total Duration:";
     this.sbTotalDuration.Width = 120;
     //
     // sbTotalTime
     //
     this.sbTotalTime.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.sbTotalTime.Text = "N/A";
     this.sbTotalTime.Width = 33;
     //
     // sbLogTime
     //
     this.sbLogTime.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.sbLogTime.Text = "Connected Time";
     this.sbLogTime.Width = 97;
     //
     // sbConnected
     //
     this.sbConnected.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.sbConnected.Text = "Disconnected";
     this.sbConnected.Width = 83;
     //
     // StatusTimer
     //
     this.StatusTimer.Interval = 1;
     this.StatusTimer.Tick += new System.EventHandler(this.StatusTimer_Tick);
     //
     // ActivityTimer
     //
     this.ActivityTimer.Interval = 10000;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.mnuSystem,
                                                                               this.menuItem1,
                                                                               this.menuItem3,
                                                                               this.mnuHelp,
                                                                               this.mnuLogOff,
                                                                               this.menuItem2});
     //
     // mnuSystem
     //
     this.mnuSystem.Index = 0;
     this.mnuSystem.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.mnuSystem.Text = "&System";
     this.mnuSystem.Click += new System.EventHandler(this.mnuSystem_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 1;
     this.menuItem1.Text = "Groups";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.Text = "Deleted Recordings";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // mnuHelp
     //
     this.mnuHelp.Index = 3;
     this.mnuHelp.Shortcut = System.Windows.Forms.Shortcut.F1;
     this.mnuHelp.Text = "Help";
     this.mnuHelp.Click += new System.EventHandler(this.mnuHelp_Click);
     //
     // mnuLogOff
     //
     this.mnuLogOff.Index = 4;
     this.mnuLogOff.Shortcut = System.Windows.Forms.Shortcut.CtrlL;
     this.mnuLogOff.Text = "&Log Off";
     this.mnuLogOff.Click += new System.EventHandler(this.mnuLogOff_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 5;
     this.menuItem2.Text = "&About";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // Form1
     //
     this.AutoScale = false;
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 18);
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(1016, 713);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.StatusInfo);
     this.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.MaximumSize = new System.Drawing.Size(1600, 1200);
     this.Menu = this.mainMenu1;
     this.Name = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Oyster Executive";
     this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing_1);
     this.Load += new System.EventHandler(this.Form1_Load);
     this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseUp);
     this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp);
     this.Closed += new System.EventHandler(this.Form1_Closed);
     this.pnlUserInfo.ResumeLayout(false);
     this.pnlGroupInfo.ResumeLayout(false);
     this.pnlMainInfo.ResumeLayout(false);
     this.pnlCameraInfo.ResumeLayout(false);
     this.pnlCameraPlayer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.CameraPlayer)).EndInit();
     this.pnlRecordingInfo.ResumeLayout(false);
     this.pnlMediaPlayerControls.ResumeLayout(false);
     this.pnlMediaPlayer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.MediaPlayer)).EndInit();
     this.panel2.ResumeLayout(false);
     this.pnlBigMain.ResumeLayout(false);
     this.pnlTreeView.ResumeLayout(false);
     this.tabMain.ResumeLayout(false);
     this.tabRecordings.ResumeLayout(false);
     this.tabCameras.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.sbInfo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbVideoLabel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbVideoTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbTotalDuration)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbTotalTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbLogTime)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sbConnected)).EndInit();
     this.ResumeLayout(false);
 }
Пример #51
0
        public MediaPlayer()
        {
            InitializeComponent();

            DoNotTriggerUpdateEvent = true;
            selectionPanel.Size = new Size(this.Size.Width, this.Size.Height);
            fadeinPanel.Size = new Size(0, this.Size.Height);
            fadeoutPanel.Size = new Size(0, this.Size.Height);
            currentPanel.Size = new Size(3, this.Size.Height);

            wmp = new AxWMPLib.AxWindowsMediaPlayer();
            wmp.CreateControl();
            wmp.Ctlcontrols.stop();
            ChangeButtonText("Play");

            numericUpDown1.Maximum = (decimal)lengte;
            numericUpDown2.Maximum = (decimal)lengte;
            numericUpDown3.Maximum = (decimal)lengte;
            numericUpDown3.Value = (decimal)lengte;

            UpdateSelection();
        }
Пример #52
0
 private void TrimVideoControl_Unload()
 {
     playerStatusTimer.Enabled = false;
     tickBoxLocationsTimer.Enabled = false;
     wmPlayer.close();
     wmPlayer = null;
 }
Пример #53
0
		public void ReleaseResources()
		{
			this.StatusTimer.Enabled = false;
			Application.DoEvents();

//			try
//			{
//				if(axUMediaPlayer1 != null)
//				{
//					axUMediaPlayer1.Stop();
//					axUMediaPlayer1 = null;
//				}
//			}
//			catch(Exception err)
//			{
//				string peek = err.Message;
//			}
			try
			{
				if(axWMPlayer1 != null)
				{								
					this.axWMPlayer1.Ctlcontrols.stop();
					this.axWMPlayer1 = null;
				}
			}
			catch(Exception err)
			{
				string peek = err.Message;
			}			
		}
Пример #54
0
        private void ShowAd()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFrame));
            if (Ad_type.Count == 1)
            {
                if (Ad_type[0] == 1)
                {
                    Ad_MediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
                    ((System.ComponentModel.ISupportInitialize)(Ad_MediaPlayer1)).BeginInit();
                    Ad_MediaPlayer1.Enabled = true;
                    Ad_MediaPlayer1.Location = new System.Drawing.Point(0, 0);
                    Ad_MediaPlayer1.Name = "Ad_MediaPlayer1";
                    Ad_MediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Ad_MediaPlayer.OcxState")));
                    Ad_MediaPlayer1.Size = new System.Drawing.Size(768, 576);
                    Ad_MediaPlayer1.MouseUpEvent += new AxWMPLib._WMPOCXEvents_MouseUpEventHandler(Ad_WMVMovieUp);
                    Panel_Ad.Controls.Add(Ad_MediaPlayer1);
                    ((System.ComponentModel.ISupportInitialize)(Ad_MediaPlayer1)).EndInit();
                    Ad_MediaPlayer1.uiMode = "none";
                    Ad_MediaPlayer1.settings.setMode("loop", true);

                    showType = 1;
                }
                else
                {
                    Ad_PB1 = new PictureBox();
                    Ad_PB1.Location = new System.Drawing.Point(0, 0);
                    Ad_PB1.Name = "Ad_PB1";
                    Ad_PB1.Size = new System.Drawing.Size(768, 576);
                    Ad_PB1.MouseUp += new MouseEventHandler(Ad_MouseUp);
                    Panel_Ad.Controls.Add(Ad_PB1);
                    showType = 2;
                }
            }

            if (Ad_type.Count == 2)
            {
                if (Ad_type[0] == 1)
                {
                    Ad_MediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
                    ((System.ComponentModel.ISupportInitialize)(Ad_MediaPlayer1)).BeginInit();
                    Ad_MediaPlayer1.Enabled = true;
                    Ad_MediaPlayer1.Location = new System.Drawing.Point(0, 0);
                    Ad_MediaPlayer1.Name = "Ad_MediaPlayer1";
                    Ad_MediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Ad_MediaPlayer.OcxState")));
                    Ad_MediaPlayer1.Size = new System.Drawing.Size(768, 576);
                    Ad_MediaPlayer1.MouseUpEvent += new AxWMPLib._WMPOCXEvents_MouseUpEventHandler(Ad_WMVMovieUp);
                    Panel_Ad.Controls.Add(Ad_MediaPlayer1);
                    ((System.ComponentModel.ISupportInitialize)(Ad_MediaPlayer1)).EndInit();
                    Ad_MediaPlayer1.uiMode = "none";
                    Ad_MediaPlayer1.settings.setMode("loop", true);
                    showType = 1;

                }
                else
                {
                    Ad_PB1 = new PictureBox();
                    Ad_PB1.Location = new System.Drawing.Point(0, 680);
                    Ad_PB1.Name = "Ad_PB1";
                    Ad_PB1.Size = new System.Drawing.Size(768, 576);
                    Ad_PB1.MouseUp += new MouseEventHandler(Ad_MouseUp);
                    Panel_Ad.Controls.Add(Ad_PB1);

                    showType = 2;
                }

                if (Ad_type[1] == 1)
                {
                    int y;
                    if (showType == 1)
                        y = 680;
                    else
                        y = 0;

                    Ad_MediaPlayer2 = new AxWMPLib.AxWindowsMediaPlayer();
                    ((System.ComponentModel.ISupportInitialize)(Ad_MediaPlayer2)).BeginInit();
                    Ad_MediaPlayer2.Enabled = true;
                    Ad_MediaPlayer2.Location = new System.Drawing.Point(0, y);
                    Ad_MediaPlayer2.Name = "Ad_MediaPlayer2";
                    Ad_MediaPlayer2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("Ad_MediaPlayer.OcxState")));
                    Ad_MediaPlayer2.Size = new System.Drawing.Size(768, 576);
                    Ad_MediaPlayer2.MouseUpEvent += new AxWMPLib._WMPOCXEvents_MouseUpEventHandler(Ad_WMVMovieUp);
                    Panel_Ad.Controls.Add(Ad_MediaPlayer2);
                    ((System.ComponentModel.ISupportInitialize)(Ad_MediaPlayer2)).EndInit();
                    Ad_MediaPlayer2.uiMode = "none";
                    Ad_MediaPlayer2.settings.setMode("loop", true);

                    if (showType == 1)
                        showType = 3;
                    else
                        showType = 4;
                }
                else
                {
                    int y;
                    if (showType == 1)
                        y = 680;
                    else
                        y = 0;

                    Ad_PB2 = new PictureBox();
                    Ad_PB2.Location = new System.Drawing.Point(0, y);
                    Ad_PB2.Name = "Ad_PB2";
                    Ad_PB2.Size = new System.Drawing.Size(768, 576);
                    Ad_PB2.MouseUp += new MouseEventHandler(Ad_MouseUp);
                    Panel_Ad.Controls.Add(Ad_PB2);

                    if (showType == 1)
                        showType = 5;
                    else
                        showType = 6;
                }
            }

            if (Ad_str != null && Ad_str.Count != 0)
            {
                if (PicThread != null)
                {
                    if (PicThread.IsAlive)
                    {
                        PicThread.Abort();
                        PicThread.Join();
                    }
                }

                showContinue = true;
                PicThread = new Thread(new ThreadStart(doAnimate));
                PicThread.Start();
            }
        }
Пример #55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCheckBPM));
     this.buttonPlay = new System.Windows.Forms.Button();
     this.buttonStop = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBoxBPM = new System.Windows.Forms.TextBox();
     this.buttonCancel = new System.Windows.Forms.Button();
     this.buttonOK = new System.Windows.Forms.Button();
     this.windowsMediaPlayer = new AxWMPLib.AxWindowsMediaPlayer();
     this.buttonTapBeat = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.textBoxDelay = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.windowsMediaPlayer)).BeginInit();
     this.SuspendLayout();
     //
     // buttonPlay
     //
     this.buttonPlay.Location = new System.Drawing.Point(12, 12);
     this.buttonPlay.Name = "buttonPlay";
     this.buttonPlay.Size = new System.Drawing.Size(40, 40);
     this.buttonPlay.TabIndex = 0;
     this.buttonPlay.Text = "P";
     this.buttonPlay.UseVisualStyleBackColor = true;
     this.buttonPlay.Click += new System.EventHandler(this.buttonPlay_Click);
     //
     // buttonStop
     //
     this.buttonStop.Enabled = false;
     this.buttonStop.Location = new System.Drawing.Point(58, 12);
     this.buttonStop.Name = "buttonStop";
     this.buttonStop.Size = new System.Drawing.Size(40, 40);
     this.buttonStop.TabIndex = 1;
     this.buttonStop.Text = "S";
     this.buttonStop.UseVisualStyleBackColor = true;
     this.buttonStop.Click += new System.EventHandler(this.buttonStop_Click);
     //
     // textBox1
     //
     this.textBox1.AcceptsReturn = true;
     this.textBox1.AcceptsTab = true;
     this.textBox1.Location = new System.Drawing.Point(104, 12);
     this.textBox1.Multiline = true;
     this.textBox1.Name = "textBox1";
     this.textBox1.ReadOnly = true;
     this.textBox1.Size = new System.Drawing.Size(260, 69);
     this.textBox1.TabIndex = 3;
     //
     // textBoxBPM
     //
     this.textBoxBPM.Location = new System.Drawing.Point(104, 87);
     this.textBoxBPM.Name = "textBoxBPM";
     this.textBoxBPM.ReadOnly = true;
     this.textBoxBPM.Size = new System.Drawing.Size(86, 20);
     this.textBoxBPM.TabIndex = 6;
     this.textBoxBPM.Text = "60";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location = new System.Drawing.Point(298, 111);
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.Size = new System.Drawing.Size(66, 23);
     this.buttonCancel.TabIndex = 10;
     this.buttonCancel.Text = "Cancel";
     this.buttonCancel.UseVisualStyleBackColor = true;
     this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonOK
     //
     this.buttonOK.Location = new System.Drawing.Point(226, 111);
     this.buttonOK.Name = "buttonOK";
     this.buttonOK.Size = new System.Drawing.Size(66, 23);
     this.buttonOK.TabIndex = 11;
     this.buttonOK.Text = "OK";
     this.buttonOK.UseVisualStyleBackColor = true;
     this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
     //
     // windowsMediaPlayer
     //
     this.windowsMediaPlayer.Enabled = true;
     this.windowsMediaPlayer.Location = new System.Drawing.Point(289, 58);
     this.windowsMediaPlayer.Name = "windowsMediaPlayer";
     this.windowsMediaPlayer.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("windowsMediaPlayer.OcxState")));
     this.windowsMediaPlayer.Size = new System.Drawing.Size(75, 23);
     this.windowsMediaPlayer.TabIndex = 4;
     this.windowsMediaPlayer.Visible = false;
     //
     // buttonTapBeat
     //
     this.buttonTapBeat.Enabled = false;
     this.buttonTapBeat.Location = new System.Drawing.Point(12, 58);
     this.buttonTapBeat.Name = "buttonTapBeat";
     this.buttonTapBeat.Size = new System.Drawing.Size(86, 23);
     this.buttonTapBeat.TabIndex = 12;
     this.buttonTapBeat.Text = "TapBeat";
     this.buttonTapBeat.UseVisualStyleBackColor = true;
     this.buttonTapBeat.Click += new System.EventHandler(this.buttonTapBeat_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 94);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(76, 13);
     this.label1.TabIndex = 13;
     this.label1.Text = "EstimatedBPM";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(12, 116);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(67, 13);
     this.label2.TabIndex = 14;
     this.label2.Text = "DelayLength";
     //
     // textBoxDelay
     //
     this.textBoxDelay.Location = new System.Drawing.Point(104, 113);
     this.textBoxDelay.Name = "textBoxDelay";
     this.textBoxDelay.ReadOnly = true;
     this.textBoxDelay.Size = new System.Drawing.Size(86, 20);
     this.textBoxDelay.TabIndex = 15;
     this.textBoxDelay.Text = "0";
     //
     // FormCheckBPM
     //
     this.AcceptButton = this.buttonOK;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.buttonCancel;
     this.ClientSize = new System.Drawing.Size(376, 146);
     this.Controls.Add(this.textBoxDelay);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonTapBeat);
     this.Controls.Add(this.windowsMediaPlayer);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.textBoxBPM);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.buttonStop);
     this.Controls.Add(this.buttonPlay);
     this.Name = "FormCheckBPM";
     this.ShowInTaskbar = false;
     this.Text = "FormCheckBPM";
     ((System.ComponentModel.ISupportInitialize)(this.windowsMediaPlayer)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmMain));
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.btnSearch = new System.Windows.Forms.Button();
     this.rbTitleAbstract = new System.Windows.Forms.RadioButton();
     this.rbAbstract = new System.Windows.Forms.RadioButton();
     this.rbTitle = new System.Windows.Forms.RadioButton();
     this.btnAddToPlayList = new System.Windows.Forms.Button();
     this.lvSearchResults = new System.Windows.Forms.ListView();
     this.chName = new System.Windows.Forms.ColumnHeader();
     this.chCreatedOn = new System.Windows.Forms.ColumnHeader();
     this.chOwner = new System.Windows.Forms.ColumnHeader();
     this.lblInformation = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.txtSearchCriteria = new System.Windows.Forms.TextBox();
     this.axWindowsMediaPlayer2 = new AxWMPLib.AxWindowsMediaPlayer();
     this.pnlPlayer = new System.Windows.Forms.Panel();
     this.axWindowsMediaPlayer1 = new AxWMPLib.AxWindowsMediaPlayer();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.lklDeletePlayList = new System.Windows.Forms.LinkLabel();
     this.lklMoveItemUp = new System.Windows.Forms.LinkLabel();
     this.lklMoveItemDown = new System.Windows.Forms.LinkLabel();
     this.lklRemoveItemPlayList = new System.Windows.Forms.LinkLabel();
     this.lklOpenPlayList = new System.Windows.Forms.LinkLabel();
     this.lklSavePlayList = new System.Windows.Forms.LinkLabel();
     this.rangeBarBookmark = new Zzzz.ZzzzRangeBar();
     this.lvPlayList = new System.Windows.Forms.ListView();
     this.chPlayListItemName = new System.Windows.Forms.ColumnHeader();
     this.chPlayListStartTime = new System.Windows.Forms.ColumnHeader();
     this.chPlayListStopTime = new System.Windows.Forms.ColumnHeader();
     this.lblPlayerStatus = new System.Windows.Forms.Label();
     this.imglistSound = new System.Windows.Forms.ImageList(this.components);
     this.pnlControls = new System.Windows.Forms.Panel();
     this.label1 = new System.Windows.Forms.Label();
     this.cBar1 = new cbar.CBar();
     this.lblMediaTime = new System.Windows.Forms.Label();
     this.pictSound = new System.Windows.Forms.PictureBox();
     this.btnMute = new System.Windows.Forms.Button();
     this.tbVolume = new System.Windows.Forms.TrackBar();
     this.btnFullScreenToggle = new System.Windows.Forms.Button();
     this.playbackControls1 = new OysterPlaybackControls.PlaybackControls();
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.miFile = new System.Windows.Forms.MenuItem();
     this.miOptions = new System.Windows.Forms.MenuItem();
     this.miAbout = new System.Windows.Forms.MenuItem();
     this.ctxmSession = new System.Windows.Forms.ContextMenu();
     this.mnuRenameSession = new System.Windows.Forms.MenuItem();
     this.mnuDeleteSession = new System.Windows.Forms.MenuItem();
     this.miSessionProperties = new System.Windows.Forms.MenuItem();
     this.tmrPlayBack = new System.Windows.Forms.Timer(this.components);
     this.tmrFullScreenControlDisplay = new System.Windows.Forms.Timer(this.components);
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer2)).BeginInit();
     this.pnlPlayer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.pnlControls.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tbVolume)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.btnSearch);
     this.groupBox1.Controls.Add(this.rbTitleAbstract);
     this.groupBox1.Controls.Add(this.rbAbstract);
     this.groupBox1.Controls.Add(this.rbTitle);
     this.groupBox1.Controls.Add(this.btnAddToPlayList);
     this.groupBox1.Controls.Add(this.lvSearchResults);
     this.groupBox1.Controls.Add(this.lblInformation);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtSearchCriteria);
     this.groupBox1.Controls.Add(this.axWindowsMediaPlayer2);
     this.groupBox1.Location = new System.Drawing.Point(456, 8);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(328, 480);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Search";
     //
     // btnSearch
     //
     this.btnSearch.Location = new System.Drawing.Point(240, 71);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.TabIndex = 11;
     this.btnSearch.Text = "Search";
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     //
     // rbTitleAbstract
     //
     this.rbTitleAbstract.Location = new System.Drawing.Point(208, 96);
     this.rbTitleAbstract.Name = "rbTitleAbstract";
     this.rbTitleAbstract.Size = new System.Drawing.Size(112, 24);
     this.rbTitleAbstract.TabIndex = 3;
     this.rbTitleAbstract.Text = "Title and Abstract";
     //
     // rbAbstract
     //
     this.rbAbstract.Location = new System.Drawing.Point(112, 96);
     this.rbAbstract.Name = "rbAbstract";
     this.rbAbstract.Size = new System.Drawing.Size(72, 24);
     this.rbAbstract.TabIndex = 2;
     this.rbAbstract.Text = "Abstract";
     //
     // rbTitle
     //
     this.rbTitle.Checked = true;
     this.rbTitle.Location = new System.Drawing.Point(16, 96);
     this.rbTitle.Name = "rbTitle";
     this.rbTitle.Size = new System.Drawing.Size(48, 24);
     this.rbTitle.TabIndex = 1;
     this.rbTitle.TabStop = true;
     this.rbTitle.Text = "Title";
     //
     // btnAddToPlayList
     //
     this.btnAddToPlayList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAddToPlayList.Location = new System.Drawing.Point(104, 448);
     this.btnAddToPlayList.Name = "btnAddToPlayList";
     this.btnAddToPlayList.Size = new System.Drawing.Size(144, 23);
     this.btnAddToPlayList.TabIndex = 5;
     this.btnAddToPlayList.Text = "Add Selected To Play List";
     this.btnAddToPlayList.Click += new System.EventHandler(this.btnAddToPlayList_Click);
     //
     // lvSearchResults
     //
     this.lvSearchResults.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)));
     this.lvSearchResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                       this.chName,
                                                                                       this.chCreatedOn,
                                                                                       this.chOwner});
     this.lvSearchResults.FullRowSelect = true;
     this.lvSearchResults.GridLines = true;
     this.lvSearchResults.HideSelection = false;
     this.lvSearchResults.Location = new System.Drawing.Point(16, 160);
     this.lvSearchResults.Name = "lvSearchResults";
     this.lvSearchResults.Size = new System.Drawing.Size(296, 280);
     this.lvSearchResults.Sorting = System.Windows.Forms.SortOrder.Ascending;
     this.lvSearchResults.TabIndex = 4;
     this.lvSearchResults.View = System.Windows.Forms.View.Details;
     this.lvSearchResults.DoubleClick += new System.EventHandler(this.lvSearchResults_DoubleClick);
     this.lvSearchResults.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.lvSearchResults_ItemDrag);
     //
     // chName
     //
     this.chName.Text = "Name";
     this.chName.Width = 116;
     //
     // chCreatedOn
     //
     this.chCreatedOn.Text = "Created Date";
     this.chCreatedOn.Width = 99;
     //
     // chOwner
     //
     this.chOwner.Text = "Owner";
     this.chOwner.Width = 77;
     //
     // lblInformation
     //
     this.lblInformation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblInformation.Location = new System.Drawing.Point(16, 136);
     this.lblInformation.Name = "lblInformation";
     this.lblInformation.Size = new System.Drawing.Size(312, 24);
     this.lblInformation.TabIndex = 10;
     this.lblInformation.Text = "Search Results - Double-click an item  to View.";
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.26F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 16);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(296, 48);
     this.label2.TabIndex = 2;
     this.label2.Text = "Enter some search chriteria below and press the \'Search\' button. To list all avai" +
         "lable sessions leave the search box empty.";
     //
     // txtSearchCriteria
     //
     this.txtSearchCriteria.Location = new System.Drawing.Point(16, 72);
     this.txtSearchCriteria.Name = "txtSearchCriteria";
     this.txtSearchCriteria.Size = new System.Drawing.Size(216, 20);
     this.txtSearchCriteria.TabIndex = 0;
     this.txtSearchCriteria.Text = "textBox1";
     //
     // axWindowsMediaPlayer2
     //
     this.axWindowsMediaPlayer2.ContainingControl = this;
     this.axWindowsMediaPlayer2.Enabled = true;
     this.axWindowsMediaPlayer2.Location = new System.Drawing.Point(-288, 0);
     this.axWindowsMediaPlayer2.Name = "axWindowsMediaPlayer2";
     this.axWindowsMediaPlayer2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer2.OcxState")));
     this.axWindowsMediaPlayer2.Size = new System.Drawing.Size(288, 176);
     this.axWindowsMediaPlayer2.TabIndex = 14;
     this.axWindowsMediaPlayer2.Visible = false;
     //
     // pnlPlayer
     //
     this.pnlPlayer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.pnlPlayer.Controls.Add(this.axWindowsMediaPlayer1);
     this.pnlPlayer.Controls.Add(this.groupBox2);
     this.pnlPlayer.Controls.Add(this.lblPlayerStatus);
     this.pnlPlayer.Location = new System.Drawing.Point(8, 16);
     this.pnlPlayer.Name = "pnlPlayer";
     this.pnlPlayer.Size = new System.Drawing.Size(440, 472);
     this.pnlPlayer.TabIndex = 12;
     //
     // axWindowsMediaPlayer1
     //
     this.axWindowsMediaPlayer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.axWindowsMediaPlayer1.ContainingControl = this;
     this.axWindowsMediaPlayer1.Enabled = true;
     this.axWindowsMediaPlayer1.Location = new System.Drawing.Point(4, 0);
     this.axWindowsMediaPlayer1.Name = "axWindowsMediaPlayer1";
     this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));
     this.axWindowsMediaPlayer1.Size = new System.Drawing.Size(432, 248);
     this.axWindowsMediaPlayer1.TabIndex = 7;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.lklDeletePlayList);
     this.groupBox2.Controls.Add(this.lklMoveItemUp);
     this.groupBox2.Controls.Add(this.lklMoveItemDown);
     this.groupBox2.Controls.Add(this.lklRemoveItemPlayList);
     this.groupBox2.Controls.Add(this.lklOpenPlayList);
     this.groupBox2.Controls.Add(this.lklSavePlayList);
     this.groupBox2.Controls.Add(this.rangeBarBookmark);
     this.groupBox2.Controls.Add(this.lvPlayList);
     this.groupBox2.Location = new System.Drawing.Point(4, 272);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(432, 200);
     this.groupBox2.TabIndex = 6;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Play List";
     //
     // lklDeletePlayList
     //
     this.lklDeletePlayList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lklDeletePlayList.AutoSize = true;
     this.lklDeletePlayList.Enabled = false;
     this.lklDeletePlayList.Location = new System.Drawing.Point(256, 16);
     this.lklDeletePlayList.Name = "lklDeletePlayList";
     this.lklDeletePlayList.Size = new System.Drawing.Size(83, 16);
     this.lklDeletePlayList.TabIndex = 14;
     this.lklDeletePlayList.TabStop = true;
     this.lklDeletePlayList.Text = "Delete Play List";
     this.lklDeletePlayList.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lklDeletePlayList_LinkClicked);
     //
     // lklMoveItemUp
     //
     this.lklMoveItemUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lklMoveItemUp.AutoSize = true;
     this.lklMoveItemUp.Location = new System.Drawing.Point(24, 64);
     this.lklMoveItemUp.Name = "lklMoveItemUp";
     this.lklMoveItemUp.Size = new System.Drawing.Size(49, 16);
     this.lklMoveItemUp.TabIndex = 13;
     this.lklMoveItemUp.TabStop = true;
     this.lklMoveItemUp.Text = "Move Up";
     this.lklMoveItemUp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lklMoveItemUp_LinkClicked);
     //
     // lklMoveItemDown
     //
     this.lklMoveItemDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lklMoveItemDown.AutoSize = true;
     this.lklMoveItemDown.Location = new System.Drawing.Point(9, 104);
     this.lklMoveItemDown.Name = "lklMoveItemDown";
     this.lklMoveItemDown.Size = new System.Drawing.Size(64, 16);
     this.lklMoveItemDown.TabIndex = 12;
     this.lklMoveItemDown.TabStop = true;
     this.lklMoveItemDown.Text = "Move Down";
     this.lklMoveItemDown.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lklMoveItemDown_LinkClicked);
     //
     // lklRemoveItemPlayList
     //
     this.lklRemoveItemPlayList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lklRemoveItemPlayList.AutoSize = true;
     this.lklRemoveItemPlayList.Location = new System.Drawing.Point(8, 144);
     this.lklRemoveItemPlayList.Name = "lklRemoveItemPlayList";
     this.lklRemoveItemPlayList.Size = new System.Drawing.Size(71, 16);
     this.lklRemoveItemPlayList.TabIndex = 11;
     this.lklRemoveItemPlayList.TabStop = true;
     this.lklRemoveItemPlayList.Text = "Remove Item";
     this.lklRemoveItemPlayList.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lklRemoveItemPlayList_LinkClicked);
     //
     // lklOpenPlayList
     //
     this.lklOpenPlayList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lklOpenPlayList.AutoSize = true;
     this.lklOpenPlayList.Location = new System.Drawing.Point(168, 16);
     this.lklOpenPlayList.Name = "lklOpenPlayList";
     this.lklOpenPlayList.Size = new System.Drawing.Size(78, 16);
     this.lklOpenPlayList.TabIndex = 10;
     this.lklOpenPlayList.TabStop = true;
     this.lklOpenPlayList.Text = "Open Play List";
     this.lklOpenPlayList.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lklOpenPlayList_LinkClicked);
     //
     // lklSavePlayList
     //
     this.lklSavePlayList.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.lklSavePlayList.AutoSize = true;
     this.lklSavePlayList.Location = new System.Drawing.Point(80, 16);
     this.lklSavePlayList.Name = "lklSavePlayList";
     this.lklSavePlayList.Size = new System.Drawing.Size(76, 16);
     this.lklSavePlayList.TabIndex = 9;
     this.lklSavePlayList.TabStop = true;
     this.lklSavePlayList.Text = "Save Play List";
     this.lklSavePlayList.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lklSavePlayList_LinkClicked);
     //
     // rangeBarBookmark
     //
     this.rangeBarBookmark.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.rangeBarBookmark.DivisionNum = 50;
     this.rangeBarBookmark.Enabled = false;
     this.rangeBarBookmark.HeightOfBar = 8;
     this.rangeBarBookmark.HeightOfMark = 24;
     this.rangeBarBookmark.HeightOfTick = 6;
     this.rangeBarBookmark.InnerColor = System.Drawing.Color.DodgerBlue;
     this.rangeBarBookmark.Location = new System.Drawing.Point(88, 160);
     this.rangeBarBookmark.Name = "rangeBarBookmark";
     this.rangeBarBookmark.Orientation = Zzzz.ZzzzRangeBar.RangeBarOrientation.horizontal;
     this.rangeBarBookmark.RangeMaximum = 10;
     this.rangeBarBookmark.RangeMinimum = 0;
     this.rangeBarBookmark.ScaleOrientation = Zzzz.ZzzzRangeBar.TopBottomOrientation.bottom;
     this.rangeBarBookmark.Size = new System.Drawing.Size(336, 32);
     this.rangeBarBookmark.TabIndex = 7;
     this.rangeBarBookmark.TotalMaximum = 100;
     this.rangeBarBookmark.TotalMinimum = 0;
     this.rangeBarBookmark.RangeChanged += new Zzzz.ZzzzRangeBar.RangeChangedEventHandler(this.rangeBarBookmark_RangeChanged);
     //
     // lvPlayList
     //
     this.lvPlayList.AllowDrop = true;
     this.lvPlayList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
         | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.lvPlayList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
                                                                                  this.chPlayListItemName,
                                                                                  this.chPlayListStartTime,
                                                                                  this.chPlayListStopTime});
     this.lvPlayList.FullRowSelect = true;
     this.lvPlayList.GridLines = true;
     this.lvPlayList.HideSelection = false;
     this.lvPlayList.Location = new System.Drawing.Point(80, 32);
     this.lvPlayList.MultiSelect = false;
     this.lvPlayList.Name = "lvPlayList";
     this.lvPlayList.Size = new System.Drawing.Size(344, 128);
     this.lvPlayList.TabIndex = 6;
     this.lvPlayList.View = System.Windows.Forms.View.Details;
     this.lvPlayList.DoubleClick += new System.EventHandler(this.lvPlayList_DoubleClick);
     this.lvPlayList.DragDrop += new System.Windows.Forms.DragEventHandler(this.lvPlayList_DragDrop);
     this.lvPlayList.DragEnter += new System.Windows.Forms.DragEventHandler(this.lvPlayList_DragEnter);
     this.lvPlayList.SelectedIndexChanged += new System.EventHandler(this.lvPlayList_SelectedIndexChanged);
     //
     // chPlayListItemName
     //
     this.chPlayListItemName.Text = "Name";
     this.chPlayListItemName.Width = 145;
     //
     // chPlayListStartTime
     //
     this.chPlayListStartTime.Text = "Start Time Index";
     this.chPlayListStartTime.Width = 90;
     //
     // chPlayListStopTime
     //
     this.chPlayListStopTime.Text = "Stop Time Index";
     this.chPlayListStopTime.Width = 91;
     //
     // lblPlayerStatus
     //
     this.lblPlayerStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.lblPlayerStatus.BackColor = System.Drawing.Color.Black;
     this.lblPlayerStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblPlayerStatus.ForeColor = System.Drawing.Color.DarkGreen;
     this.lblPlayerStatus.Location = new System.Drawing.Point(4, 248);
     this.lblPlayerStatus.Name = "lblPlayerStatus";
     this.lblPlayerStatus.Size = new System.Drawing.Size(432, 23);
     this.lblPlayerStatus.TabIndex = 8;
     this.lblPlayerStatus.Text = "label3";
     this.lblPlayerStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // imglistSound
     //
     this.imglistSound.ImageSize = new System.Drawing.Size(112, 87);
     this.imglistSound.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglistSound.ImageStream")));
     this.imglistSound.TransparentColor = System.Drawing.Color.White;
     //
     // pnlControls
     //
     this.pnlControls.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.pnlControls.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlControls.Controls.Add(this.label1);
     this.pnlControls.Controls.Add(this.cBar1);
     this.pnlControls.Controls.Add(this.lblMediaTime);
     this.pnlControls.Controls.Add(this.pictSound);
     this.pnlControls.Controls.Add(this.btnMute);
     this.pnlControls.Controls.Add(this.tbVolume);
     this.pnlControls.Controls.Add(this.btnFullScreenToggle);
     this.pnlControls.Controls.Add(this.playbackControls1);
     this.pnlControls.Location = new System.Drawing.Point(13, 496);
     this.pnlControls.Name = "pnlControls";
     this.pnlControls.Size = new System.Drawing.Size(771, 72);
     this.pnlControls.TabIndex = 13;
     this.pnlControls.MouseEnter += new System.EventHandler(this.pnlControls_MouseEnter);
     this.pnlControls.MouseLeave += new System.EventHandler(this.pnlControls_MouseLeave);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(40, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(43, 16);
     this.label1.TabIndex = 24;
     this.label1.Text = "Volume";
     //
     // cBar1
     //
     this.cBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.cBar1.Cursor = System.Windows.Forms.Cursors.Hand;
     this.cBar1.LargeChange = ((long)(10));
     this.cBar1.LeftArrow = ((System.Drawing.Bitmap)(resources.GetObject("cBar1.LeftArrow")));
     this.cBar1.LeftChannelBeginColor = System.Drawing.Color.Green;
     this.cBar1.LeftChannelEndColor = System.Drawing.Color.White;
     this.cBar1.Location = new System.Drawing.Point(8, 54);
     this.cBar1.MaxValue = ((long)(100));
     this.cBar1.MinValue = ((long)(0));
     this.cBar1.Name = "cBar1";
     this.cBar1.RightArrow = ((System.Drawing.Bitmap)(resources.GetObject("cBar1.RightArrow")));
     this.cBar1.RightChannelBeginColor = System.Drawing.Color.Honeydew;
     this.cBar1.RightChannelEndColor = System.Drawing.Color.Gray;
     this.cBar1.ScrollbarLayout = cbar.CBar.BarLayout.Horizontal;
     this.cBar1.Size = new System.Drawing.Size(753, 14);
     this.cBar1.TabIndex = 23;
     this.cBar1.ThumbFillColor = System.Drawing.Color.MediumBlue;
     this.cBar1.ThumbRectColor = System.Drawing.Color.DodgerBlue;
     this.cBar1.TrackBorderColor = System.Drawing.Color.Black;
     this.cBar1.Value = ((long)(0));
     this.cBar1.ValueChanged += new cbar.CBar.ValueChangedEventHandler(this.cBar1_ValueChanged);
     //
     // lblMediaTime
     //
     this.lblMediaTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.lblMediaTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblMediaTime.ForeColor = System.Drawing.SystemColors.ControlText;
     this.lblMediaTime.Location = new System.Drawing.Point(593, 11);
     this.lblMediaTime.Name = "lblMediaTime";
     this.lblMediaTime.Size = new System.Drawing.Size(168, 23);
     this.lblMediaTime.TabIndex = 22;
     this.lblMediaTime.Text = "00:00:00 of 00:00:00";
     this.lblMediaTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // pictSound
     //
     this.pictSound.Location = new System.Drawing.Point(196, 8);
     this.pictSound.Name = "pictSound";
     this.pictSound.Size = new System.Drawing.Size(60, 32);
     this.pictSound.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictSound.TabIndex = 21;
     this.pictSound.TabStop = false;
     //
     // btnMute
     //
     this.btnMute.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnMute.Location = new System.Drawing.Point(116, 13);
     this.btnMute.Name = "btnMute";
     this.btnMute.TabIndex = 20;
     this.btnMute.Text = "Mute";
     this.btnMute.Click += new System.EventHandler(this.btnMute_Click);
     //
     // tbVolume
     //
     this.tbVolume.Location = new System.Drawing.Point(8, 16);
     this.tbVolume.Maximum = 100;
     this.tbVolume.Name = "tbVolume";
     this.tbVolume.TabIndex = 19;
     this.tbVolume.TickFrequency = 5;
     this.tbVolume.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
     this.tbVolume.ValueChanged += new System.EventHandler(this.tbVolume_ValueChanged);
     //
     // btnFullScreenToggle
     //
     this.btnFullScreenToggle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnFullScreenToggle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnFullScreenToggle.ForeColor = System.Drawing.SystemColors.ControlText;
     this.btnFullScreenToggle.Location = new System.Drawing.Point(501, 8);
     this.btnFullScreenToggle.Name = "btnFullScreenToggle";
     this.btnFullScreenToggle.Size = new System.Drawing.Size(72, 40);
     this.btnFullScreenToggle.TabIndex = 17;
     this.btnFullScreenToggle.Text = "Full Screen";
     this.btnFullScreenToggle.Click += new System.EventHandler(this.btnFullScreenToggle_Click);
     //
     // playbackControls1
     //
     this.playbackControls1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
     this.playbackControls1.FastForwardVisible = true;
     this.playbackControls1.JumpBeginVisible = true;
     this.playbackControls1.JumpEndVisible = true;
     this.playbackControls1.Location = new System.Drawing.Point(260, 8);
     this.playbackControls1.Name = "playbackControls1";
     this.playbackControls1.PlayVisible = true;
     this.playbackControls1.RewindVisible = true;
     this.playbackControls1.ShowPauseOnPlayClick = false;
     this.playbackControls1.ShowPlayOnPauseClick = false;
     this.playbackControls1.Size = new System.Drawing.Size(240, 40);
     this.playbackControls1.StopVisible = true;
     this.playbackControls1.TabIndex = 16;
     this.playbackControls1.Load += new System.EventHandler(this.playbackControls1_Load);
     this.playbackControls1.BeginRewind += new System.Windows.Forms.MouseEventHandler(this.playbackControls1_BeginRewind);
     this.playbackControls1.EndRewind += new System.Windows.Forms.MouseEventHandler(this.playbackControls1_EndRewind);
     this.playbackControls1.BeginFastForward += new System.Windows.Forms.MouseEventHandler(this.playbackControls1_BeginFastForward);
     this.playbackControls1.StopClick += new System.EventHandler(this.playbackControls1_StopClick);
     this.playbackControls1.RewindClick += new System.EventHandler(this.playbackControls1_RewindClick);
     this.playbackControls1.JumpBeginClick += new System.EventHandler(this.playbackControls1_JumpBeginClick);
     this.playbackControls1.PauseClick += new System.EventHandler(this.playbackControls1_PauseClick);
     this.playbackControls1.EndFastForward += new System.Windows.Forms.MouseEventHandler(this.playbackControls1_EndFastForward);
     this.playbackControls1.FastForwardClick += new System.EventHandler(this.playbackControls1_FastForwardClick);
     this.playbackControls1.PlayClick += new System.EventHandler(this.playbackControls1_PlayClick);
     this.playbackControls1.JumpEndClick += new System.EventHandler(this.playbackControls1_JumpEndClick);
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.miFile,
                                                                               this.miAbout});
     //
     // miFile
     //
     this.miFile.Index = 0;
     this.miFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                            this.miOptions});
     this.miFile.Text = "&File";
     //
     // miOptions
     //
     this.miOptions.Index = 0;
     this.miOptions.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.miOptions.Text = "&Options";
     this.miOptions.Click += new System.EventHandler(this.miOptions_Click);
     //
     // miAbout
     //
     this.miAbout.Index = 1;
     this.miAbout.Shortcut = System.Windows.Forms.Shortcut.CtrlH;
     this.miAbout.ShowShortcut = false;
     this.miAbout.Text = "&About";
     this.miAbout.Click += new System.EventHandler(this.miAbout_Click);
     //
     // ctxmSession
     //
     this.ctxmSession.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                 this.mnuRenameSession,
                                                                                 this.mnuDeleteSession,
                                                                                 this.miSessionProperties});
     //
     // mnuRenameSession
     //
     this.mnuRenameSession.Index = 0;
     this.mnuRenameSession.Text = "Rename Session";
     //
     // mnuDeleteSession
     //
     this.mnuDeleteSession.Index = 1;
     this.mnuDeleteSession.Text = "Delete Session";
     //
     // miSessionProperties
     //
     this.miSessionProperties.DefaultItem = true;
     this.miSessionProperties.Index = 2;
     this.miSessionProperties.Text = "Properties...";
     //
     // tmrPlayBack
     //
     this.tmrPlayBack.Enabled = true;
     this.tmrPlayBack.Tick += new System.EventHandler(this.tmrPlayBack_Tick);
     //
     // tmrFullScreenControlDisplay
     //
     this.tmrFullScreenControlDisplay.Interval = 1000;
     this.tmrFullScreenControlDisplay.Tick += new System.EventHandler(this.tmrFullScreenControlDisplay_Tick);
     //
     // frmMain
     //
     this.AcceptButton = this.btnSearch;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.pnlControls);
     this.Controls.Add(this.pnlPlayer);
     this.Controls.Add(this.groupBox1);
     this.Menu = this.mainMenu1;
     this.MinimumSize = new System.Drawing.Size(800, 600);
     this.Name = "frmMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Oyster Content Player";
     this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.frmMain_KeyPress);
     this.Load += new System.EventHandler(this.frmMain_Load);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.frmMain_MouseMove);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer2)).EndInit();
     this.pnlPlayer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axWindowsMediaPlayer1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.pnlControls.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tbVolume)).EndInit();
     this.ResumeLayout(false);
 }
Пример #57
-38
        private const int WM_HOTKEY = 0x312; //窗口消息-热键

        #endregion Fields

        #region Constructors

        public LrcFrm(AxWMPLib.AxWindowsMediaPlayer axWmplayer,System.Windows.Forms.Timer timer)
        {
            InitializeComponent();
            this.DoubleBuffered = true;
            LrcConnections.lrcfrm = this;
            LrcConnections.lrcPanel = this.lrcPanel1;
            this.axWmplayer = axWmplayer;
            this.timer = timer;
        }