示例#1
0
        private void departmentManager_Click(object sender, EventArgs e)
        {
            ArrayList tables = new ArrayList();

            tables.Add("BASE_DEPARTMENT_LIST");

            FormBaseAuxiliaryMaterial fbam = new FormBaseAuxiliaryMaterial(tables, "部门信息管理", false);

            fbam.ShowDialog();
        }
示例#2
0
        private void panelSaleName_DoubleClick(object sender, EventArgs e)
        {
            if (!this.textBoxDepartmentName.Visible)
            {
                this.labelSaleName.Visible         = false;
                this.textBoxDepartmentName.Visible = true;
            }
            else
            {
                ArrayList tables = new ArrayList();
                tables.Add("BASE_DEPARTMENT_LIST");

                FormBaseAuxiliaryMaterial fbam = new FormBaseAuxiliaryMaterial(tables, "部门信息管理", true);
                fbam.ShowDialog();

                m_departmentPkey = fbam.getSelectRecordPkey();
                this.textBoxDepartmentName.Text    = AuxiliaryMaterial.getInctance().getAuxiliaryMaterialNameFromPkey("BASE_DEPARTMENT_LIST", m_departmentPkey);
                this.textBoxDepartmentName.Visible = true;
            }
        }
示例#3
0
        private void SuppierGroupAdd_Click(object sender, EventArgs e)
        {
            ArrayList tables = new ArrayList();

            tables.Add("BASE_DEPARTMENT_LIST");

            FormBaseAuxiliaryMaterial fbam = new FormBaseAuxiliaryMaterial(tables, "部门信息管理", true);

            fbam.ShowDialog();

            StaffOrgStructTable userOrgStructData = new StaffOrgStructTable();

            userOrgStructData.value      = fbam.getSelectRecordPkey();
            userOrgStructData.parentPkey = StaffOrgStruct.getInctance().getPkeyFromValue(m_staffGroupPkey);

            if (userOrgStructData.value != 0)
            {
                StaffOrgStruct.getInctance().insert(userOrgStructData);
                refreshTreeView();
            }
        }
示例#4
0
        private void departmentAdd_Click(object sender, EventArgs e)
        {
            ArrayList tables = new ArrayList();

            tables.Add("BASE_DEPARTMENT_LIST");

            FormBaseAuxiliaryMaterial fbam = new FormBaseAuxiliaryMaterial(tables, "部门信息管理", true);

            fbam.ShowDialog();

            UserOrgStructTable userOrgStructData = new UserOrgStructTable();

            userOrgStructData.value             = fbam.getSelectRecordPkey();
            userOrgStructData.departmentOrStaff = 0;        // 0:部门  1:员工
            userOrgStructData.parentPkey        = m_pkey;

            if (userOrgStructData.value != 0)
            {
                UserOrgStruct.getInctance().insert(userOrgStructData);
                refreshTreeView();
            }
        }
示例#5
0
        private void menuBaseInfoFuzhu_Click(object sender, EventArgs e)
        {
            FormBaseAuxiliaryMaterial fbam = new FormBaseAuxiliaryMaterial();

            fbam.ShowDialog();
        }
示例#6
0
        private void panelAuxiliaryMaterial_Click(object sender, EventArgs e)
        {
            FormBaseAuxiliaryMaterial fbam = new FormBaseAuxiliaryMaterial();

            fbam.ShowDialog();
        }