public override void Destroy()
        {
            scrollView        = null;
            formulaEdit       = null;
            computedValueEdit = null;
            txtA1             = null;
            txtA2             = null;
            txtA3             = null;
            txtA4             = null;
            txtA5             = null;
            txtB1             = null;
            txtB2             = null;
            txtB3             = null;
            txtB4             = null;
            txtB5             = null;
            txtC1             = null;
            txtC2             = null;
            txtC3             = null;
            txtC4             = null;
            txtC5             = null;
            _context          = null;
            calcData          = null;

            if (engine != null)
            {
                engine.Dispose();
            }

            base.Destroy();
        }
 private void InitializeEngine()
 {
     calcData = new CalcData();
     Engine   = new CalcEngine(calcData);
     Engine.UseNoAmpersandQuotes = true;
     Engine.RegisterGridAsSheet("CalcData", calcData, 0);
 }
        private void InitializeEngine()
        {
            calcData = new CalcData();
            engine   = new CalcEngine(calcData);
            engine.UseNoAmpersandQuotes = true;
            int i = CalcEngine.CreateSheetFamilyID();

            engine.RegisterGridAsSheet("CalcData", calcData, i);
        }
示例#4
0
        private void InitializeEngine()
        {
            _CalcData = new CalcData();
            Engine    = new Calculate.Syncfusion.Calculate.CalcEngine(_CalcData);
            Engine.UseNoAmpersandQuotes = true;
            int i = Calculate.Syncfusion.Calculate.CalcEngine.CreateSheetFamilyID();

            Engine.RegisterGridAsSheet("CalcData" + i.ToString(), _CalcData, i);
        }
        protected override void Dispose(bool disposing)
        {
            calcData = null;
            if (Engine != null)
            {
                Engine.Dispose();
                Engine = null;
            }

            NSNotificationCenter.DefaultCenter.RemoveObserver(showNotification);
            NSNotificationCenter.DefaultCenter.RemoveObserver(hideNotification);

            base.Dispose(disposing);
        }
示例#6
0
 public ComputeCommand(FunctionsLibraryViewModel _viewModel)
 {
     viewModel = _viewModel;
     calcData  = viewModel._CalcData;
 }
示例#7
0
 internal void Dispose()
 {
     _CalcData = null;
     Engine.Dispose();
     Engine = null;
 }