• 大小: 47.72M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-07
  • 语言: 其他
  • 标签: 其他  

资源简介

greatmaps-master.zip

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Globalization;
using Demo.WindowsForms.Properties;
using System.Drawing.Drawing2D;

namespace BSE.Windows.Forms
{
    /// 
    /// Represents a Windows progress bar control. 
    /// 

    /// Copyright © 2008 Uwe Eichkorn
    /// THIS CODE AND INFORMATION IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY
    /// KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE
    /// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
    /// PURPOSE. IT CAN BE DISTRIBUTED FREE OF CHARGE AS LONG AS THIS HEADER 
    /// REMAINS UNCHANGED.
    /// 

    [ToolboxBitmap(typeof(System.Windows.Forms.ProgressBar))]
    public partial class ProgressBar : Control
    {
        #region Events
        /// 
        /// Occurs when the value of the BorderColor property changes.
        /// 

        [Description(“Occurs when the value of the BorderColor property is changed on the control.“)]
        public event EventHandler BorderColorChanged;
        /// 
        /// Occurs when the value of the BackgroundColor property changes.
        /// 

        [Description(“Occurs when the value of the BackgroundColor property is changed on the control.“)]
        public event EventHandler BackgroundColorChanged;
        /// 
        /// Occurs when the value of the ValueColor property changes.
        /// 

        [Description(“Occurs when the value of the ValueColor property is changed on the control.“)]
        public event EventHandler ValueColorChanged;
        #endregion

        #region FieldsPrivate
        private Color m_backgroundColor;
        private Color m_valueColor;
        private Color m_borderColor;
        private int m_iMinimum;
        private int m_iMaximum;
        private int m_iValue;
        #endregion

        #region Properties
        /// 
        /// Gets or sets the color used for the background rectangle of this control.
        /// 

        /// 
        /// Type: 
        /// A Color used for the background rectangle of this control.
        /// 

        [Browsable(true)]
        [Description(“The color used for the background rectangle of this control.“)]
        public Color BackgroundColor
        {
            get { return this.m_backgroundColor; }
            set
            {
                if (this.m_backgroundColor != value)
                {
                    this.m_backgroundColor = value;
                    OnBackgroundColorChanged(this EventArgs.Empty);
                }
            }
        }
        /// 

        /// Gets or sets the color u

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-31 19:05  greatmaps-master\
     文件         310  2018-05-31 19:05  greatmaps-master\.editorconfig
     文件        4195  2018-05-31 19:05  greatmaps-master\.gitignore
     文件          42  2018-05-31 19:05  greatmaps-master\.hgignore
     文件        1218  2018-05-31 19:05  greatmaps-master\.hgtags
     目录           0  2018-05-31 19:05  greatmaps-master\Build\
     文件        1327  2018-05-31 19:05  greatmaps-master\Build\Build Demos MONO.bat
     文件         599  2018-05-31 19:05  greatmaps-master\Build\Build Demos NET-CF.bat
     文件        1208  2018-05-31 19:05  greatmaps-master\Build\Build Demos NET2.bat
     文件         836  2018-05-31 19:05  greatmaps-master\Build\Build Demos NET4.bat
     文件        1061  2018-05-31 19:05  greatmaps-master\Build\release-cf.bat
     文件        1319  2018-05-31 19:05  greatmaps-master\Build\release-mono.bat
     文件        2623  2018-05-31 19:05  greatmaps-master\Build\release.bat
     目录           0  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\
     目录           0  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\
     目录           0  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\ProgressBar\
     文件        1168  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\ProgressBar\ProgressBar.Designer.cs
     文件       20137  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\ProgressBar\ProgressBar.cs
     文件        9892  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\ProgressBar\ToolStripProgressBar.cs
     目录           0  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\
     文件         308  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\BseColorTable.cs
     文件       40295  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\BseRenderer.cs
     文件        4822  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\ColorTableBlack.cs
     文件        4828  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\ColorTableBlue.cs
     文件        5297  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\Office2007BlackColorTable.cs
     文件        5327  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\Office2007BlueColorTable.cs
     文件        8894  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\Office2007Renderer.cs
     文件        5343  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\Office2007SilverColorTable.cs
     文件         318  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\OfficeColorTable.cs
     文件       32023  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Renderer\ProfessionalColorTable.cs
     目录           0  2018-05-31 19:05  greatmaps-master\Demo.WindowsForms\BSE.Windows.Forms\Resources\
............此处省略1273个文件信息

评论

共有 条评论