April 19th, 2010, 09:04 AM
Is it possible to use preprocessor definitions in C# like we do in C and C++?
Console.WriteLine("This is a debug message.");
#endif // #ifdef DEBUG
April 16th, 2010, 06:12 AM
Adding "public" keyword did not change anything.
April 15th, 2010, 10:30 AM
public delegate void OnDataAvailable(char data);
April 6th, 2010, 08:31 AM
That worked for me too... :thumb:
April 5th, 2010, 08:22 AM
The entire text in the control is selected only if you focus the control by means of pressing the TAB key. The text is not selected if the control catches focus by mouse click.
April 5th, 2010, 08:03 AM
April 5th, 2010, 07:53 AM
Thank you for your reply.
I put a break point inside txtIpB_OnFocus() to see that this method is indeed called when I focus on the control. And saw that the "txtIpB.Text" contains the string...
April 5th, 2010, 07:26 AM
Rather than, I found this solution and it works just fine:
Title in page: To create an event handler in the Properties window
April 5th, 2010, 06:49 AM
Quick question about Visual Studio 2005 IDE.
When I double-click a control in the design window, the IDE automatically creates a method for the default control event. But what about tons of the...
December 24th, 2009, 04:47 PM
Yeah, it mysteriously works when I add the "static" keyword.
But why, what is the logic behind this?
December 24th, 2009, 04:10 AM
Error given :
IDE : MS Visual Studio 2005