static void Main(string[] args) { //事件的拥有者 MyForm myform = new MyForm(); myform.Click += myform.Action; myform.ShowDialog(); }