Esempio n. 1
0
 public DepartmentRoomGroupModule()
 {
     CurrentModuleName          = "DepartmentRoomGroup";
     CurrentModuleEntity        = new DepartmentRoomGroupEntities();
     CurrentModuleEntity.Module = this;
     InitializeModule();
 }
Esempio n. 2
0
        public override void InitGridControlDataSource()
        {
            DepartmentRoomGroupEntities entity = (DepartmentRoomGroupEntities)((BaseModuleERP)Screen.Module).CurrentModuleEntity;
            BindingSource bds = new BindingSource();

            bds.DataSource  = entity.DepartmentRoomGroupItemsList;
            this.DataSource = bds;
        }
Esempio n. 3
0
        public void RemoveSelectedItemFromDepartmentRoomGroupItemList()
        {
            DepartmentRoomGroupEntities entity = (DepartmentRoomGroupEntities)CurrentModuleEntity;

            entity.DepartmentRoomGroupItemsList.RemoveSelectedRowObjectFromList();
        }
Esempio n. 4
0
        public override int ActionSave()
        {
            DepartmentRoomGroupEntities entity = (DepartmentRoomGroupEntities)CurrentModuleEntity;

            return(base.ActionSave());
        }