如何在树视图的节点上添加进度条呢?

解决方案 »

  1.   

    拖个进度条控件ProgressBar 
    主要代码 
    using System; 
    using System.Collections.Generic; 
    using System.ComponentModel; 
    using System.Data; 
    using System.Drawing; 
    using System.Text; 
    using System.Windows.Forms; 
    using System.Threading; namespace WindowsApplication1 

        public partial class Form1 : Form 
        { 
            public Form1() 
            { 
                InitializeComponent(); 
            }         private void Form1_Load(object sender, EventArgs e) 
            { 
               for (int i = 0; i < 10; i++) 
                { 
                    Thread.CurrentThread.Join(500); 
                    this.progressBar1.PerformStep(); 
                } 
            } 
        } 
    }