Hello, If you make use of the code below then you can able to create a progressbar. I am not having code to create a progressabar in textbox.
Code:
#region Using directives
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.tests;
namespace ProgressBar
{
partial class test1 : test
{
public test1()
{
InitializeComponent();
}
private void test1_Load(object sender, EventArgs e)
{
pbar1.Maximum = 1;
}
private void button1_Click(object sender, EventArgs e)
{
int value;
for (value = ; value != 1; value++)
{
pbar1.Value = pbar1.Value + 1;
}
}
}
}
Bookmarks