private void button1_Click(object sender, EventArgs e) { try { button1.Enabled = false; button1.ForeColor = Color.White; if (!GenerateReports()) { return; } DirectoryStructure.MoveProcessedFile(listView1.SelectedItems[0].SubItems[0].Text); processedBar.Visible = false; lblProcessing.Visible = false; CreateList(); button1.Enabled = true; txtThresholdCutoff.Enabled = true; MessageBox.Show(Resources.LoadData_button1_Click_Reports_generated_Successfuuly); Process.Start(Path.Combine(DirectoryStructure.ActigraphReportsFolderName, DirectoryStructure.CurrentDateTime)); } catch (Exception exp) { log.Error(exp); MessageBox.Show(exp.Message); } }