日期:2014-05-16 浏览次数:21133 次
public delegate void RefreshHandle();
public event RefreshHandle refresh;
private void AddForm_FormClosed(object sender, FormClosedEventArgs e)
{
refresh();
}
AddForm addForm = new AddForm(Treenodeparenttext, 0);
addForm .refresh += new AddForm.RefreshHandle(Refresh_DB);
addForm .Show();
private void Refresh_param()
{
//查询数据库的代码
}