private void startButton_Click(object sender, EventArgs e) { var scanResult = ScanResult.ScanFolder(firstFileBox.Text, secondFileBox.Text); var scanResultForm = new Results(); scanResultForm.LoadBox(scanResult); scanResultForm.Show(); }
private void copyToLeft_Click(object sender, EventArgs e) { var newLocation = this.fileLocation1 + listBox2.SelectedItem; var firstLocation = this.fileLocation2 + listBox2.SelectedItem; File.Copy(firstLocation, newLocation); var result = ScanResult.ScanFolder(this.fileLocation1, this.fileLocation2); LoadBox(result); }
private void button3_Click(object sender, EventArgs e) { var result = ScanResult.ScanFolder(this.fileLocation1, this.fileLocation2); LoadBox(result); }