资源简介

IE工程师专用工具,可以核算标准工时,价格成本。利于产品报价,人力安排等运算。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 工时核算工具
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Button1_Click(object sender EventArgs e)
        {
            
            if(TextBox1.Text==““||TextBox2.Text==““)
            {
                MessageBox.Show(“底薪和秒数不能为空,请重新输入!“ “温馨提示!“);
            }
            else
            {
                int dix = Convert.ToInt32(TextBox1.Text);
                int jiesuan = dix / 22 / 8;
                TextBox5.Text =Convert.ToString( jiesuan);
                string zongsu = TextBox5.Text;
                if (radioButton1.Checked)
                {
                    TextBox5.Text = zongsu;
                    int yibeia = 0;
                    int yibei = Convert.ToInt32(TextBox5.Text);
                    yibeia = yibei * 1;
                    TextBox5.Text = Convert.ToString(yibeia);
                }
                else if (radioButton2.Checked)
                {
                    int yibeia = 0;
                    int yibei = Convert.ToInt32(TextBox5.Text);
                    yibeia = Convert.ToInt32(yibei * 1.5);
                    TextBox5.Text = Convert.ToString(yibeia);
                }
                else if (radioButton3.Checked)
                {
                    int yibeia = 0;
                    int yibei = Convert.ToInt32(TextBox5.Text);
                    yibeia = Convert.ToInt32(yibei * 2.0);
                    TextBox5.Text = Convert.ToString(yibeia);
                }
               
                    double yuanmiao = 0;
                    double miao = Convert.ToDouble(TextBox5.Text);
                    yuanmiao = miao / 3600;
                    TextBox3.Text = Convert.ToString(yuanmiao);
                    double miaosu = Convert.ToDouble(TextBox2.Text);
                    double yongshi = 0;
                    yongshi = miaosu / 60;
                    TextBox4.Text = Convert.ToString(yongshi);
                    textBox6.Text = Convert.ToString(Convert.ToDouble(TextBox3.Text) * Convert.ToDouble(TextBox2.Text));
                    textBox7.Text = Convert.ToString(3600 / Convert.ToDouble(TextBox2.Text));
                
            }

            toolStripStatusLabel1.Text = “状态:核算完成!“; 
        }

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

        private void radioButton2_CheckedChanged(object sender EventArgs e)
        {
            
           
        }

        private void radioButton3_CheckedChanged(o

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-10-26 11:50  工时核算工具\
     目录           0  2018-10-26 17:18  工时核算工具\工时核算工具\
     文件        1023  2018-10-26 11:50  工时核算工具\工时核算工具.sln
     文件       11264  2018-10-26 11:50  工时核算工具\工时核算工具.v12.suo
     文件         187  2018-10-26 11:50  工时核算工具\工时核算工具\App.config
     目录           0  2018-10-26 11:50  工时核算工具\工时核算工具\bin\
     目录           0  2018-10-26 14:31  工时核算工具\工时核算工具\bin\Debug\
     文件      150528  2018-10-26 17:17  工时核算工具\工时核算工具\bin\Debug\工时核算工具.exe
     文件         187  2018-10-26 11:50  工时核算工具\工时核算工具\bin\Debug\工时核算工具.exe.config
     文件       28160  2018-10-26 17:17  工时核算工具\工时核算工具\bin\Debug\工时核算工具.pdb
     文件       24224  2018-10-26 17:17  工时核算工具\工时核算工具\bin\Debug\工时核算工具.vshost.exe
     文件         187  2018-10-26 11:50  工时核算工具\工时核算工具\bin\Debug\工时核算工具.vshost.exe.config
     文件         490  2017-09-29 21:43  工时核算工具\工时核算工具\bin\Debug\工时核算工具.vshost.exe.manifest
     文件       73583  2018-10-26 14:31  工时核算工具\工时核算工具\bin\Debug\工时核算工具.zip
     文件        3298  2018-10-26 17:18  工时核算工具\工时核算工具\Form1.cs
     文件       17340  2018-10-26 17:15  工时核算工具\工时核算工具\Form1.Designer.cs
     文件      107984  2018-10-26 17:15  工时核算工具\工时核算工具\Form1.resx
     目录           0  2018-10-26 11:50  工时核算工具\工时核算工具\obj\
     目录           0  2018-10-26 17:17  工时核算工具\工时核算工具\obj\Debug\
     文件        7050  2018-10-26 14:30  工时核算工具\工时核算工具\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2018-10-26 11:50  工时核算工具\工时核算工具\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2018-10-26 11:50  工时核算工具\工时核算工具\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2018-10-26 11:50  工时核算工具\工时核算工具\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2018-10-26 11:50  工时核算工具\工时核算工具\obj\Debug\TempPE\
     文件         807  2018-10-26 17:17  工时核算工具\工时核算工具\obj\Debug\工时核算工具.csproj.FileListAbsolute.txt
     文件         977  2018-10-26 17:15  工时核算工具\工时核算工具\obj\Debug\工时核算工具.csproj.GenerateResource.Cache
     文件        2211  2018-10-26 11:54  工时核算工具\工时核算工具\obj\Debug\工时核算工具.csprojResolveAssemblyReference.cache
     文件      150528  2018-10-26 17:17  工时核算工具\工时核算工具\obj\Debug\工时核算工具.exe
     文件       68212  2018-10-26 17:15  工时核算工具\工时核算工具\obj\Debug\工时核算工具.Form1.resources
     文件       28160  2018-10-26 17:17  工时核算工具\工时核算工具\obj\Debug\工时核算工具.pdb
     文件         180  2018-10-26 14:31  工时核算工具\工时核算工具\obj\Debug\工时核算工具.Properties.Resources.resources
............此处省略9个文件信息

评论

共有 条评论

相关资源