/// <summary>
        /// 数据选择:1:员工 2:部门  3:供应商  4:客户
        /// </summary>
        /// <param name="flag"></param>
        public void ShowSelectData(int flag)
        {
            intFlag = flag;
            DataTable dtl = new DataTable();

            switch (flag)
            {
            case 1:     //员工
                EmployeeManage EmployeeManage = new EmployeeManage();
                dtl = EmployeeManage.GetEmployeeDataBySelect();
                gridControl1.DataSource      = dtl;
                gridView1.Columns[1].Caption = "员工编号";
                gridView1.Columns[2].Caption = "员工姓名";
                gridView1.Columns[3].Caption = "部门";
                this.Text = "员工选择";
                break;

            case 2:     //部门
                DeptManage DeptManage = new DeptManage();
                dtl = DeptManage.GetDeptDataBySelect();
                gridControl1.DataSource      = dtl;
                gridView1.Columns[1].Caption = "部门名称";
                this.Text = "部门选择";
                break;

            case 3:     //供应商
                SupplierManage SupplierManage = new SupplierManage();
                dtl = SupplierManage.GetSupplierDataBySelect();
                gridControl1.DataSource      = dtl;
                gridView1.Columns[1].Caption = "供应商名称";
                this.Text = "供应商选择";
                break;

            case 4:     //客户
                ClientManage ClientManage = new ClientManage();
                dtl = ClientManage.GetClientDataBySelect();
                gridControl1.DataSource      = dtl;
                gridView1.Columns[1].Caption = "客户名称";
                this.Text = "客户选择";
                break;
            }

            gridView1.Columns[0].Visible = false;
            this.ShowDialog();
        }