public FormProggress(DataGathering.Form1 parentForm, int max) { InitializeComponent(); progressBar1.Maximum = max; progressBar1.Step = 1; form = parentForm; }
public FormProggress(DataGathering.Form1 parentForm) { InitializeComponent(); progressBar1.Maximum = parentForm.m_datFiles.Length; progressBar1.Step = 1; // timer1.Enabled = true; form = parentForm; }