c# delegate用法

it2025-12-20  8

his.BeginInvoke(new EventHandler(delegate(Object sd, EventArgs ag) { DataTable tab = (DataTable)sd; smsView.DataSource = tab; }), new object[] { dt }); System.Threading.Tasks.Task.Factory.StartNew(() => { this.Invoke(new Action(() => { richTextBox1.AppendText("[info] Found : [info]" + Environment.NewLine); })); });
最新回复(0)