Example #1
0
 private void AddException_Click(object sender, RoutedEventArgs e)
 {
     AddFileInExceptionEvent?.Invoke(this, new AntivirusLibrary.Events.AddFileInExceptionEventArgs(((Button)sender).DataContext.ToString()));
     // Content = "{Binding AddInExceptionButtonContext}"
 }
Example #2
0
 private void AddInException_Click(object sender, RoutedEventArgs e)
 {
     AddFileInExceptionEvent?.Invoke(this, new AntivirusLibrary.Events.AddFileInExceptionEventArgs(((AntivirusLibrary.ProcessDange)((Button)sender).DataContext).Path));
 }