111,094
社区成员




父窗体:
new 出子窗体:
B b = new B(this);
b.mydelegatge += new mdiLuXFenZhi.bindGridViewList(GetKeyWords);
b.ShowDialog(this);
//绑定数据到控件
public void GetKeyWords()
{
}
子窗体
public delegate void bindGridViewList();//定义委托
public bindGridViewList mydelegatge;
添加数据保存后:
this.ShowEditInfo();
private void ShowEditInfo()
{
if (mydelegatge != null)
{
this.mydelegatge();
}
else
}