I am trying to create an event in my class to trigger an event handler that is already established and working in a dll file associated with my project. I don't have the ability to change the dll, as it is a NuGet package through my department. Using the following call
[RaiseEvent](New MouseButtonEventArgs(Mouse.PrimaryDevice, 0, MouseButton.Left) With {.RoutedEvent = Mouse.MouseDownEvent, .Source = WIndowControl})
I would like to trigger this method:
private void HWPFWindow_MouseDoubleClick(object sender, MouseButtonEventArgs e)
which is in a compiled dll. Any ideas? Thanks.
Im sorry about not being able to include more code. I have to keep it cryptic as it's for my business. Feel free to ask for more details.