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); }
public static List <ItemEntity> Show(DBUnit dbUnit, int icclassTypeID) { return(Show(dbUnit, icclassTypeID, null)); }
public FormBaseData(DBUnit dbUnit) { this.DBUnitInstances = dbUnit; InitializeComponent(); }