예제 #1
0
 private void DenyProcessBtn_Click(object sender, EventArgs e)
 {
     if (AllowedProcessesListBox.SelectedIndex != -1)
     {
         HIDGuardianAPI.RemoveWhitelistedProcess(AllowedProcessesListBox.SelectedItem.ToString().Split(':')[1]);
         MoveSelectedListBoxItem(AllowedProcessesListBox, DeniedProcessesListBox);
     }
 }