Click here to Skip to main content
13,597,463 members
Click here to Skip to main content

Stats

656.7K views
29K downloads
273 bookmarked
Posted 14 Sep 2010
Licenced CPOL

PVS.AVPlayer - MCI Audio and Video Library

, 1 Jun 2018
Windows Media Control Interface (MCI) library with many added features
PVS.AVPlayer
PVS.AVPlayer .NET 2.0
PVS.AVPlayer.XML
PVS.AVPlayer .NET 3.0
PVS.AVPlayer.XML
PVS.AVPlayer .NET 3.5
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.0
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.5
PVS.AVPlayer .NET 4.5.1
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.5.2
PVS.AVPlayer.XML
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.6
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.6.1
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.6.2
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.7
PVS.AVPlayer .NET 4.7.1
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer .NET 4.7.2
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer.dll
PVS.AVPlayer.XML
PVS.AVPlayer All Source Code
AVPlayerExample
AVPlayerExample
AVPlayerExample.csproj.user
bin
Debug
PVS.AVPlayer.XML
Release
Dialogs
Display Overlays
obj
Debug
Release
x86
Debug
Release
Properties
Resources
Crystal Italic1.ttf
WingDings3a.ttf
Voice Recorder
FolderView
FolderView
bin
Debug
PVS.AVPlayer.XML
Release
FolderView.csproj.user
obj
Release
x86
Debug
Release
Properties
Resources
Crystal Italic1.ttf
PVS.AVPlayer
AVPlayerExample.csproj.user
PVS.AVPlayer.dll
PVS.AVPlayer.XML
Custom Items
Native Methods
Bob.png
Crystal Italic1.ttf
Dial Green 2.png
Dial Green 4.png
Dial Green.png
Dial Red 2.png
Dial Red.png
media7.ico
media7a.ico
Media8.ico
Media8a.ico
VU Meter.png
WingDings3a.ttf
Sound Recorder
Various
About Dialog
PVS.AVPlayer.dll
PVS.AVPlayer.XML
Custom Items
FolderView.csproj.user
Bob.png
Crystal Italic1.ttf
media7a.ico
media7b.ico
Media8a.ico
Media8b.ico
Subtitles Overlay
Various
How To (C#)
PVSAVPlayerHowTo
bin
Debug
PVS.AVPlayer.dll
PVS.AVPlayer.XML
Release
Properties
How To (VB.NET)
PVSAVPlayerHowToVB
bin
Debug
PVS.AVPlayer.dll
PVS.AVPlayer.XML
Release
My Project
Application.myapp
PVSAVPlayerHowTo.vbproj.user
PVS.AVPlayer Examples
AVPlayerExample.ex_
FolderView.ex_
AVPlayerExample.exe
FolderView.exe
PVS.AVPlayer.dll
using System.ComponentModel;
using System.Windows.Forms;

namespace AVPlayerExample
{
    partial class BouncingOverlay
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private IContainer components = null;

        #region Windows Form Designer generated code

        /// <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();
            this.bouncingPanel = new System.Windows.Forms.Panel();
            this.setButton = new AVPlayerExample.CustomButton();
            this.optionsButton = new AVPlayerExample.DropDownButton();
            this.optionsMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.bubbleShapeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.roundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.squareToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.diamondToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.starToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.bubbleSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.overlaySize3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.overlaySize4ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.overlaySize5ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.overlaySizeBubblesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.backColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.opacityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.invertTransparancyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
            this.bouncingPanel.SuspendLayout();
            this.optionsMenu.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
            this.SuspendLayout();
            // 
            // bouncingPanel
            // 
            this.bouncingPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
            this.bouncingPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.bouncingPanel.Controls.Add(this.setButton);
            this.bouncingPanel.Controls.Add(this.optionsButton);
            this.bouncingPanel.Controls.Add(this.numericUpDown1);
            this.bouncingPanel.Location = new System.Drawing.Point(12, 12);
            this.bouncingPanel.Name = "bouncingPanel";
            this.bouncingPanel.Size = new System.Drawing.Size(228, 27);
            this.bouncingPanel.TabIndex = 0;
            // 
            // setButton
            // 
            this.setButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
            this.setButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(159)))), ((int)(((byte)(87)))));
            this.setButton.Location = new System.Drawing.Point(76, 2);
            this.setButton.Name = "setButton";
            this.setButton.Size = new System.Drawing.Size(73, 21);
            this.setButton.TabIndex = 1;
            this.setButton.Text = "Set";
            this.setButton.UseVisualStyleBackColor = true;
            this.setButton.Click += new System.EventHandler(this.setButton_Click);
            // 
            // optionsButton
            // 
            this.optionsButton.Appearance = System.Windows.Forms.Appearance.Button;
            this.optionsButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
            this.optionsButton.DropDown = this.optionsMenu;
            this.optionsButton.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(159)))), ((int)(((byte)(87)))));
            this.optionsButton.Location = new System.Drawing.Point(151, 2);
            this.optionsButton.Name = "optionsButton";
            this.optionsButton.Size = new System.Drawing.Size(73, 21);
            this.optionsButton.TabIndex = 2;
            this.optionsButton.Text = "Options ";
            this.optionsButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.optionsButton.UseVisualStyleBackColor = true;
            // 
            // optionsMenu
            // 
            this.optionsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.bubbleShapeToolStripMenuItem,
            this.bubbleSizeToolStripMenuItem,
            this.toolStripSeparator1,
            this.backColorToolStripMenuItem,
            this.opacityToolStripMenuItem,
            this.toolStripSeparator3,
            this.invertTransparancyToolStripMenuItem});
            this.optionsMenu.Name = "contextMenuStrip1";
            this.optionsMenu.ShowImageMargin = false;
            this.optionsMenu.Size = new System.Drawing.Size(154, 126);
            this.optionsMenu.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.contextMenuStrip1_Closed);
            // 
            // bubbleShapeToolStripMenuItem
            // 
            this.bubbleShapeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.roundToolStripMenuItem,
            this.squareToolStripMenuItem,
            this.diamondToolStripMenuItem,
            this.starToolStripMenuItem});
            this.bubbleShapeToolStripMenuItem.Name = "bubbleShapeToolStripMenuItem";
            this.bubbleShapeToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.bubbleShapeToolStripMenuItem.Text = "Shape";
            // 
            // roundToolStripMenuItem
            // 
            this.roundToolStripMenuItem.Checked = true;
            this.roundToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.roundToolStripMenuItem.Name = "roundToolStripMenuItem";
            this.roundToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.roundToolStripMenuItem.Text = "Round";
            this.roundToolStripMenuItem.Click += new System.EventHandler(this.roundToolStripMenuItem_Click);
            // 
            // squareToolStripMenuItem
            // 
            this.squareToolStripMenuItem.Name = "squareToolStripMenuItem";
            this.squareToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.squareToolStripMenuItem.Text = "Square";
            this.squareToolStripMenuItem.Click += new System.EventHandler(this.squareToolStripMenuItem_Click);
            // 
            // diamondToolStripMenuItem
            // 
            this.diamondToolStripMenuItem.Name = "diamondToolStripMenuItem";
            this.diamondToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.diamondToolStripMenuItem.Text = "Diamond";
            this.diamondToolStripMenuItem.Click += new System.EventHandler(this.diamondToolStripMenuItem_Click);
            // 
            // starToolStripMenuItem
            // 
            this.starToolStripMenuItem.Name = "starToolStripMenuItem";
            this.starToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.starToolStripMenuItem.Text = "Star";
            this.starToolStripMenuItem.Click += new System.EventHandler(this.starToolStripMenuItem_Click);
            // 
            // bubbleSizeToolStripMenuItem
            // 
            this.bubbleSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.overlaySize3ToolStripMenuItem,
            this.overlaySize4ToolStripMenuItem,
            this.overlaySize5ToolStripMenuItem,
            this.toolStripSeparator2,
            this.overlaySizeBubblesToolStripMenuItem});
            this.bubbleSizeToolStripMenuItem.Name = "bubbleSizeToolStripMenuItem";
            this.bubbleSizeToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.bubbleSizeToolStripMenuItem.Text = "Shape Size";
            // 
            // overlaySize3ToolStripMenuItem
            // 
            this.overlaySize3ToolStripMenuItem.Checked = true;
            this.overlaySize3ToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.overlaySize3ToolStripMenuItem.Name = "overlaySize3ToolStripMenuItem";
            this.overlaySize3ToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.overlaySize3ToolStripMenuItem.Text = "OverlaySize/3";
            this.overlaySize3ToolStripMenuItem.Click += new System.EventHandler(this.overlaySize3ToolStripMenuItem_Click);
            // 
            // overlaySize4ToolStripMenuItem
            // 
            this.overlaySize4ToolStripMenuItem.Name = "overlaySize4ToolStripMenuItem";
            this.overlaySize4ToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.overlaySize4ToolStripMenuItem.Text = "OverlaySize/4";
            this.overlaySize4ToolStripMenuItem.Click += new System.EventHandler(this.overlaySize4ToolStripMenuItem_Click);
            // 
            // overlaySize5ToolStripMenuItem
            // 
            this.overlaySize5ToolStripMenuItem.Name = "overlaySize5ToolStripMenuItem";
            this.overlaySize5ToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.overlaySize5ToolStripMenuItem.Text = "OverlaySize/5";
            this.overlaySize5ToolStripMenuItem.Click += new System.EventHandler(this.overlaySize5ToolStripMenuItem_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(173, 6);
            // 
            // overlaySizeBubblesToolStripMenuItem
            // 
            this.overlaySizeBubblesToolStripMenuItem.Name = "overlaySizeBubblesToolStripMenuItem";
            this.overlaySizeBubblesToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.overlaySizeBubblesToolStripMenuItem.Text = "OverlaySize/Shapes";
            this.overlaySizeBubblesToolStripMenuItem.Click += new System.EventHandler(this.overlaySizeBubblesToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(150, 6);
            // 
            // backColorToolStripMenuItem
            // 
            this.backColorToolStripMenuItem.Name = "backColorToolStripMenuItem";
            this.backColorToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.backColorToolStripMenuItem.Text = "Color…";
            this.backColorToolStripMenuItem.Click += new System.EventHandler(this.backColorToolStripMenuItem_Click);
            // 
            // opacityToolStripMenuItem
            // 
            this.opacityToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem8,
            this.toolStripMenuItem2,
            this.toolStripMenuItem3,
            this.toolStripMenuItem7});
            this.opacityToolStripMenuItem.Name = "opacityToolStripMenuItem";
            this.opacityToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.opacityToolStripMenuItem.Text = "Opacity";
            // 
            // toolStripMenuItem8
            // 
            this.toolStripMenuItem8.Name = "toolStripMenuItem8";
            this.toolStripMenuItem8.Size = new System.Drawing.Size(102, 22);
            this.toolStripMenuItem8.Text = "  25%";
            this.toolStripMenuItem8.Click += new System.EventHandler(this.HandleToolStripOpacity);
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(102, 22);
            this.toolStripMenuItem2.Text = "  50%";
            this.toolStripMenuItem2.Click += new System.EventHandler(this.HandleToolStripOpacity);
            // 
            // toolStripMenuItem3
            // 
            this.toolStripMenuItem3.Name = "toolStripMenuItem3";
            this.toolStripMenuItem3.Size = new System.Drawing.Size(102, 22);
            this.toolStripMenuItem3.Text = "  75%";
            this.toolStripMenuItem3.Click += new System.EventHandler(this.HandleToolStripOpacity);
            // 
            // toolStripMenuItem7
            // 
            this.toolStripMenuItem7.Checked = true;
            this.toolStripMenuItem7.CheckState = System.Windows.Forms.CheckState.Checked;
            this.toolStripMenuItem7.Name = "toolStripMenuItem7";
            this.toolStripMenuItem7.Size = new System.Drawing.Size(102, 22);
            this.toolStripMenuItem7.Text = "100%";
            this.toolStripMenuItem7.Click += new System.EventHandler(this.HandleToolStripOpacity);
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(150, 6);
            // 
            // invertTransparancyToolStripMenuItem
            // 
            this.invertTransparancyToolStripMenuItem.Name = "invertTransparancyToolStripMenuItem";
            this.invertTransparancyToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
            this.invertTransparancyToolStripMenuItem.Text = "Invert Transparency";
            this.invertTransparancyToolStripMenuItem.Click += new System.EventHandler(this.invertTransparencyToolStripMenuItem_Click);
            // 
            // numericUpDown1
            // 
            this.numericUpDown1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
            this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.numericUpDown1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(189)))), ((int)(((byte)(159)))), ((int)(((byte)(87)))));
            this.numericUpDown1.Location = new System.Drawing.Point(2, 2);
            this.numericUpDown1.Minimum = new decimal(new int[] {
            1,
            0,
            0,
            0});
            this.numericUpDown1.Name = "numericUpDown1";
            this.numericUpDown1.Size = new System.Drawing.Size(72, 21);
            this.numericUpDown1.TabIndex = 0;
            this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            this.numericUpDown1.Value = new decimal(new int[] {
            1,
            0,
            0,
            0});
            // 
            // BouncingOverlay
            // 
            this.AcceptButton = this.setButton;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
            this.ClientSize = new System.Drawing.Size(503, 380);
            this.Controls.Add(this.bouncingPanel);
            this.Name = "BouncingOverlay";
            this.Text = "BouncingOverlay";
            this.TransparencyKey = System.Drawing.Color.RosyBrown;
            this.VisibleChanged += new System.EventHandler(this.Form1_VisibleChanged);
            this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
            this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseDown);
            this.bouncingPanel.ResumeLayout(false);
            this.optionsMenu.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private Panel bouncingPanel;
        private NumericUpDown numericUpDown1;
        private ContextMenuStrip optionsMenu;
        private ToolStripMenuItem bubbleSizeToolStripMenuItem;
        private ToolStripMenuItem overlaySize3ToolStripMenuItem;
        private ToolStripMenuItem overlaySize4ToolStripMenuItem;
        private ToolStripMenuItem overlaySize5ToolStripMenuItem;
        private ToolStripMenuItem overlaySizeBubblesToolStripMenuItem;
        private ToolStripSeparator toolStripSeparator1;
        private ToolStripMenuItem backColorToolStripMenuItem;
        private ToolStripSeparator toolStripSeparator2;
        private ToolStripMenuItem opacityToolStripMenuItem;
        private ToolStripMenuItem toolStripMenuItem2;
        private ToolStripMenuItem toolStripMenuItem3;
        private ToolStripMenuItem toolStripMenuItem7;
        private ToolStripMenuItem toolStripMenuItem8;
        private ToolStripMenuItem bubbleShapeToolStripMenuItem;
        private ToolStripMenuItem roundToolStripMenuItem;
        private ToolStripMenuItem squareToolStripMenuItem;
        private ToolStripMenuItem diamondToolStripMenuItem;
        private ToolStripMenuItem starToolStripMenuItem;
        private ToolStripSeparator toolStripSeparator3;
        private ToolStripMenuItem invertTransparancyToolStripMenuItem;
        private DropDownButton optionsButton;
        private CustomButton setButton;

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Peter Vegter
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01 | 2.8.180621.3 | Last Updated 1 Jun 2018
Article Copyright 2010 by Peter Vegter
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid