Exemplo n.º 1
0
        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 HistoryRegexPatternsList Activate() {
     if (_instance == null) {
         _instance = (HistoryRegexPatternsList) new HistoryRegexPatternsList().Load();
     }
     return _instance;
 }