private void quarantinebtn_Click(object sender, EventArgs e) { try { ScanSolutions.PutQuarantine(vi.Location, vi.Name); MessageBox.Show("Successfully quarantined", "Quarantine", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Close(); } catch { } finally { } }
private void removebtn_Click(object sender, EventArgs e) { try { ScanSolutions.Remove(vi.Location); MessageBox.Show("Successfully removed", "Removal", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Close(); } catch { } finally { } }