C#委托使用
2021-06-07 23:07
标签:fun mit class gen box forms thread art sap C#委托使用 标签:fun mit class gen box forms thread art sap 原文地址:https://www.cnblogs.com/772933011qq/p/10717534.htmlusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public delegate void DelegateParam(List
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Form2 form2 = new Form2();
form2.Transmit += new DelegateParam(DelegateReceiveParam);
form2.action += new Action
上一篇:Panel 中加载窗体