salaryset.cs

来自「实现企业的人事管理」· CS 代码 · 共 41 行

CS
41
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace renshiguanli
{
    public partial class makebsalary : Form
    {
        dataClass ID = new dataClass();
        public static int empl = -1;

        public makebsalary()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        
        private void makebsalary_Load(object sender, EventArgs e)
        {
            textBox2.Text=ID.presalary().ToString();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (empl == -1)
            {
                ID.BSmodify(textBox2.Text);
                this.DialogResult = DialogResult.OK;
            }
            this.Close();
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?