/// <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(); }
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); }
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); }