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

资源简介

用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;
using System.Threading;

namespace VerticalProgressBar
{
    public partial class Form1 : Form
    {
        protected BackgroundWorker worker = null;

        public Form1()
        {
            InitializeComponent();
            worker = new BackgroundWorker();
            worker.WorkerReportsProgress = true;
            worker.DoWork += new DoWorkEventHandler(worker_DoWork);
            worker.ProgressChanged += new ProgressChangedEventHandler(worker_ProgressChanged);
            worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted);

         

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         947  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar.sln
     文件       18944  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar.suo
     目录           0  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\
     目录           0  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\bin\
     目录           0  2011-07-29 16:13  VerticalProgressBar\VerticalProgressBar\bin\Debug\
     文件        9216  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\bin\Debug\VerticalProgressBar.exe
     文件       28160  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\bin\Debug\VerticalProgressBar.pdb
     文件       11592  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\bin\Debug\VerticalProgressBar.vshost.exe
     文件         490  2009-06-11 05:14  VerticalProgressBar\VerticalProgressBar\bin\Debug\VerticalProgressBar.vshost.exe.manifest
     文件        1505  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\Form1.cs
     文件        2534  2011-07-29 16:48  VerticalProgressBar\VerticalProgressBar\Form1.Designer.cs
     文件        5814  2011-07-29 16:48  VerticalProgressBar\VerticalProgressBar\Form1.resx
     目录           0  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\obj\
     目录           0  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\obj\Debug\
     目录           0  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\obj\Debug\TempPE\
     文件         864  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\obj\Debug\VerticalProgressBar.csproj.FileListAbsolute.txt
     文件         847  2011-07-29 16:48  VerticalProgressBar\VerticalProgressBar\obj\Debug\VerticalProgressBar.csproj.GenerateResource.Cache
     文件        9216  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\obj\Debug\VerticalProgressBar.exe
     文件         180  2011-07-29 16:48  VerticalProgressBar\VerticalProgressBar\obj\Debug\VerticalProgressBar.Form1.resources
     文件       28160  2011-07-29 17:31  VerticalProgressBar\VerticalProgressBar\obj\Debug\VerticalProgressBar.pdb
     文件         180  2011-07-29 16:13  VerticalProgressBar\VerticalProgressBar\obj\Debug\VerticalProgressBar.Properties.Resources.resources
     文件         511  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Program.cs
     目录           0  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Properties\
     文件        1450  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Properties\AssemblyInfo.cs
     文件        2867  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Properties\Resources.Designer.cs
     文件        5612  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Properties\Resources.resx
     文件        1104  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Properties\Settings.Designer.cs
     文件         249  2011-07-29 16:09  VerticalProgressBar\VerticalProgressBar\Properties\Settings.settings
     文件         467  2011-07-29 17:20  VerticalProgressBar\VerticalProgressBar\VerticalProgressBar.cs
     文件        3849  2011-07-29 16:13  VerticalProgressBar\VerticalProgressBar\VerticalProgressBar.csproj

评论

共有 条评论