How can i design a calculator?

Recommended Answers

All 2 Replies

Hi

Create a new form, put a textbox on it. Create a button with the text value 0 onthe onclick event add a zero to the text of the textbox repeat for numbers 1-9.
add a button for each function you wish to carry out and use the onclick event to fire it off

Hi,

You can find a tutorial, how to design and sample codes, here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.