示例#1
0
        /// <summary>
        /// Создать представление
        /// </summary>
        /// <param name="view"></param>
        public MainPresenter(IMainView view)
        {
            _view = view;

            _pythonFileName        = string.Empty;
            _excelFileName         = string.Empty;
            _isRowSelection        = false;
            _checkExcelColumnsType = false;
            _dataRowNumCollection  = null;

            _isRunning = false;

            _viewFilter = new ProviderFilter();
            _workFilter = new ProviderFilter();

            _viewProvider = new NPOIProvider(_viewFilter);
            _workProvider = new NPOIProvider(_workFilter);


            _parser = new PythonHelper();
            _export = new ExportHelper();

            _thread = null;
            _result = null;
        }
示例#2
0
        /// <summary>
        /// Создать представление
        /// </summary>
        /// <param name="view"></param>
        public MainPresenter(IMainView view)
        {
            _view = view;

            _pythonFileName = string.Empty;
            _excelFileName = string.Empty;
            _isRowSelection = false;
            _checkExcelColumnsType = false;
            _dataRowNumCollection = null;

            _isRunning = false;

            _viewFilter = new ProviderFilter();
            _workFilter = new ProviderFilter();

            _viewProvider = new NPOIProvider(_viewFilter);
            _workProvider = new NPOIProvider(_workFilter);

            _parser = new PythonHelper();
            _export = new ExportHelper();

            _thread = null;
            _result = null;
        }