Click here to Skip to main content
15,886,199 members
Articles / Multimedia / GDI+

Pulse Button

Rate me:
Please Sign up or sign in to vote.
4.90/5 (57 votes)
10 Oct 2009CPOL2 min read 116.4K   7.7K   161  
How to create a button that radiates pulses
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PulseButtonTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button_Click(object sender, EventArgs e)
        {
            propertyGrid1.SelectedObject = sender; 
            MessageBox.Show(((PulseButton.PulseButton)sender).Name);
        }

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Denmark Denmark
Name: Niel Morgan Thomas
Born: 1970 in Denmark
Education:
Dataengineer from Odense Technical University.
More than 20 years in IT-business.
Current employment:
Cloud architect at University College Lillebaelt

Comments and Discussions