Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

KeepAlive in C#

Featured Replies

Posted

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. :dunno:

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 by CodeRipper

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

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).

  • Author
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. :D

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. :wub:

Edited by CodeRipper

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.