b.MouseDoubleClick += new MouseButtonEventHandler(delegate (object shabi, MouseButtonEventHandler r)
{
{
});
//直接会报错,问一下怎么解决?应该怎么写
解决方案
40
你的代码里的参数不对,改一下:
b.MouseDoubleClick += new MouseButtonEventHandler(delegate (object shabi, MouseButtonEventArgs r)
{
b.MouseDoubleClick += new MouseButtonEventHandler(delegate (object shabi, MouseButtonEventArgs r)
{
});