有没有什么方法可以用事件发送参数?通过事件发送一个值
像这样:
<CheckBox x:Name="chk1" Content="" Height="16" Width="17" Checked="MultipleSelectMeasurement(1)"/>
....
private void MultipleSelectMeasurement(object sender, RoutedEventArgs e,int a)
{
System.Console.WriteLine("Check Box Nr: "+ a);
}
对不起,我这个东西是一个新手。
可能的重复[ C#事件参数传递](http://stackoverflow.com/questions/17256024/c-sharp-event-argument-passing) – Justin