📅  最后修改于: 2022-03-11 14:48:52.031000             🧑  作者: Mango
button.Click += (sender, e)=> {
// In here, you can access prodData1 and prodData2
};
// Or
button.Click += ClickMethod;
// Or
string extraParamenter = ""; // This extra paremeter can be any type
button.Click += ClickMethod(sender, e, extraParamenter);