Hi there,
I have a WinForm application written in C#. I have added a WPF usercontrol added to the Winform and I want to get the mouse Events passed back to the WinForm.
So you can see in line 6, my XAML I have a MouseUp event:
UserControl x:Class="CustomRssFeed.MainWin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="41" Width="699" Foreground="#FFFFFFFF" Loaded="MainWin_Loaded" Unloaded="MainWin_Unloaded"
SizeChanged="MainWin_SizeChanged"
MouseUp="UserControl_MouseUp"
and I have a XAML.CS with:
private void UserControl_MouseUp(object sender, MouseButtonEventArgs e)
{
}
My question is how do I convert the 'MouseButtonEventArgs e' to a friendly WinForm version of MouseEventArgs ???