Geeks With Blogs

News


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done April 2009 Entries
From C#, P/Invoke C++ with callbacks to C#
Mission: From C#, P/Invoke C++ with callbacks to C# //-------------------------... // inside unmanaged C# code //-------------------------... //-------------------------... //delegates - define a signatures for unmanaged c++ code to call //-------------------------... public delegate void MessageReceivedDelegate( int param1, string ......

Posted On Tuesday, April 7, 2009 3:32 AM

Show elapsed time on a WinfForm in C#
Mission: Show elapsed time on a WinfForm in C# thanks to Mahesh Chand original article: http://www.c-sharpcorner.co... 1) add stop & start buttons and a timer control on a web form 2) put code behind the buttons (below), that consumes the StopWatch class (below) public partial class Form1 : Form { static void Main() { Application.Run(new Form1()); } public Form1() { InitializeComponent(); } StopWatch ......

Posted On Tuesday, April 7, 2009 2:45 AM

Copyright © Rodney Vinyard | Powered by: GeeksWithBlogs.net