private void RefreshData()
{
Thread.Sleep(100);
dataGridViewProgressBar.Visible = false;
StatusLabel.Visible = false;
ProcessTorrentsButton.Enabled = true;
RefreshButton.Enabled = true;
DeleteButton.Enabled = true;
dgvh.ResumeLayout();
if (timer.Enabled == false && SettingsHandler.GetAutoHandleBool())
timer.Start();
try
{
dgvh = new DataGridViewHandler();
}
catch { }
}