示例#1
0
        public OpenFileForm(MainController mainController, ActiveList activeList) {
            _mainController = mainController;
            _recentItemsList = MatchesFilesList.Activate();
            InitializeComponent();

            InitController();
            InitControls();

            SelectTabBy(activeList);
            GuiObjectsCollection.ApplyActualLanguageFor(this);
            Bind();
            DisplayLicState();
        }
示例#2
0
 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;
 }