Esempio n. 1
0
        public static List <ItemEntity> Show(DBUnit dbUnit, int icclassTypeID, List <ItemEntity> selectedList)
        {
            FormBaseData form = new FormBaseData(dbUnit);

            form.ICClassTypeID = icclassTypeID;
            form.ItemIDList    = new List <ItemEntity>();

            if (selectedList != null)
            {
                form.ItemIDList = selectedList;
            }

            form.ShowDialog();
            return(form.ItemIDList);
        }
Esempio n. 2
0
 public static List <ItemEntity> Show(DBUnit dbUnit, int icclassTypeID)
 {
     return(Show(dbUnit, icclassTypeID, null));
 }
Esempio n. 3
0
 public FormBaseData(DBUnit dbUnit)
 {
     this.DBUnitInstances = dbUnit;
     InitializeComponent();
 }