private void InitializeEngine()
        {
            _CalcData = new CalcData();
            Engine = new CalcEngine(_CalcData);
            Engine.UseNoAmpersandQuotes = true;
			int i = CalcEngine.CreateSheetFamilyID();
			Engine.RegisterGridAsSheet("CalcData" + i.ToString(), _CalcData, i);
        }
 public ComputeCommand(FunctionsLibraryViewModel _viewModel)
 {
     viewModel = _viewModel;
     calcData  = viewModel._CalcData;
 }
示例#3
0
 internal void Dispose()
 {
     _CalcData = null;
     Engine.Dispose();
     Engine = null;
 }