private static void BoundDatabase(RepositoryItemGridLookUpEditBase lue, DataTable dt, bool displayCombination, bool AddNull, string DisplayFileName, string ValueFileName)
 {
     if (AddNull)
     {
         dt = Common.ADDNULL(dt);
     }
     if (displayCombination)
     {
         Common.AddColumns(dt, new string[] { ValueFileName, DisplayFileName });
         DisplayFileName = Common.DefNewColName;
     }
     lue.DataSource    = dt;
     lue.ValueMember   = ValueFileName;
     lue.DisplayMember = DisplayFileName;
 }
            private static void BoundDatabase(RepositoryItemCheckedComboBoxEdit lue, DataTable dt, bool displayCombination, string DisplayFileName, string ValueFileName)
            {
                string str = DisplayFileName;

                if (displayCombination)
                {
                    Common.AddColumns(dt, ValueFileName, DisplayFileName);
                    str = Common.DefNewColName;
                }

                lue.DisplayMember = str;
                lue.ValueMember   = ValueFileName;
                lue.DataSource    = dt;

                lue.DropDownRows = GetShowSourceRows(dt.Rows.Count);
            }