Click here to Skip to main content
12,896,175 members (74,428 online)
Click here to Skip to main content

Tagged as


Posted 14 Jan 2013

How to change the color of a button on btnclick event

, 15 Jan 2013 CPOL
Just check out the following, maybe it will help you:public void single_button_Click(object sender, EventArgs e) { Button btn = (Button)sender; if (btn.BackColor == Color.Red) { btn.BackColor = SystemColors.Control; } else if (btn.BackColor ==...



Compare Revision Minor Date Status Editor
2 - publicly available No 15-Jan-13 0:19 Available digimanus
Updates in content.
1 No 14-Jan-13 23:40 Available shiny13


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


About the Author

Software Developer (Junior)
Bangladesh Bangladesh
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 15 Jan 2013
Article Copyright 2013 by shiny13
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid