资源简介

数学计算器有很多种实现方式,这是其中比较笨的一种,仅供参考。

资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;

namespace WindowsFormsApp13
{
    public partial class Form1 : Form
    {
        public double x = 0;
        public double y = 0;
        public double jieguo = 0;
        public char fuhao = ‘0‘;
        public bool ky = false;
        public Form1()
        {
            InitializeComponent();
        }
        public void yunshuan()
        {
            switch (fuhao)
            {
                case ‘+‘:
                    {
                        jieguo = x + y;
                    }
                    break;
                case ‘-‘:
                    {
                        jieguo = x - y;
                    }
                    break;
                case ‘*‘:
                    {
            

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     24576  2020-01-13 14:22  WindowsFormsApp13\.vs\WindowsFormsApp13\v16\.suo

     文件          0  2020-01-13 14:13  WindowsFormsApp13\.vs\WindowsFormsApp13\v16\Server\sqlite3\db.lock

     文件     602112  2020-01-13 14:22  WindowsFormsApp13\.vs\WindowsFormsApp13\v16\Server\sqlite3\storage.ide

     文件        189  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\App.config

     文件      14848  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\bin\Debug\WindowsFormsApp13.exe

     文件        189  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\bin\Debug\WindowsFormsApp13.exe.config

     文件      38400  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\bin\Debug\WindowsFormsApp13.pdb

     文件       9395  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\Form1.cs

     文件      12934  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\Form1.Designer.cs

     文件        823  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7284  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        795  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\WindowsFormsApp13.csproj.FileListAbsolute.txt

     文件        954  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\WindowsFormsApp13.csproj.GenerateResource.cache

     文件      14848  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\WindowsFormsApp13.exe

     文件      38400  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\WindowsFormsApp13.pdb

     文件        180  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\WindowsFormsApp13.Properties.Resources.resources

     文件        443  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\Program.cs

     文件       1326  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\Properties\AssemblyInfo.cs

     文件       2847  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\Properties\Resources.Designer.cs

     文件       5612  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\Properties\Resources.resx

     文件       1104  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\Properties\Settings.Designer.cs

     文件        249  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\Properties\Settings.settings

     文件       3505  2020-01-13 14:19  WindowsFormsApp13\WindowsFormsApp13\WindowsFormsApp13.csproj

     文件       1157  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13.sln

     目录          0  2020-01-13 14:22  WindowsFormsApp13\.vs\WindowsFormsApp13\v16\Server\sqlite3

     目录          0  2020-01-13 14:13  WindowsFormsApp13\.vs\WindowsFormsApp13\v16\Server

     目录          0  2020-01-13 14:13  WindowsFormsApp13\WindowsFormsApp13\obj\Debug\TempPE

     目录          0  2020-01-13 14:13  WindowsFormsApp13\.vs\WindowsFormsApp13\v16

     目录          0  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\bin\Debug

     目录          0  2020-01-13 14:21  WindowsFormsApp13\WindowsFormsApp13\obj\Debug

............此处省略10个文件信息

评论

共有 条评论