Forum: C# Aug 2nd, 2007 |
| Replies: 11 Views: 14,620 I have to agree because you proved me wrong. You can't change things like the click event for the button but you can hook events further down the line and do stuff. |
Forum: C# Jul 27th, 2007 |
| Replies: 1 Views: 618 Use the Contains method of the string class to find substrings.
string s = "Hello World!";
if ( s.Contains( "Hello" ) ) {
Console.WriteLine( "Found \"Hello\" in the string" );
} |