Click here to Skip to main content
15,885,032 members
Articles / Mobile Apps / Windows Mobile

Audio Book Player

Rate me:
Please Sign up or sign in to vote.
4.86/5 (36 votes)
11 Jun 2009CPOL6 min read 197.5K   3.5K   84  
Audio player designed specifically for listening to audio books
namespace abPlayer
{
    partial class frmPlayer
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #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.pnlBottom = new System.Windows.Forms.Panel();
            this.picLight = new System.Windows.Forms.PictureBox();
            this.picDark = new System.Windows.Forms.PictureBox();
            this.picExit = new System.Windows.Forms.PictureBox();
            this.picProps = new System.Windows.Forms.PictureBox();
            this.picLibrary = new System.Windows.Forms.PictureBox();
            this.pnlTop = new System.Windows.Forms.Panel();
            this.picVol = new System.Windows.Forms.PictureBox();
            this.picSleep = new System.Windows.Forms.PictureBox();
            this.lblSleep = new System.Windows.Forms.Label();
            this.picPrev = new System.Windows.Forms.PictureBox();
            this.picNext = new System.Windows.Forms.PictureBox();
            this.picStop = new System.Windows.Forms.PictureBox();
            this.tmr = new System.Windows.Forms.Timer();
            this.picBattery = new System.Windows.Forms.PictureBox();
            this.picClock = new System.Windows.Forms.PictureBox();
            this.cnm = new System.Windows.Forms.ContextMenu();
            this.mnuSkins = new System.Windows.Forms.MenuItem();
            this.menuItem1 = new System.Windows.Forms.MenuItem();
            this.mnuAbout = new System.Windows.Forms.MenuItem();
            this.pnlBottom.SuspendLayout();
            this.pnlTop.SuspendLayout();
            this.SuspendLayout();
            // 
            // pnlBottom
            // 
            this.pnlBottom.BackColor = System.Drawing.Color.Black;
            this.pnlBottom.Controls.Add(this.picLight);
            this.pnlBottom.Controls.Add(this.picDark);
            this.pnlBottom.Controls.Add(this.picExit);
            this.pnlBottom.Controls.Add(this.picProps);
            this.pnlBottom.Controls.Add(this.picLibrary);
            this.pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pnlBottom.Location = new System.Drawing.Point(0, 426);
            this.pnlBottom.Name = "pnlBottom";
            this.pnlBottom.Size = new System.Drawing.Size(640, 54);
            // 
            // picLight
            // 
            this.picLight.Location = new System.Drawing.Point(348, 4);
            this.picLight.Name = "picLight";
            this.picLight.Size = new System.Drawing.Size(48, 48);
            this.picLight.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picLight.Tag = "Light";
            this.picLight.Visible = false;
            this.picLight.Click += new System.EventHandler(this.picLight_Click);
            // 
            // picDark
            // 
            this.picDark.Location = new System.Drawing.Point(2, 4);
            this.picDark.Name = "picDark";
            this.picDark.Size = new System.Drawing.Size(48, 48);
            this.picDark.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picDark.Tag = "Dark";
            this.picDark.Click += new System.EventHandler(this.picDark_Click);
            // 
            // picExit
            // 
            this.picExit.Location = new System.Drawing.Point(192, 4);
            this.picExit.Name = "picExit";
            this.picExit.Size = new System.Drawing.Size(48, 48);
            this.picExit.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picExit.Tag = "exit";
            this.picExit.Click += new System.EventHandler(this.picExit_Click);
            // 
            // picProps
            // 
            this.picProps.Location = new System.Drawing.Point(128, 4);
            this.picProps.Name = "picProps";
            this.picProps.Size = new System.Drawing.Size(48, 48);
            this.picProps.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picProps.Tag = "props";
            this.picProps.Click += new System.EventHandler(this.picProps_Click);
            // 
            // picLibrary
            // 
            this.picLibrary.Location = new System.Drawing.Point(65, 4);
            this.picLibrary.Name = "picLibrary";
            this.picLibrary.Size = new System.Drawing.Size(48, 48);
            this.picLibrary.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picLibrary.Tag = "library";
            this.picLibrary.Click += new System.EventHandler(this.picLibrary_Click);
            // 
            // pnlTop
            // 
            this.pnlTop.BackColor = System.Drawing.Color.Black;
            this.pnlTop.Controls.Add(this.picVol);
            this.pnlTop.Controls.Add(this.picSleep);
            this.pnlTop.Controls.Add(this.lblSleep);
            this.pnlTop.Controls.Add(this.picPrev);
            this.pnlTop.Controls.Add(this.picNext);
            this.pnlTop.Controls.Add(this.picStop);
            this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
            this.pnlTop.Location = new System.Drawing.Point(0, 0);
            this.pnlTop.Name = "pnlTop";
            this.pnlTop.Size = new System.Drawing.Size(640, 46);
            // 
            // picVol
            // 
            this.picVol.Location = new System.Drawing.Point(511, 5);
            this.picVol.Name = "picVol";
            this.picVol.Size = new System.Drawing.Size(24, 24);
            this.picVol.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picVol.Tag = "vol";
            // 
            // picSleep
            // 
            this.picSleep.Location = new System.Drawing.Point(2, 4);
            this.picSleep.Name = "picSleep";
            this.picSleep.Size = new System.Drawing.Size(42, 42);
            this.picSleep.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picSleep.Tag = "sleep";
            this.picSleep.Click += new System.EventHandler(this.picSleep_Click);
            // 
            // lblSleep
            // 
            this.lblSleep.BackColor = System.Drawing.Color.Black;
            this.lblSleep.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
            this.lblSleep.ForeColor = System.Drawing.Color.White;
            this.lblSleep.Location = new System.Drawing.Point(44, 8);
            this.lblSleep.Name = "lblSleep";
            this.lblSleep.Size = new System.Drawing.Size(62, 37);
            this.lblSleep.Text = "Sleep in: 00:00:00";
            this.lblSleep.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.lblSleep.Visible = false;
            // 
            // picPrev
            // 
            this.picPrev.Location = new System.Drawing.Point(108, 2);
            this.picPrev.Name = "picPrev";
            this.picPrev.Size = new System.Drawing.Size(44, 44);
            this.picPrev.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picPrev.Tag = "prev";
            this.picPrev.Click += new System.EventHandler(this.picPrev_Click);
            // 
            // picNext
            // 
            this.picNext.Location = new System.Drawing.Point(196, 2);
            this.picNext.Name = "picNext";
            this.picNext.Size = new System.Drawing.Size(44, 44);
            this.picNext.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picNext.Tag = "next";
            this.picNext.Click += new System.EventHandler(this.picNext_Click);
            // 
            // picStop
            // 
            this.picStop.Location = new System.Drawing.Point(152, 2);
            this.picStop.Name = "picStop";
            this.picStop.Size = new System.Drawing.Size(44, 44);
            this.picStop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picStop.Tag = "stop";
            this.picStop.Click += new System.EventHandler(this.picStop_Click);
            // 
            // tmr
            // 
            this.tmr.Interval = 1000;
            this.tmr.Tick += new System.EventHandler(this.tmr_Tick);
            // 
            // picBattery
            // 
            this.picBattery.Location = new System.Drawing.Point(475, 5);
            this.picBattery.Name = "picBattery";
            this.picBattery.Size = new System.Drawing.Size(24, 24);
            this.picBattery.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picBattery.Tag = "battery";
            // 
            // picClock
            // 
            this.picClock.Location = new System.Drawing.Point(442, 5);
            this.picClock.Name = "picClock";
            this.picClock.Size = new System.Drawing.Size(24, 24);
            this.picClock.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picClock.Tag = "clock";
            // 
            // cnm
            // 
            this.cnm.MenuItems.Add(this.mnuSkins);
            this.cnm.MenuItems.Add(this.menuItem1);
            this.cnm.MenuItems.Add(this.mnuAbout);
            this.cnm.Popup += new System.EventHandler(this.cnm_Popup);
            // 
            // mnuSkins
            // 
            this.mnuSkins.Text = "Skins";
            // 
            // menuItem1
            // 
            this.menuItem1.Text = "-";
            // 
            // mnuAbout
            // 
            this.mnuAbout.Text = "About...";
            this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
            // 
            // frmPlayer
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.BackColor = System.Drawing.Color.Black;
            this.ClientSize = new System.Drawing.Size(640, 480);
            this.ContextMenu = this.cnm;
            this.ControlBox = false;
            this.Controls.Add(this.picClock);
            this.Controls.Add(this.picBattery);
            this.Controls.Add(this.pnlTop);
            this.Controls.Add(this.pnlBottom);
            this.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.KeyPreview = true;
            this.Location = new System.Drawing.Point(0, 0);
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "frmPlayer";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Paint += new System.Windows.Forms.PaintEventHandler(this.abPlayer_Paint);
            this.Click += new System.EventHandler(this.frmPlayer_Click);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.frmPlayer_KeyDown);
            this.pnlBottom.ResumeLayout(false);
            this.pnlTop.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Panel pnlBottom;
        private System.Windows.Forms.Panel pnlTop;
        private System.Windows.Forms.PictureBox picNext;
        private System.Windows.Forms.PictureBox picStop;
        private System.Windows.Forms.PictureBox picExit;
        private System.Windows.Forms.PictureBox picProps;
        private System.Windows.Forms.PictureBox picLibrary;
        private System.Windows.Forms.Timer tmr;
        private System.Windows.Forms.PictureBox picBattery;
        private System.Windows.Forms.PictureBox picClock;
        private System.Windows.Forms.PictureBox picPrev;
        private System.Windows.Forms.PictureBox picSleep;
        private System.Windows.Forms.Label lblSleep;
        private System.Windows.Forms.ContextMenu cnm;
        private System.Windows.Forms.MenuItem mnuAbout;
        private System.Windows.Forms.MenuItem mnuSkins;
        private System.Windows.Forms.MenuItem menuItem1;
        private System.Windows.Forms.PictureBox picDark;
        private System.Windows.Forms.PictureBox picLight;
        private System.Windows.Forms.PictureBox picVol;
    }
}

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)


Written By
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions