Beispiel #1
0
        private void LoadAllUsingForms()
        {
            List <USING_FORM> usingform = _basicService.LoadAllUSING_FORM(_businessParam).OrderBy(c => c.NAME).ToList();

            usingform.Insert(0, new USING_FORM {
                NAME = "---", ID_USING_FORM = -1
            });
            cboUsingForm.DataSource    = usingform;
            cboUsingForm.DisplayMember = "NAME";
            cboUsingForm.ValueMember   = "ID_USING_FORM";
        }