• 大小: 0.05M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 进度条  进度  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProgressBar
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }                                      

        private void timer1_Tick(object senderEventArgs e)
        {
            if(this.progressBar1.Value == this.progressBar1.Maximum)//当进度条的当前值等于最大值时
            {
                this.progressBar1.Value = this.progressBar1.Minimum;//设置进度条的当前值为最小值
            }
            else //当进度条的当前值小于最大值时
            {
                this.progressBar1.PerformStep();//按指定的增量增加进度条中的进度块
            }

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-20 09:46  ProgressBar\
     目录           0  2019-04-11 18:39  ProgressBar\ProgressBar\
     文件        3856  2019-04-11 18:39  ProgressBar\ProgressBar\Frm_Main.Designer.cs
     文件        2061  2019-04-11 18:39  ProgressBar\ProgressBar\Frm_Main.cs
     文件        6008  2019-04-11 18:39  ProgressBar\ProgressBar\Frm_Main.resx
     文件         495  2010-07-13 15:37  ProgressBar\ProgressBar\Program.cs
     文件        3874  2010-07-13 15:37  ProgressBar\ProgressBar\ProgressBar.csproj
     目录           0  2018-11-20 09:46  ProgressBar\ProgressBar\Properties\
     文件        1354  2010-07-13 15:37  ProgressBar\ProgressBar\Properties\AssemblyInfo.cs
     文件        2846  2010-07-13 15:37  ProgressBar\ProgressBar\Properties\Resources.Designer.cs
     文件        5612  2009-02-20 14:21  ProgressBar\ProgressBar\Properties\Resources.resx
     文件        1109  2010-07-13 15:37  ProgressBar\ProgressBar\Properties\Settings.Designer.cs
     文件         249  2009-02-20 14:21  ProgressBar\ProgressBar\Properties\Settings.settings
     目录           0  2018-11-20 09:46  ProgressBar\ProgressBar\bin\
     目录           0  2018-11-20 09:46  ProgressBar\ProgressBar\bin\Debug\
     文件        9216  2019-04-11 18:39  ProgressBar\ProgressBar\bin\Debug\ProgressBar.exe
     文件       36352  2019-04-11 18:39  ProgressBar\ProgressBar\bin\Debug\ProgressBar.pdb
     目录           0  2018-11-20 09:46  ProgressBar\ProgressBar\obj\
     目录           0  2019-04-11 18:39  ProgressBar\ProgressBar\obj\Debug\
     文件         180  2019-04-11 18:39  ProgressBar\ProgressBar\obj\Debug\ProgressBar.Frm_Main.resources
     文件         180  2019-04-11 18:37  ProgressBar\ProgressBar\obj\Debug\ProgressBar.Properties.Resources.resources
     文件        2729  2019-04-11 18:37  ProgressBar\ProgressBar\obj\Debug\ProgressBar.csproj.FileListAbsolute.txt
     文件         850  2019-04-11 18:39  ProgressBar\ProgressBar\obj\Debug\ProgressBar.csproj.GenerateResource.Cache
     文件        9216  2019-04-11 18:39  ProgressBar\ProgressBar\obj\Debug\ProgressBar.exe
     文件       36352  2019-04-11 18:39  ProgressBar\ProgressBar\obj\Debug\ProgressBar.pdb
     目录           0  2019-04-11 21:08  ProgressBar\ProgressBar\obj\Debug\Refactor\
     目录           0  2018-11-20 09:46  ProgressBar\ProgressBar\obj\Debug\TempPE\
     文件        4608  2010-07-13 15:37  ProgressBar\ProgressBar\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         180  2009-02-20 14:30  ProgressBar\ProgressBar\obj\Debug\UnhidePercent.Properties.Resources.resources
     文件         180  2009-03-09 15:51  ProgressBar\ProgressBar\obj\Debug\UnhidePercent.UnhidePercent.resources
     文件        2248  2010-07-13 15:35  ProgressBar\ProgressBar\obj\Debug\UnhidePercent.csproj.FileListAbsolute.txt
............此处省略5个文件信息

评论

共有 条评论