コード例 #1
0
 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
     {
     }
 }
コード例 #2
0
        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
            {
            }
        }