Other Software > Developer's Corner
Introductory C# web-based tutorials
kyrathaba:
I've added a very simple demo project demonstrating how to do C# Screen Captures. Well-commented. Thought it might be useful to someone.
kyrathaba:
One of these days I'm going to get around to doing a third C# tutorial series.
For today, though, I just thought I'd share this class I whipped up for a project I'm working on. It takes total milliseconds of elapsed time and converts it to a string description. There are two static methods in the class. One of them can return strings such as:
1.308 Days
2.059 Hours
The other will return descriptions like this from the total milliseconds:
2d 5h 18m 325ms
See the attachment.
Renegade:
I've added a very simple demo project demonstrating how to do C# Screen Captures. Well-commented. Thought it might be useful to someone.
-kyrathaba (April 16, 2011, 09:40 AM)
--- End quote ---
I liked that! Very nice! Smooth and slick! :)
kyrathaba:
Great! Glad it was helpful :D
kyrathaba:
I've corrected a spelling error and removed an unnecessary case statement in the switch(), and posted the walkthrough of the screenshot-capturing code here.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version