Exemple #1
0
        /// <summary>
        /// Form load event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void UIClientEmployee_Load(object sender, EventArgs e)
        {
            var empRoleType = new CodeValue();

            empRoleType.ListInCombo(true, "ROLETYPE", cbxEmployeeRoleType);

            ListEmployee();
        }
Exemple #2
0
        private void UIClientContract_Load(object sender, EventArgs e)
        {
            ListClientContract();

            var contractStatus = new CodeValue();

            contractStatus.ListInCombo(CodeType.CodeTypeValue.ContractStatus, comboBoxContractStatus);

            var contractType = new CodeValue();

            contractType.ListInCombo(CodeType.CodeTypeValue.ContractType, comboBoxContractType);
        }
Exemple #3
0
        private void UIProposal_Load(object sender, EventArgs e)
        {
            loadDocumentList();

            foreach (Client c in Utils.ClientList)
            {
                cbxClient.Items.Add(c.UID + "; " + c.Name);
            }
            cbxClient.SelectedIndex = Utils.ClientIndex;

            // Proposal Type

            var propTypeList = new CodeValue();

            propTypeList.ListInCombo(CodeType.CodeTypeValue.ProposalType, cbxProposalType);

            // Status
            var propStatusList = new CodeValue();

            propStatusList.ListInCombo(CodeType.CodeTypeValue.ProposalStatus, cbxStatus);
        }