private void OnImport() { FormPBExcelImport frmImport = new FormPBExcelImport(); frmImport.GetImportArchivesEvent += UpdateGridView; frmImport.Show(); }
/// <summary> /// Excel导入 /// </summary> private void OnImport() { FormPBExcelImport frmImport = new FormPBExcelImport(); // 事件关联 frmImport.GetImportArchivesEvent += UpdateGridView; // 显示Excel导入界面 frmImport.Show(); }