public static SeanceAdminService GetService() { if (adminService == null) { adminService = new SeanceAdminServiceImpl(); } return(adminService); }
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(); }