• 大小: 0.28M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-25
  • 语言: C#
  • 标签: 测试  

资源简介

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
//textBox1    起初金额
//textBox2    起初数量
//textBox3    借方金额
//textBox4    借方数量
//textBox5    贷方金额
//textBox6    贷方数量
//textBox7    期末金额
//textBox8    期末数量

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if(button1.Text == "开始")
            {
                //double flag1 = double.Parse(textBox2.Text);//
                double flag1 = double.Parse(textBox2.Text);
                flag1 = flag1 1;
                string flag2 = flag1.ToString();
                textBox1.Text = flag2;
                button1.Text = "停止";
            }
        }

        private void test_mian_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void label11_Click(object sender, EventArgs e)
        {
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            label11.Text = "Time       :     " DateTime.Now.ToLongTimeString().ToString();
            if (button1.Text == "停止")
            {
                System.Threading.Thread.Sleep(10);
                button1.Text = "运行";
            }

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
//textBox1    起初金额
//textBox2    起初数量
//textBox3    借方金额
//textBox4    借方数量
//textBox5    贷方金额
//textBox6    贷方数量
//textBox7    期末金额
//textBox8    期末数量

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            
        }

        private void button1_Click(object sender EventArgs e)
        {
            if(button1.Text == “开始“)
            {
                //double flag1 = double.Parse(textBox2.Text);//
                double flag1 = double.Parse(textBox2.Text);
                flag1 = flag1 + 1;
                string flag2 = flag1.ToString();
                textBox1.Text = flag2;

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

    ..A..H.     54272  2015-11-23 14:27  测试\存货计价性测试\.vs\存货计价性测试\v14\.suo

     文件      62464  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\bin\Debug\WindowsFormsApplication1.exe

     文件      24064  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\bin\Debug\WindowsFormsApplication1.pdb

     文件      11600  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\bin\Debug\WindowsFormsApplication1.vshost.exe

     文件        490  2013-06-18 20:28  测试\存货计价性测试\存货计价性测试\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest

     文件      69120  2015-11-16 09:06  测试\存货计价性测试\存货计价性测试\bin\Debug\存货计价性测试.exe

     文件      28160  2015-11-16 09:06  测试\存货计价性测试\存货计价性测试\bin\Debug\存货计价性测试.pdb

     文件      22696  2015-11-23 13:25  测试\存货计价性测试\存货计价性测试\bin\Debug\存货计价性测试.vshost.exe

     文件        490  2015-06-04 12:48  测试\存货计价性测试\存货计价性测试\bin\Debug\存货计价性测试.vshost.exe.manifest

     文件      62464  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\bin\Release\WindowsFormsApplication1.exe

     文件      19968  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\bin\Release\WindowsFormsApplication1.pdb

     文件      69120  2014-10-11 16:58  测试\存货计价性测试\存货计价性测试\bin\Release\存货计价性测试.exe

     文件      34304  2014-10-11 16:58  测试\存货计价性测试\存货计价性测试\bin\Release\存货计价性测试.pdb

     文件       2075  2015-11-16 09:06  测试\存货计价性测试\存货计价性测试\Form1.cs

     文件      21972  2015-11-16 09:06  测试\存货计价性测试\存货计价性测试\Form1.Designer.cs

     文件      84497  2015-11-16 09:06  测试\存货计价性测试\存货计价性测试\Form1.resx

     文件       2143  2014-09-09 14:27  测试\存货计价性测试\存货计价性测试\Model1.Designer.cs

     文件       2300  2014-09-09 14:27  测试\存货计价性测试\存货计价性测试\Model1.edmx

     文件       5423  2015-11-23 12:28  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7475  2015-11-17 11:29  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        458  2014-09-09 14:34  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\edmxResourcesToembed\Model1.csdl

     文件        337  2014-09-09 14:34  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\edmxResourcesToembed\Model1.msl

     文件        272  2014-09-09 14:34  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\edmxResourcesToembed\Model1.ssdl

     文件       4096  2014-09-09 14:27  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\TempPE\Model1.Designer.cs.dll

     文件        862  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt

     文件        975  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache

     文件      62464  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\WindowsFormsApplication1.exe

     文件      51828  2015-11-16 09:06  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\WindowsFormsApplication1.Form1.resources

     文件      24064  2014-09-09 14:03  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\WindowsFormsApplication1.pdb

     文件        180  2015-11-16 09:03  测试\存货计价性测试\存货计价性测试\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources

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

评论

共有 条评论