public OpenFileForm(MainController mainController, ActiveList activeList) { _mainController = mainController; _recentItemsList = MatchesFilesList.Activate(); InitializeComponent(); InitController(); InitControls(); SelectTabBy(activeList); GuiObjectsCollection.ApplyActualLanguageFor(this); Bind(); DisplayLicState(); }
public static MatchesRecentFilesList Activate() { StoredObject list = new MatchesRecentFilesList().Load(); if (null == list) throw new MatchesFilesException(MsgsBase.Res.The_matches_files_list_is_not_initialized); return (MatchesRecentFilesList) list; }