private void LoadCombo() { ////Fill Credit/Debit options cbxCreditDebit.DataSource = Enum.GetValues(typeof(Enums.TransType)); cbxCreditDebit.SelectedItem = TransType.C; ////Fill Credit/Debit options cbxTaxRetail.DataSource = Enum.GetValues(typeof(Enums.TaxRetail)); cbxTaxRetail.SelectedItem = Enums.TaxRetail.R; ////Fill Status options cbxStatus.DataSource = Enum.GetValues(typeof(Enums.Status)); cbxStatus.SelectedItem = Enums.Status.Active; ////Fill Costumer Type options cbxCustomerType.DataSource = applicationFacade.GetCustomerTypes(); cbxCustomerType.DisplayMember = "CustomerTypeName"; cbxCustomerType.ValueMember = "CustomerTypeId"; cbxCustomerType.AutoCompleteSource = AutoCompleteSource.ListItems; cbxCustomerType.AutoCompleteMode = AutoCompleteMode.Suggest; ////Fill Rate Type options cbxRateType.DataSource = applicationFacade.GetInterestTypes(); cbxRateType.DisplayMember = "RateTypeName"; cbxRateType.ValueMember = "RateTypeId"; ////Fill Less Excise options cbxLessExcise.DataSource = Enum.GetValues(typeof(Enums.Choice)); cbxLessExcise.SelectedItem = Choice.No; ////Fill Follow condition strictly options cbxFollowConditionStrictly.DataSource = Enum.GetValues(typeof(Enums.Choice)); cbxFollowConditionStrictly.SelectedItem = Choice.No; ////Fill discount strictly options cbxLocaLCentral.DataSource = Enum.GetValues(typeof(Enums.Choice)); cbxLocaLCentral.SelectedItem = Choice.No; ///Fill Local/Central options /// cbxLocaLCentral.DataSource = Enum.GetValues(typeof(Enums.LocalCentral)); cbxLocaLCentral.SelectedItem = LocalCentral.L; }