Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

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
publicly available No 15-Jan-13 6:19 Available digimanus
Updates in content.
1 No 15-Jan-13 5: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

| Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 15 Jan 2013
Article Copyright 2013 by shiny13
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid