C # study

xiaoxiao2021-03-06  41

In recent days, I learned C #, which was the C # - Visual C # in Microsoft Microsoft.NET, I saw a day of online article, I saw a book in the past few days in the morning, and I also used it a day before digesting. thing! I have been studying!

From the previous few days, I used the foundation of the previous C language to write a most basic "calculator" with Microsoft, and the function is simple: a text box, 18 buttons: Display numbers, 0-9 Digital, decimal point ".", , -, *, /, = five operators, a backspace, a clear key. It's such a small thing, I started to touch C #, I learned C #! I know some of its characteristics. I know that it is different from C, C from a constant mistake! There are a lot of problems in the middle, and it has already been completely solved. Now this calculator is already normal! Let's talk about this little thing! This is the beginning of my initial entry into the C # world!

Everyone knows that the calculator is a very simple program, very small! There is no particular difficult place! Natural, use C #'s WindowsApplication to get a shaped solution, change its name, text, etc., put a text on the top with 18 Button, the properties, size, and locations of each control. The properties of this text here are not the same, the calculator is displayed from the right left, and there is a decimal point in the last side. After setting this, all "facade work" is OK!

Below is the implementation of the program code, it is also very simple, let's talk, now there is something else to do!

转载请注明原文地址:https://www.9cbs.com/read-52506.html

New Post(0)