⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 workingovertimemanagement.cs

📁 人事管理系统
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace BlueHill_Win_
{
    public partial class WorkingOvertimeManagement : Form
    {
        public WorkingOvertimeManagement()
        {
            InitializeComponent();
        }

        private void btnQuerybyDept_Click(object sender, EventArgs e)
        {
            DeptSelect DS = new DeptSelect();
            DS.Show();
        }

        private void btnQuerybyEmp_Click(object sender, EventArgs e)
        {
            EmployeeSelect ES = new EmployeeSelect();
            ES.Show();
        }

        private void BtnOK_Click(object sender, EventArgs e)
        {
            //this.Hide();
            //Main M = new Main();
            //M.Show();
            this.Close();
        }

        private void WorkingOvertimeManagement_Load(object sender, EventArgs e)
        {
            //if (DB.getA == "")
            //{
                // TODO: 这行代码将数据加载到表“blueHillManagementDataSet1.员工加班表”中。您可以根据需要移动或移除它。
                this.员工加班表TableAdapter.Fill(this.blueHillManagementDataSet1.员工加班表);
            //}
            //else
            //{
            //    SqlConnection con = DB.connection();
            //    con.Open();
            //    SqlDataAdapter sda = new SqlDataAdapter("select * from 员工加班表 where 部门编号=(select 部门编号 from 部门表 where 部门名称='"+ DB.getA +"')", con);
            //    DataSet ds = new DataSet();
            //    sda.Fill(ds);
            //    GrdOT.AllowNavigation = false;
            //    GrdOT.DataSource = ds;
            //    con.Close();
            //}
        }
    }
}

⌨️ 快捷键说明

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