0

Is there a way to apply the reference " using mysql.data " to all windows forms in a project by not going to each form and typing it manually? Like an option from the solution explorer.

Derrick
  • 3
  • 3

1 Answers1

0

Here's one approach:

  • Edit -> Find And Replace -> Find in Files
  • in Find what box write: using System;
  • in Replace with box write: using System;\r\nusing mysql.data;
  • in Find options group check use regular expressions and in Look at these file types add *.cs
Nino
  • 6,931
  • 2
  • 27
  • 42