pop up progress bar
-
i wrote the code for progress bar. but i want o pop up my progress bar some thing like message box while progressing. how can i do pop up progress bar in a msg box....
ProgressBar ProBar = new ProgressBar();
private void import(object sender, EventArgs e) { if (listView1.Items.Count == 0) { this.ProBar = new System.Windows.Forms.ProgressBar(); this.ProBar.TabIndex = 0; this.ProBar.Maximum = dlg.FileNames.Length; this.ProBar.Minimum = 1; this.ProBar.Step = 1; foreach (string path in dlg.FileNames) { FileInfo fileInfo = new FileInfo(path); listView1.Items.Add(path);//fileInfo.Name imageList.Images.Add(Bitmap.FromFile(path)); ProBar.PerformStep();
A S E L A
-
i wrote the code for progress bar. but i want o pop up my progress bar some thing like message box while progressing. how can i do pop up progress bar in a msg box....
ProgressBar ProBar = new ProgressBar();
private void import(object sender, EventArgs e) { if (listView1.Items.Count == 0) { this.ProBar = new System.Windows.Forms.ProgressBar(); this.ProBar.TabIndex = 0; this.ProBar.Maximum = dlg.FileNames.Length; this.ProBar.Minimum = 1; this.ProBar.Step = 1; foreach (string path in dlg.FileNames) { FileInfo fileInfo = new FileInfo(path); listView1.Items.Add(path);//fileInfo.Name imageList.Images.Add(Bitmap.FromFile(path)); ProBar.PerformStep();
A S E L A
Create a new form, put the progress bar on that and show the form.
Navaneeth How to use google | Ask smart questions
-
Create a new form, put the progress bar on that and show the form.
Navaneeth How to use google | Ask smart questions
-
Come on! How hard is it to add a new Form to your project, then drag a ProgressBar from the ToolBox and drop it on the Form??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008