How do I fix 'compiler error - cannot convert from method group to System.Delegate'?
Posted
by Tim Lovell-Smith
on Stack Overflow
See other posts from Stack Overflow
or by Tim Lovell-Smith
Published on 2010-03-19T18:56:15Z
Indexed on
2010/03/19
19:01 UTC
Read the original article
Hit count: 255
public MainWindow()
{
CommandManager.AddExecutedHandler(this, ExecuteHandler);
}
void ExecuteHandler(object sender, ExecutedRoutedEventArgs e)
{
}
Error 1 Argument 2: cannot convert from 'method group' to 'System.Delegate'
© Stack Overflow or respective owner