Click here to Skip to main content
15,881,380 members
Articles / Desktop Programming / Windows Forms

BSEtunes

Rate me:
Please Sign up or sign in to vote.
4.67/5 (11 votes)
24 Apr 2010CPOL4 min read 64.4K   4.3K   58  
BSEtunes is a MySQL based, full manageable, networkable single or multiuser jukebox application
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BSE.CoverFlow.WPFLib
{
    public static class Constants
    {
        #region FieldsPrivate
        /// <summary>
        /// Gets the name of the default directory that contains the application data.
        /// </summary>
        private const string m_strApplicationBaseDataDirectoryName = "BSE";
        private const string m_strDefaultImageName = "default";
        private const string m_strPngFileFormatSuffix = ".png";
        private const string m_strImageSourceBtnNextEnabled = ";component/Images/next.png";
        private const string m_strImageSourceBtnNextDisabled = ";component/Images/next_disabled.png";
        private const string m_strImageSourceBtnPreviousEnabled = ";component/Images/previous.png";
        private const string m_strImageSourceBtnPreviousDisabled = ";component/Images/previous_disabled.png";
        private const string m_strImageSourceBtnPlay = ";component/Images/PlayButton.png";
        private const string m_strImageSourceBtnPause = ";component/Images/pause.png";
        private const int m_iMaxScrollStep = 20;
        #endregion

        #region Properties
        /// <summary>
        /// Gets the name of the default directory that contains the application data.
        /// </summary>
        public static string ApplicationBaseDataDirectoryName
        {
            get { return m_strApplicationBaseDataDirectoryName; }
        }
        /// <summary>
        /// Gets the name of the default image.
        /// </summary>
        public static string DefaultImageName
        {
            get { return m_strDefaultImageName; }
        }
        /// <summary>
        /// Gets the fileformat suufix for an png image.
        /// </summary>
        public static string PngFileFormatSuffix
        {
            get { return m_strPngFileFormatSuffix; }
        }
        /// <summary>
        /// Gets the resource path for the button BtnNextEnabled image.
        /// </summary>
        public static string ImageSourceBtnNextEnabled
        {
            get { return m_strImageSourceBtnNextEnabled; }
        }
        /// <summary>
        /// Gets the resource path for the button BtnNextDisabled image.
        /// </summary>
        public static string ImageSourceBtnNextDisabled
        {
            get { return m_strImageSourceBtnNextDisabled; }
        }
        /// <summary>
        /// Gets the resource path for the button BtnPreviousEnabled image.
        /// </summary>
        public static string ImageSourceBtnPreviousEnabled
        {
            get { return m_strImageSourceBtnPreviousEnabled; }
        }
        /// <summary>
        /// Gets the resource path for the button BtnPreviousDisabled image.
        /// </summary>
        public static string ImageSourceBtnPreviousDisabled
        {
            get { return m_strImageSourceBtnPreviousDisabled; }
        }
        /// <summary>
        /// Gets the resource path for the button play image.
        /// </summary>
        public static string ImageSourceBtnPlay
        {
            get { return m_strImageSourceBtnPlay; }
        }
        /// <summary>
        /// Gets the resource path for the button pause image.
        /// </summary>
        public static string ImageSourceBtnPause
        {
            get { return m_strImageSourceBtnPause; }
        }
        /// <summary>
        /// Gets the a abbreviation value when the coverflowitem is moved a large distance.
        /// </summary>
        public static int MaxScrollStep
        {
            get { return m_iMaxScrollStep; }
        }
        #endregion
    }
}

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
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions