public ImporterControl(IServiceHandler serviceHandler, User loggedUser)
 {
     InitializeComponent();
     formatService     = serviceHandler.GetFormatManagementService();
     styleClassService = serviceHandler.GetStyleClassManagementService();
     styleService      = serviceHandler.GetStyleManagementService();
     loggerService     = serviceHandler.GetLoggingService();
     importingUser     = loggedUser;
 }
        public ManageFormats(IServiceHandler serviceHandler, User loggedUser)
        {
            InitializeComponent();

            formatManager     = serviceHandler.GetFormatManagementService();
            styleClassManager = serviceHandler.GetStyleClassManagementService();
            styleManager      = serviceHandler.GetStyleManagementService();

            administrator = loggedUser;

            LoadFormatsAndStyleClasses();
        }