For example, I get this compiler warning,
The event \'Company.SomeControl.SearchClick\' is never used.
But I know that it\'s use
You can supress individual warnings.
\Program.cs(13,20): warning CS0219: The variable 'foo' is assigned but its value is never used
In this case, CS0219 is the warning regarding variables being assigned but not used. You can either use the /nowarn:0219 flag, or add the error number in the properties pane for the project (under "Build", remember to remove the leading CS). Keep in mind the supresses all warnings of this class.