员工信息.cs

来自「用C#实现超市的管理」· CS 代码 · 共 67 行

CS
67
字号
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;
using Yewucheng;
namespace Myproject
{
    
   
   
    public partial class 员工信息 : Form
    {

        public 员工信息()
        {
            InitializeComponent();
        }

        private void toolStripButton5_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            增加员工 wang = new 增加员工(this);
            wang.Show();
           
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            修改员工 lei = new 修改员工();
            lei.Show();

        }

        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            查找员工 machao = new 查找员工(this);
            machao.Show();
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            删除员工 yiwenbin = new 删除员工();
            yiwenbin.Show();

        }

        private void toolStripButton6_Click(object sender, EventArgs e)
        {

            wang tianjiayuangong = new wang();

                DataSet ds = tianjiayuangong.SelectMand("select *from Tianjiayuangong");
                this.dbgpase.DataSource = ds.Tables[0].DefaultView;
              
           
        }
      
    }
}

⌨️ 快捷键说明

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