Ejemplo n.º 1
0
 public static SeanceAdminService GetService()
 {
     if (adminService == null)
     {
         adminService = new SeanceAdminServiceImpl();
     }
     return(adminService);
 }
Ejemplo n.º 2
0
        public SeanceAdminListForm()
        {
            InitializeComponent();
            desingerService = DesingerServiceImpl.GetInstance();
            desingerService.AddFormToDesinger(this);

            seanceService   = SeanceAdminServiceImpl.GetService();
            listFormService = new ListFormService();

            DownloadList();
            listFormService.SetControlButtonsAndLabel(previusPageButton, nextPageButton, pageNumberLabel);
            listFormService.SetInfoPanel(infoLabel);

            ConnectPanels();
            ConnectForms();

            listFormService.ShowForms();
        }