using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ComboboxTest
{
//定义一个委托
public delegate void MyInvoke(string txt);
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ComboboxTest
{
public partial class Form2 : Form
{
private MyInvoke mi = null;
public Form2(MyInvoke myInvoke)
{
InitializeComponent();
mi = myInvoke;
}