Ejemplo n.º 1
0
        public Matrix_Worksheet(Matrix_Workbook matrixWorkbook, Microsoft.Office.Interop.Excel.Worksheet workSheet)
        {
            _matrixWorkbook = matrixWorkbook;
            _worksheet = workSheet;

            InitializeControlData();
        }
Ejemplo n.º 2
0
        public static bool ProcessAll(hydroLib.IBIGMatrixStatus bmStatus)
        {
            // if a j349 worksheet exists, return a false, that is old way of processing.
            List<string> wsNames = hydroLib.ExcelHelper.GetWorksheetNames();
            foreach (string ws in wsNames)
            {
                if (ws == "j349") return false;
            }

            Matrix_Workbook wb = new Matrix_Workbook(bmStatus);
            return wb.ProcessAll();
        }