public StoredRegexPatternsForm(MainController mainController, ActiveList activeList) {
            _mainController = mainController;
            _favoriteItemsList = FavoriteRegexPatternsList.Activate();
            _historyItemsList = HistoryRegexPatternsList.Activate();
            _predefinedItemsList = PredefinedRegexPatternsList.Activate();

            InitializeComponent();

            InitController();
            InitControls();
            SelectTabBy(activeList);
            GuiObjectsCollection.ApplyActualLanguageFor(this);
            Bind();
            DisplayLicState();
        }
 public static PredefinedRegexPatternsList Activate() {
     if (_instance == null) {
         _instance = new PredefinedRegexPatternsList();
     }
     return _instance;
 }
 public static void ReActivate() {
     _instance = null;
     Activate();
 }