Exemplo n.º 1
0
 public CalenderModule()
 {
     CurrentModuleName          = "Calender";
     CurrentModuleEntity        = new CalenderEntities();
     CurrentModuleEntity.Module = this;
     InitializeModule();
     GetEmployeesList();
 }
Exemplo n.º 2
0
        public override void InitGridControlDataSource()
        {
            CalenderEntities entity = (CalenderEntities)((BaseModuleERP)Screen.Module).CurrentModuleEntity;
            BindingSource    bds    = new BindingSource();

            bds.DataSource = entity.CalendarEntrysList;
            DataSource     = bds;
        }
Exemplo n.º 3
0
        public void RemoveDateFromCalendar()
        {
            CalenderEntities entity = (CalenderEntities)CurrentModuleEntity;

            entity.CalendarEntrysList.RemoveSelectedRowObjectFromList();
        }
Exemplo n.º 4
0
        public override int ActionSave()
        {
            CalenderEntities entity = (CalenderEntities)CurrentModuleEntity;

            return(base.ActionSave());
        }
Exemplo n.º 5
0
 public void GetEmployeesList()
 {
     CalenderEntities      entity = (CalenderEntities)CurrentModuleEntity;
     HREmployeesController objEmployeesController = new HREmployeesController();
 }