eastman75 Posted May 15, 2009 Posted May 15, 2009 (edited) I have programmed KeepAlive in C# for just to learn what's it all about. I would've liked to make the button flash, i.e. to change color periodically, but couldn't quess how to do it. Any advice is welcomed. The program displays a dialog window with a single button that I shuld've wanted to blink or to change color to attract a user's attention. The EXE-file is to be found in BIN directory (RELEASE or DEBUG). To compile the project, MS .NET Framework 3.5 and MS Visual C# 2008 Express Edition are needed. Please notify me of any changes to the source code. KeepShadowDefenderAlive.rar Edited May 18, 2009 by CodeRipper
Unbekannt1 Posted May 17, 2009 Posted May 17, 2009 If you want visual effects you could use WPF-Windows Presentation Foundation. Normal C# with a mix of XAML to create DirectX driven applications.This is Blend...like an IDE for those WPF-C# applications:http://windowsclient.net/learn/video.aspx?v=3934
cektop Posted May 17, 2009 Posted May 17, 2009 Just slap a Timer control on, set period (in millisecond) on which timer code will be executed, and just toggle colors (if red, set blue, and other way around).
eastman75 Posted May 19, 2009 Author Posted May 19, 2009 (edited) Just slap a Timer control on, set period (in millisecond) on which timer code will be executed, and just toggle colors (if red, set blue, and other way around). Thanks. Simple as it is, it works. The new version of my program (along with Shadow Defender v1.1.0.278) is available here. If you want visual effects you could use WPF-Windows Presentation Foundation. Normal C# with a mix of XAML to create DirectX driven applications.This is Blend...like an IDE for those WPF-C# applications: http://windowsclient.net/learn/video.aspx?v=3934 A very nice tutorial. I will certainly try it as my next project. Thanks. Edited May 19, 2009 by CodeRipper
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now