private void Form1_Load(object sender, EventArgs e) { OleDb.GetOleDbProvidersCompleted += OleDb_GetOleDbProvidersCompleted; OleDb.ConnectionStringGenerated += OleDb_ConnectionStringGenerated; OleDb.GetSheetsNameCompleted += OleDb_GetSheetsNameCompleted; OleDb.ReadDataFinished += OleDb_ReadDataFinished; OleDb.GetOleDBProviders(); }