using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ExportDataToFile { public partial class ProgressForm : Form { public ProgressForm() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { pbExport.Value += 1; } } }