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

Tagged as

How to replace 0 on pressing ON in a calculator

, 31 Jan 2013 CPOL
Just a few hints here on making your code a little cleaner...protected void btn_power_Click(object sender, EventArgs e){ bool isPowerTurningOn = (btn_power.Text == "OFF"); // This will act as a toggle switch for the button text btn_power.Text = isPowerTurningOn ? "ON" :...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 31-Jan-13 10:41 Available fjdiewornncalwe
Updates in content. 30 changes had been made.
2 No 31-Jan-13 10:40 Available fjdiewornncalwe
Updates in content. 117 changes had been made.
1 No 31-Jan-13 10:39 Available fjdiewornncalwe

License

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

Share

About the Author

fjdiewornncalwe
Software Developer (Senior)
Canada Canada
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150302.1 | Last Updated 31 Jan 2013
Article Copyright 2013 by fjdiewornncalwe
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid